RE: [users@httpd] Tracing the cork..

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

 




> -----Original Message-----
> From: sitz@xxxxxxxxxxxx [mailto:sitz@xxxxxxxxxxxx]
> Sent: 08 March 2005 16:33
> To: users@xxxxxxxxxxxxxxxx; jerome@xxxxxxxxx
> 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@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