httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Richardson" <james.richard...@db.com>
Subject RE: [users@httpd] Tracing the cork..
Date Tue, 08 Mar 2005 17:39:33 GMT


> -----Original Message-----
> From: sitz@onastick.net [mailto:sitz@onastick.net]
> Sent: 08 March 2005 16:33
> To: users@httpd.apache.org; jerome@gmanmi.tv
> Subject: Re: [users@httpd] Tracing the cork..
> 
> [snip]
> >
> > CPU Usage: u1724.2 s203.81 cu6.76 cs33.41 - 27.3% CPU load
> > 26.6 requests/sec - 147.8 kB/second - 5.6 kB/request
> > 256 requests currently being processed, 0 idle servers
> 
>   ^^^ well, that just screams "you're out of httpd children". You've got
>   a few options:
[..]
>     * Looks like you still have CPU to spare, so as long as you're not
> close to
>     maxing out your memory, you can crank up your MaxClients directive.
> Note that
>     the default compile-time hard limit on Unix is 256, so if you need
to
> increase it,
>     you'll need to recompile apache with something like:
> 
>         -DHARD_SERVER_LIMIT=1024
> 


Couldn't you use the threaded server?

"./configure" "--with-mpm=worker" 

<IfModule worker.c>
ServerLimit 80
StartServers       10 
MaxClients         2000
MinSpareThreads     100
MaxSpareThreads     200
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

That's just for apache 2, but is it an option?

James


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