memory usage in mod_perl

David Miller justdave at
Tue Jan 16 20:02:56 UTC 2007

So we knew memory usage was going to be higher with mod_perl enabled, 
but this is a little ridiculous. :)

So b.m.o ran fine for a week or two after enabling mod_perl, but it's 
had to be rebooted twice in the last 3 days because it plain ran out of 
memory.  It's got 4GB on it with 2GB swap.

Most of the httpd processes are staying in the 30 to 50 MB range for RAM 
usage (which is about what we expected).  But we eventually get more and 
more of them that start using up 350MB and even up to 635MB of RAM for 
the one listener.  Some of these happen within a few minutes of 
rebooting.   The problem comes when we start getting lots of requests at 
once so it starts adding listeners.

If anyone has any ideas where to look or how to debug it, that'd be 
great, but it kinda smells like something's leaking.

Dave Miller                         
System Administrator, Mozilla Corporation
Project Leader, Bugzilla Bug Tracking System

More information about the developers mailing list