Apache Process taking up 3 GB of ram

From: David Lowenstein (dlowenst@mail.sdsu.edu)
Date: Wed Sep 04 2002 - 12:50:36 EDT


I'm probably overreacting, but one of my apache processes which peaked at
25% cpu usage (per top) still has as its "size" and "res" memory (per top)
3.6GB and 3.1GB respectively and vmstat is shoing intermittent high values
(like 12976) in the "sr" field which according to the cockroft book is
bad. Is this a memory leak in apache? I went deep into swap (3 GB) until I
just killed that apache process, at which point all of its memory was
freed up. Everything is happy again.

This is on a 420r with 4gb of ram, 4x450 mhz running
apache/mod_ssl/mod_perl/weblogic. This app does some very bulky things,
like copy a 250MB directory on the filesystem to another directory at the
will of the user, repeatedly, all day long. The apache process got out of
control at about the same time that someone was doing this copy.

One problem is that I'm just using the internal 36gb drives, mirrored with
disksuite. I'm sure things would be faster with an A1000. At the rate that
disk space is disappearing, I'm going to need something very soon.

Anyway, what could have caused that apache process to take over all of the
ram and a lot of CPU? Is there a workaround?

Dave Lowenstein
Programmer/Analyst
Instructional Technology Services
San Diego State University
(619)594-0270
http://www-rohan.sdsu.edu/dept/its
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:52 EDT