httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject Re: slow apache 2.0
Date Wed, 10 Apr 2002 16:49:42 GMT


> Hello,
>
> Settings now for worker mpm :
>
> ThreadLimit   1000
> StartServers 1
> Maxclients    2000
> MinSpareThreads 25
> MaxSpareThreads 75
> ThreadsPerChild 1000
> MaxRequestsPerChild 0
>
> => Strange thing is that with these settings a ps aux list a little 1009
> apache processes, so these are no threads but childs ? strange ....
>

This is linux wierdness. They are really threads andnot processes.

> Another thing is that with these settings the performance when load is low
> that response times are higher and requests per seconds is 5 times lower
> then with original settings.

1000 is probably way to large for your test. Under light load, you are still chewing up
lots of RAM and experiencing lots of context switching. The trick is to set
ThreadsPerChild just right.. no greater than you need but large enough to handle the
expected load.

Bill


Mime
View raw message