>> httpd child (they should stay around for thousands of requests).
That's not a very good thing.... usually the idea is to let a child handle about 100-150 requests then exit, and be reinitialized. I know certain Solaris libraries had memory leaks, other OS's and user scripts unless very carefully debugged would ineveitably have some leaks, so reclaiming the child process after a reasonable number of requests is sort of the standard plan.
Here's the default setting and comments from the apache httpd.conf:
# 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.
#
MaxRequestsPerChild 30
I'm not sure how using mod_perl would change that, but somehow, "thousands" of requests per child made the hair on the back of my neck stand up.
Am I showing my age again??
(BTW.... the closing pre tag is still stripping blank lines up to the start of the first non-blank one. I had 3 blank lines, and as you can see, the first non-blank line is still being forced against the closing pre-tag
http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/
That's not a very good thing.... usually the idea is to let a child handle about 100-150 requests then exit, and be reinitialized. I know certain Solaris libraries had memory leaks, other OS's and user scripts unless very carefully debugged would ineveitably have some leaks, so reclaiming the child process after a reasonable number of requests is sort of the standard plan.
Here's the default setting and comments from the apache httpd.conf:
Code:
# # 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.
#
MaxRequestsPerChild 30
I'm not sure how using mod_perl would change that, but somehow, "thousands" of requests per child made the hair on the back of my neck stand up.
Am I showing my age again??
(BTW.... the closing pre tag is still stripping blank lines up to the start of the first non-blank one. I had 3 blank lines, and as you can see, the first non-blank line is still being forced against the closing pre-tag
http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/