apache 1.3 & memory usage

Roman Slezak roman.slezak at slovanet.net
Mon Aug 2 15:43:30 CEST 2004


cawte chalani

bojujem uz par dni s problemom ako zmensit memory usage z apache,
povyhadzoval som kadejake moduly ale on zere stale tolko isto ;-(
Ked som sa pytal po kadejakych IRC a konferach tak jedine co som sa dozvedel
tak ze to zavisi od OS.
moze mi s tym dakto pomoct?
momentalne neni nik prihlaseny na WWW a on ma ajtak 6 procesov :(
Apaca mam rad, bezi mi s nim vela rokov vela serverov... mam skusit iny web
server? ;-/

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
97511 www        2   0 12656K  9008K accept   1:05  0.00%  0.00% httpd
97512 www        2   0 13388K  9736K accept   1:05  0.00%  0.00% httpd
97514 www        2   0 12544K  8896K accept   1:05  0.00%  0.00% httpd
97510 www        2   0 13312K  9664K accept   1:04  0.00%  0.00% httpd
97513 www        2   0 13148K  9468K accept   1:03  0.00%  0.00% httpd
97515 www        2   0 13228K  9576K accept   1:03  0.00%  0.00% httpd
93757 mysql      2   0 43064K  2940K poll     6:24  0.00%  0.00% mysqld


#
# 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 2
MaxSpareServers 10

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



Dike$

Roman Slezak





More information about the Users-l mailing list