httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <johan.b...@latecoere.fr>
Subject RE: [users@httpd] Apache2 performance tunning : MaxClients problem
Date Thu, 20 Sep 2007 12:29:11 GMT
> De : Gerhardus.Geldenhuis@gta-travel.com 
> [mailto:Gerhardus.Geldenhuis@gta-travel.com] 
> Envoyé : jeudi 20 septembre 2007 13:06
> À : users@httpd.apache.org
> Objet : RE: [users@httpd] Apache2 performance tunning : 
> MaxClients problem
> 
> Hi Johan,
> 
> In you original post ServerLimit was not part of your config, 
> could you just to make sure paste your current config on the 
> list again.

You can check out my whole conf here : http://www.pastebin.ca/704464
I'm still wondering how to setup  ServerLimit / MaxClients bigger then 256 *IF* this option
are the best ones to increase the typical answer time of my server ?


> Also make sure you are using prefork and not mpm otherwise 
> different rules will apply in configuring MaxClients and ServerLimit.
> 
> On a redhat system you can check here: /etc/sysconfig/httpd 
> whether you are using prefork or mpm.

I found it in /server-info/

    Server Built: Aug 16 2007 22:41:15
    API Version: 20020903:11
    Hostname/port: intranet.xxxxxxxxx.local:80
    Timeouts: connection: 45    keep-alive: 45
    MPM Name: Prefork
    MPM Information: Max Daemons: 256 Threaded: no Forked: yes
    Server Root: /etc/apache2
    Config File: /etc/apache2/apache2.conf

I think I'm using Prefork, right ?


> We use the default value of MaxRequestsPerChild of 4000. I do 
> not have years of expierence with this parameter but I would 
> stick with the default. I would imagine you only adjust it 
> downwards if you are seeing buggy applications. I am sure 
> someone on the list more knowledgable than me could suggest 
> better reasons to adjust this upwards or downwards

I've setup 4000 to have a try. Gonna test with ab.


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


Mime
View raw message