[Linux-disciples] Apache/Perl running out of memory

Stephen R Laniel steve at laniels.org
Wed Jan 19 17:22:34 EST 2005


On Tue, Jan 18, 2005 at 04:12:26PM -0500, Adam Rosi-Kessel wrote:
> You might check out this:
> 
> http://lists.debian.org/debian-apache/2003/09/msg00065.html

Might I help the problem by changing MaxRequestsPerChild in
/etc/apache/httpd.conf? The comment before this setting in
that file seems counterintuitive:

# MaxRequestsPerChild: the number of requests each child process is
# allowed to process before the child dies.  The child will exit so
# as to avoid problems after prolonged use when Apache (and maybe the
# libraries it uses) leak memory or other resources.  On most systems, this
# isn't really needed, but a few (such as Solaris) do have notable leaks
# in the libraries. For these platforms, set to something like 10000
# or so; a setting of 0 means unlimited.

I would think that if a program were leaky, I would set it
to a *low* number.

Here's the corresponding documentation on the Apache site:
http://httpd.apache.org/docs/mod/core.html#maxrequestsperchild

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050119/ee847a34/attachment.pgp


More information about the Linux-disciples mailing list