Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^2: apache MaxClients

by tantarbobus (Hermit)
on Jul 08, 2010 at 22:50 UTC ( #848777=note: print w/replies, xml ) Need Help??

in reply to Re: apache MaxClients
in thread apache MaxClients

MaxClients is the number of simultaneous clients that a server can process. If you are using the prefork MPM there is one process to one client, and for the worker MPM, there is one thread to one client.

While the request itself might be brief, you still have to consider keep alive requests where one clent can tie up a process for more than one request. You also have to remember that not all users have 100mbps connections to the Internet, so if it takes a user 20 seconds to download an image, one of your MaxClients is tied-up until the user finishes.

Whether 150 process is too many depends on what you are doing and what your hardware is like, but even a moderately priced server gets you 16 cpu threads --so those 150 processes end up being around 10/cpu thread.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://848777]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2019-10-21 04:49 GMT
Find Nodes?
    Voting Booth?