RE: Apache2 performance tunning : MaxClients problem

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

 



Hi Johan,

> 
> 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 ?

You need to set serverlimit in you config file which was not set. I have
changed it on the website but copy it hear too.

<IfModule prefork.c>
  StartServers         15
  MinSpareServers      10
  MaxSpareServers      20
  MaxClients           512
  ServerLimit          512
  MaxRequestsPerChild  4000
</IfModule>


> > 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 ?

It looks like it. ;-)

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

What was your original motivation in setting MaxRequestsPerChild=0?

Regards

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
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