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

Re: how many users per apache proc?



On Wed, 19 Jan 2000, aphro wrote:

> i was wondeirng if anyone knew approx how many connection 1 apache process
> could handle? just 1? or is it more..
 
my $0.02:
	
	According to Kabir, Mohammed J., Apache Server Administrator's
Handbook, IDG Books, pp.68-69, "Apache uses one child server for each
request..."  The MaxClients directive limits the number of simultaneous
requests that Apache can service. 
	The MaxRequestsPerChild: "Apache launches a child server process
to service a request, however, a child server can process multiple
requests. The number of requests a child server can process is limited
by the MaxRequestsPerChild directive. After servicing the maximum number
of requests, the child process terminates.
	If the MaxRequestsPerChild is 0 (zero) then the process will
never expire. If you suspect there are libraries on your operating
system that have memory-leaking code, you may want to set this directive
to a non-zero value. This enables you to define a life cycle for a child
process, and therefore reduces the chances of a process consuming leaked
memory and slowly eating up all available memory. It also provides you
with a small load average number for your system, since the
Apache-related load is reduced as your Web server becomes less busy".

	The are other directives related with performance and resources,
but I think the above are more closely related with your question. 

[]s,
Mario O.de Menezes            "Many are the plans in a man's heart, but
    IPEN-CNEN/SP                 is the Lord's purpose that prevails"
http://curiango.ipen.br/~mario                 Prov. 19.21
                   http://www.revistalinux.com.br


Reply to: