Perl: the Markov chain saw | |
PerlMonks |
Re: apache MaxClientsby sundialsvc4 (Abbot) |
on Jul 08, 2010 at 21:02 UTC ( [id://848763]=note: print w/replies, xml ) | Need Help?? |
“A process” is, in fact, not equivalent to “a client.” Most HTTP requests are extremely brief, and, as you well know, “once they've been serviced, they’re gone.” The only thing that ties one request to another are ephemeral things like cookies. My gut-feeling on this matter is that 150 processes is far too many, because it can very quickly become the case that all of those processes are just fighting among themselves. “There are only 1,000 milliseconds per second; no more, no less.” You can actually do the math here. “If 150 active processes each received a quantum of 2 milliseconds apiece, how many milliseconds of CPU time would they receive each second, and how long would it be (best case) between each opportunity to execute?” Always remember that adding processes further subdivides, not multiplies, the amount of wall-clock time that everyone receives.
In Section
Seekers of Perl Wisdom
|
|