PDA

View Full Version : Apache ?


Sharg
Sun 12th Nov '00, 2:14pm
Does this sounds good as apache setting in httpd.conf:

MinSpareServers 5
MaxSpareServers 10

# Number of servers to start --- should be a reasonable ballpark figure.

StartServers 5

# Limit on total number of servers running, i.e., limit on the number
# of clients who can simultaneously connect --- if this limit is ever
# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
# It is intended mainly as a brake to keep a runaway server from taking
# Unix with it as it spirals down...

MaxClients 150

# MaxRequestsPerChild: the number of requests each child process is
# allowed to process before the child dies.
# The child will exit so as to avoid problems after prolonged use when
# Apache (and maybe the libraries it uses) leak. On most systems, this
# isn't really needed, but a few (such as Solaris) do have notable leaks
# in the libraries.

MaxRequestsPerChild 30

Thanks,
Benj

chrispadfield
Sun 12th Nov '00, 2:23pm
Yeah, i would also like to now..

PIII 650, 256MB ram.

chrispadfield
Sun 12th Nov '00, 2:24pm
Yeah, i would also like to know..

PIII 650, 256MB ram.

Dave#
Sun 12th Nov '00, 6:53pm
MinSpareServers 8
MaxSpareServers 20

# Number of servers to start --- should be a reasonable ballpark figure.

StartServers 10

# Limit on total number of servers running, i.e., limit on the number
# of clients who can simultaneously connect --- if this limit is ever
# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
# It is intended mainly as a brake to keep a runaway server from taking
# Unix with it as it spirals down...

MaxClients 250


MaxClients to 250 can be a problem for some servers-

Just play with the figures- worse case scenario the server will go down