Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Re: startup.pl mod_perl question

Quote Reply
Re: startup.pl mod_perl question In reply to
>> 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:

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/

Subject Author Views Date
Thread startup.pl mod_perl question CyberLuke 4471 Sep 5, 2000, 12:44 PM
Thread Re: startup.pl mod_perl question
pugdog 4357 Sep 5, 2000, 1:44 PM
Thread Re: startup.pl mod_perl question
CyberLuke 4344 Sep 5, 2000, 2:24 PM
Thread Re: startup.pl mod_perl question
Alex 4306 Sep 9, 2000, 10:56 AM
Thread Re: startup.pl mod_perl question
pugdog 4308 Sep 9, 2000, 4:19 PM
Post Re: startup.pl mod_perl question
Alex 4283 Sep 9, 2000, 4:44 PM
Post Re: startup.pl mod_perl question
Alex 4287 Sep 9, 2000, 4:45 PM