[php-maint] Performance/stability suggestion for debian's php packaging
ondrej at debian.org
Thu Nov 11 10:11:49 UTC 2010
I think that overriding the system setup would be confusing for our
users, they will change it at one place and it will get overwritten by
php5 no matter what the user has done.
However adding a text to README.Debian (or separate README) would be
beneficial. Would you be willing to provide the text?
On Wed, Nov 10, 2010 at 13:42, Vincent Deffontaines <vincent at gryzor.com> wrote:
> I am writing to you as a modest Apache commiter, and above all as a support
> volunteer for #httpd on IRC.
> It is a fact that PHP often leaks memory, and I see many users on #httpd
> asking how to solve this issue.
> The only fix I can offer them is to set MaxRequestsPerchild to a non 0
> value, as this restarts apache2 children periodically.
> My suggestion to you, PHP debian packagers, is very simple :
> How about adding a non zero MaxRequestsPerChild value in
> /etc/apache2/mods-available/php5.conf ? This would override the 0 setting in
> apache2.conf, only when PHP is installed. I believe a value like 10000 would
> be of very little impact for people having no problem, and would clear
> problems for most others before they even notice it.
> If this is not an option, I suggest adding comments in php5.conf, in order
> to make it easy for people with PHP problems to set MaxRequestsPerchild to a
> non zero value on their installation.
> Please let me know what you think about this suggestion,
> Best regards,
> Vincent Deffontaines
> Happy Debian user
> Httpd commiter
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
Ondřej Surý <ondrej at sury.org>
More information about the pkg-php-maint