hab zwar im Forum mal bisschen gesucht, bin aber nicht so richtig fündig geworden..
mit welchen Werten habt ihr gute Erfahrungen gemacht für einen durchschnittlich belasteten Server..
Ist ein AMD Athlon XP 2000+ mit 256 MB RAM
#
# Server-pool size regulation. Rather than making you guess how many
# server processes you need, Apache dynamically adapts to the load it
# sees --- that is, it tries to maintain enough server processes to
# handle the current load, plus a few spare servers to handle transient
# load spikes (e.g., multiple simultaneous requests from a single
# Netscape browser).
#
# It does this by periodically checking how many servers are waiting
# for a request. If there are fewer than MinSpareServers, it creates
# a new spare. If there are more than MaxSpareServers, some of the
# spares die off. The default values are probably OK for most sites.
#
MinSpareServers 5
MaxSpareServers 20
#
# Number of servers to start initially --- should be a reasonable ballpark
# figure.
#
StartServers 8
#
# 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
# the system with it as it spirals down...
#
MaxClients 200
# 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 memory or other resources. On most systems, this
# isn't really needed, but a few (such as Solaris) do have notable leaks
# in the libraries. For these platforms, set to something like 10000
# or so; a setting of 0 means unlimited.
#
# NOTE: This value does not include keepalive requests after the initial
# request per connection. For example, if a child process handles
# an initial request and 10 subsequent "keptalive" requests, it
# would only count as 1 request towards this limit.
#
MaxRequestsPerChild 0
Ist das ok so oder würdet ihr da was ändern?
Mein physikaler Speicher sagt folgendes...
server1:/etc/httpd # free -m
total used free shared buffers cached
Mem: 242 221 21 0 12 90
-/+ buffers/cache: 118 124
Swap: 227 0 227
Sollte man da was ändern oder ist das ok so?
Die ganzen Apache Prozesse verschlucken ja schon bissi bzw. ne Menge RAM...
Danke im Voraus!