You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Porter, Mark" <Ma...@LibertyMutual.com> on 2004/07/15 16:22:03 UTC

[users@httpd] Server Tuning - number of processes

IHS 2.0.42.2

My config:

<IfModule worker.c>
ServerLimit 40
StartServers 3
MaxClients         500
MinSpareThreads 75
MaxSpareThreads 250
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

If I have MaxClients set to 500, and ThreadsPerChild at 25, then I should never see more than 20 child processes, right? 

I'm seeing 35+ when the server's back-end hangs. Does that mean I should be looking for orphans?

MP


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Server Tuning - number of processes

Posted by Joshua Slive <js...@gmail.com>.
On Thu, 15 Jul 2004 10:22:03 -0400, Porter, Mark
<ma...@libertymutual.com> wrote:
> IHS 2.0.42.2
> 
> My config:
> 
> <IfModule worker.c>
> ServerLimit 40
> StartServers 3
> MaxClients         500
> MinSpareThreads 75
> MaxSpareThreads 250
> ThreadsPerChild 25
> MaxRequestsPerChild 0
> </IfModule>
> 
> If I have MaxClients set to 500, and ThreadsPerChild at 25, then I should never see more than 20 child processes, right?
> 
> I'm seeing 35+ when the server's back-end hangs. Does that mean I should be looking for orphans?

In general, yes.  Note that there may can be some extra control
processes, but 10 sounds like too many.

But you are running a relatively old version.  I would start by
upgrading before doing any serious debugging.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org