Stefan Fritsch wrote on Sun, Oct 16, 2011 at 16:25:28 +0200:
> On Sun, 16 Oct 2011, Daniel Shahaf wrote:
> 
> >sebb wrote on Sun, Oct 16, 2011 at 02:39:42 +0100:
> >>https://issues.apache.org/bugzilla/show_bug.cgi?id=51951
> >>
> >>Certain mails cause mod_mbox to hang; maybe it is chewing on memory.
> 
> There was one obvious memory leak in mod_mbox. It's only a few bytes
> per message displayed, but maybe it adds up. The fix is here
> (compiles, but otherwise untested):
> 
> http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox_mime.c?r1=1184831&r2=1184830&pathrev=1184831

I gathered some stats on Mon/Tue when mail-archives.a.o traffic was
routed entirely to aurora.a.o (our EU mirror).  This morning I installed
current HEAD mod_mbox on eos, after flipping the DNS back yesterday, and
graceful'd the server.

Right now I see httpd processes with around 3GB memory in top, whereas
in three different 'while sleep 5 && $i++ < 5000' samples taken prior to
flipping the DNS I see exactly one process having exceeded 1600MB memory
(to 1613MB).

I'm not aware of differences other than flipping the DNS and upgrading
the mod_mbox version to include the last week's fixes.

Reply via email to