httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Hawkes <ahaw...@unicon.net>
Subject Re: RES: httpd services
Date Fri, 14 Dec 2001 17:14:39 GMT
Try this:

MaxKeepAliveRequests 100
MinSpareServers 10
MaxSpareServers 20
StartServers 20
MaxClients 150
MaxRequestsPerChild 0

And remember to restart your server after making the change!


On Fri, 14 Dec 2001 14:52:07 -0300
Daniel Abad <dabad@cidadei.com.br> wrote:

> Ok, I tryed the default settings, but the problem still continue.. see
my
> process:
> 
> last pid: 39964;  load averages:  0.24,  1.94,  1.98
> up 85+13:42:48  14:41:09
> 297 processes: 1 running, 294 sleeping, 2 zombie
> CPU states:  2.3% user,  0.0% nice,  2.7% system,  0.4% interrupt, 94.6%
> idle
> Mem: 127M Active, 169M Inact, 84M Wired, 24M Cache, 61M Buf, 97M Free
> Swap: 1024M Total, 19M Used, 1005M Free, 1% Inuse
> 
>   PID USERNAME        PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU
> COMMAND
> 39306 nobody            2   0 18672K  3080K sbwait   0:00  0.00%  0.00%
> httpd
> 39371 nobody            2   0 18664K  3104K sbwait   0:00  0.00%  0.00%
> httpd
> 39161 nobody            2   0 18604K  2988K sbwait   0:00  0.00%  0.00%
> httpd
> 39422 nobody            2   0 18672K  3208K sbwait   0:00  0.00%  0.00%
> httpd
> 39352 nobody            2   0 18656K  3072K sbwait   0:00  0.00%  0.00%
> httpd
> 39162 nobody            2   0 18496K  1960K sbwait   0:00  0.00%  0.00%
> httpd
> 39255 nobody            2   0 18636K  3044K sbwait   0:00  0.00%  0.00%
> httpd
> 39335 nobody            2   0 18672K  3088K sbwait   0:00  0.00%  0.00%
> httpd
> 39280 nobody            2   0 18680K  3100K sbwait   0:00  0.00%  0.00%
> httpd
> 39210 nobody            2   0 18644K  3036K sbwait   0:00  0.00%  0.00%
> httpd
> 39244 nobody            2   0 18656K  2932K sbwait   0:00  0.00%  0.00%
> httpd
> 39425 nobody            2   0 18708K  3244K sbwait   0:00  0.00%  0.00%
> httpd
> 39194 nobody            2   0 18656K  3088K sbwait   0:00  0.00%  0.00%
> httpd
> 39198 nobody            2   0 18648K  1996K sbwait   0:00  0.00%  0.00%
> httpd
> 39339 nobody            2   0 18676K  3100K sbwait   0:00  0.00%  0.00%
> httpd
> 39184 nobody            2   0 18672K  3096K sbwait   0:00  0.00%  0.00%
> httpd
> 39417 nobody            2   0 18664K  3192K sbwait   0:00  0.00%  0.00%
> httpd
> 39295 nobody            2   0 18656K  3100K sbwait   0:00  0.00%  0.00%
> httpd
> 39426 nobody            2   0 18708K  3660K sbwait   0:00  0.00%  0.00%
> httpd
> 39201 nobody            2   0 18664K  3044K sbwait   0:00  0.00%  0.00%
> httpd
> 39249 nobody            2   0 18624K  3044K sbwait   0:00  0.00%  0.00%
> httpd
> 39232 nobody            2   0 18656K  3080K sbwait   0:00  0.00%  0.00%
> httpd
> 39390 nobody            2   0 18664K  3168K sbwait   0:00  0.00%  0.00%
> httpd
> ..... 
> 
> 
> Any ideia?
> 
> 
> Tks, 
> 
> Daniel
> -----Mensagem original-----
> De: Daniel Lopez [mailto:daniel@rawbyte.com]
> Enviada em: sexta-feira, 14 de dezembro de 2001 13:43
> Para: users@httpd.apache.org
> Assunto: Re: httpd services
> 
> 
> 
> 
> 
> You have your settings way too high, try commenting out those directives
so
> they fallback to the defaults which should be reasonable for most
websites.
> A quick look at the documentation for those directives will help you
> understand what is going on, basically taht you are creating way much
more
> children than requests you have and they are slowing down the server.
> 
> 
> 
> 
> On Fri, Dec 14, 2001 at 02:26:34PM -0300, Daniel Abad wrote:
> > 
> > Hello,
> > 
> > In my server, a have a lot of process sleeping... how do I solve it ??

> > 
> > The configuration files httpd.conf:
> > 
> > MaxKeepAliveRequests 1000
> > MinSpareServers 50
> > MaxSpareServers 1000
> > StartServers 120
> > MaxClients 256
> > MaxRequestsPerChild 0
> > 
> > Help me please!! All my websites are becoming slow... very slow...
> > 
> > Tks all!
> > 
> > ---------------------------------------------------------------------
> > 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
> > For additional commands, e-mail: users-help@httpd.apache.org
> > 
> 
> ---------------------------------------------------------------------
> 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
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> ---------------------------------------------------------------------
> 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
> For additional commands, e-mail: users-help@httpd.apache.org
> 

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


Mime
View raw message