Re: MaxChildRequests and modperl - issue

2000-06-26 Thread David Hodgkinson
Stas Bekman [EMAIL PROTECTED] writes: Stas Bekman [EMAIL PROTECTED] writes: I think it doesn't matter whether it's a script or a module. So if startup.pl contains: use CGI ; use DBI ; use My::Application ; Then there's no gain? Of course there is! I'm

RE: MaxChildRequests and modperl - issue

2000-06-23 Thread Craig Vincent
Any easy fixes to this? am I the first to find this? Am i missing something obvious? Perhaps having my own ChildRequest counter and dieing myself, but more randomly, is a better way? If you're using mod_perl why not use the Apache::SizeLimit module instead of the MaxChildRequests. AFAIK the

Re: MaxChildRequests and modperl - issue

2000-06-23 Thread David Hodgkinson
Justin [EMAIL PROTECTED] writes: What I think happens is the children die after their last request, and apache does not kick off a new child straight away.. MinFree is set to 2 .. as 12 becomes 11 becomes 10 becomes 9, my backend is getting less and less powerful and more and more swamped.

Re: MaxChildRequests and modperl - issue

2000-06-23 Thread Stas Bekman
On 23 Jun 2000, David Hodgkinson wrote: Justin [EMAIL PROTECTED] writes: What I think happens is the children die after their last request, and apache does not kick off a new child straight away.. MinFree is set to 2 .. as 12 becomes 11 becomes 10 becomes 9, my backend is getting

Re: MaxChildRequests and modperl - issue

2000-06-23 Thread David Hodgkinson
Stas Bekman [EMAIL PROTECTED] writes: On 23 Jun 2000, David Hodgkinson wrote: Justin [EMAIL PROTECTED] writes: What I think happens is the children die after their last request, and apache does not kick off a new child straight away.. MinFree is set to 2 .. as 12 becomes 11

Re: MaxChildRequests and modperl - issue

2000-06-23 Thread Stas Bekman
On 23 Jun 2000, David Hodgkinson wrote: Stas Bekman [EMAIL PROTECTED] writes: On 23 Jun 2000, David Hodgkinson wrote: Justin [EMAIL PROTECTED] writes: What I think happens is the children die after their last request, and apache does not kick off a new child straight

Re: MaxChildRequests and modperl - issue

2000-06-23 Thread David Hodgkinson
Stas Bekman [EMAIL PROTECTED] writes: I think it doesn't matter whether it's a script or a module. So if startup.pl contains: use CGI ; use DBI ; use My::Application ; Then there's no gain? -- Dave Hodgkinson, http://www.hodgkinson.org Editor-in-chief, The

Re: MaxChildRequests and modperl - issue

2000-06-23 Thread Vivek Khera
"J" == Justin [EMAIL PROTECTED] writes: J and apache does not kick off a new child straight away.. MinFree is J set to 2 .. as 12 becomes 11 becomes 10 becomes 9, my backend is J getting less and less powerful and more and more swamped. When Make your min-free servers higher, and set max-free

Re: MaxChildRequests and modperl - issue

2000-06-23 Thread Vivek Khera
"DH" == David Hodgkinson [EMAIL PROTECTED] writes: DH If you take a large script, throw it at Apache::Registry, then you'll DH be compiling the script every time the a diaghter respawns. No, it doesn't happen when the child process is "spawned" (what is this, OS/2? We "fork" around here!)

MaxChildRequests and modperl - issue

2000-06-22 Thread Justin
The backend/frontend setup works well, but for the following problem that I think is a risk for loaded sites: I set MaxChildRequests to 500, to effectively clean house every now and again, as is recommended.. I have about 12 backend modperl servers, and that handles the load fine. (about 250

Re: MaxChildRequests and modperl - issue

2000-06-22 Thread Blue
On Thu, 22 Jun 2000, Justin wrote: Hi Justin, I set MaxChildRequests to 500, to effectively clean house every now and again, as is recommended.. I have about 12 backend modperl servers, and that handles the load fine. (about 250 front ends). What is MaxClients set to? Also, do you have

Re: MaxChildRequests and modperl - issue

2000-06-22 Thread Perrin Harkins
On Thu, 22 Jun 2000, Justin wrote: What I think happens is the children die after their last request, and apache does not kick off a new child straight away.. MinFree is set to 2 Does it help if you crank MinSpareServers higher? Perhaps having my own ChildRequest counter and dieing myself,