httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33899] - large memory consumption, high load
Date Wed, 21 Sep 2005 10:50:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33899>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33899


mhaerry@c3com.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




------- Additional Comments From mhaerry@c3com.ch  2005-09-21 12:50 -------
(In reply to comment #3)
> I tried to use patch from #33382, and it fixed memory consumption.
> But high load still exist i.e
> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> [...]
> and load ~79
> after apache restart, load is normal

as i'm using 2.0.54 and the patch from #33382 is included in this version i
reassign this bug here.

i'm using rhel3 with kernel 2.4.21-15.0.2.ELsmp and the apache2 is self compiled
downloaded from the apache.org site.

it has sometimes a very high load and memory consumption, but only for about
half an hour. then it is running normal again. but during the whole last day the
load average was very high and also memory consumption. it's always just one
httpd process but sometimes its consumption is 86% of the memory and the CPU% is
99%.

i could fix the MemoryConsumption by adding MaxFreeMem 200 to the prefork Module
settings. but still sometimes one process is very high now:

i.e.

PID   USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
22589 nobody    25   0 25476  18M 14480 R    99.7  1.8  23:52   1 httpd
24064 nobody    15   0 20732  15M  9636 S     0.5  1.5   0:00   3 httpd
23298 nobody    15   0 30136  23M 18200 S     0.1  2.3   0:00   2 httpd


./httpd -l gives me:

  core.c
  mod_access.c
  mod_auth.c
  mod_auth_digest.c
  mod_include.c
  mod_deflate.c
  mod_log_config.c
  mod_env.c
  mod_headers.c
  mod_setenvif.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c

and i configured the source with:

./configure --prefix=/appl/apache \
  --enable-so \
  --enable-auth-digest \
  --enable-rewrite \
  --enable-setenvif \
  --enable-mime \
  --enable-deflate \
  --enable-ssl \
  --with-ssl=/usr/local \
  --enable-headers

i have logged the process-ids serving the requests and then when a process was
high loaded i tried to figure out if there was a special request or so. but
nothing like that.

error log isn't showing something special now (nothing)...

as memory consumption is low now the load average isn't as high as before, it's
better now. but i think this with MaxMemFree is just a nasty work around.

anyway the sites are serving well now but i don't think this is ok like that.

it seems that i was having this behaviour before updating to 2.0.54 but only
with big short peaks (load average for half an hour of 16 or so) but not a whole
day long like today.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message