RE: Apache2 performance tunning : MaxClients problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Message d'origine-----
> De : Gerhardus.Geldenhuis@xxxxxxxxxxxxxx 
> [mailto:Gerhardus.Geldenhuis@xxxxxxxxxxxxxx] 
> Envoyé : jeudi 20 septembre 2007 10:42
> À : users@xxxxxxxxxxxxxxxx
> Objet : RE:  Apache2 performance tunning : 
> MaxClients problem
> 
> Hi Johan, 
> 
> >   FINALLY, my question is : 
> >    I would like to allow more machine resources to Apache to handle 
> > more connections and reduce the time to display a page.
> >    I reduce the timeout to 45 and :
> >     <IfModule prefork.c>
> >     StartServers         		15
> >     MinSpareServers      		10
> >     MaxSpareServers      		20
> >     MaxClients          		256
> >     MaxRequestsPerChild   	0
> >     </IfModule>
> > 
> >     I tried the put MaxClients  = 512 but I have a message error : 
> >       WARNING: MaxClients of 512 exceeds ServerLimit value of
> > 256 servers,
> >        lowering MaxClients to 256.  To increase, please see the 
> > ServerLimit
> >        directive.
> >     I think that's the default Ubuntu options.
> >   
> >     Is this "maxclient" the way to go to have significant 
> increase of 
> > performance? Should I recompile Apache for this?
> > Is there any point I should tune instead of MaxClient ?
> > 
> >      Thanks by advance for any advices,
> > 
> > 	Johan
> 
> In the case of prefork there is not really a difference 
> between ServerLimit and MaxClients both should be set to the 
> same value.
> I was a bit concerned about the MaxRequestsPerChild that you 
> have set to 0. Personally I would rather set it to a higher 
> value than set it to not expire.

Gonna try with 1000, what do you think about it according to my configuration ?

> 
> From the documentation:
> http://httpd.apache.org/docs/2.0/mod/mpm_common.html#maxclients
> For non-threaded servers (i.e., prefork), MaxClients 
> translates into the maximum number of child processes that 
> will be launched to serve requests. The default value is 256; 
> to increase it, you must also raise ServerLimit.

I increased both to 512, it gaves me the same error. Am I missing something ?

"Les informations contenues dans ce message électronique peuvent être de nature confidentielles et soumises à une obligation de secret. Elles sont destinées à l'usage exclusif du réel destinataire. Si vous n'êtes pas le réel destinataire, ou si vous recevez ce message par erreur, merci de le détruire immédiatement et de le notifier à son émetteur."

 "The information contained in this e-mail may be privileged and confidential. It is intended for the exclusive use of the designated recipients named above. If you are not the intended recipient or if you receive this e-mail in error, please delete it and immediately notify the sender."


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux