[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache2 memory consumption?



On Tue, Sep 27, 2005 at 11:13:19PM -0400, Robert Wolfe wrote:
> --------- Original Message --------
> From: Roberto C. Sanchez <roberto@familiasanchez.net>
> To: debian-user@lists.debian.org <debian-user@lists.debian.org>
> Subject: apache2 memory consumption?
> Date: 27/09/05 23:54
> 
> > Has anyone had issues with apache2 eating all the system memory?
> > 
> > A while ago my server had this in the syslog:
> > 
> > Sep 26 18:41:53 santiago kernel: __alloc_pages: 0-order allocation failed
> (gfp=0x1d2/0)
> > Sep 26 18:41:53 santiago kernel: VM: killing process apache2
> > 
> > When I logged in, I had about 128 MB of RAM used and 128 MB into swap
> > with about 384 MB of RAM free (I imagine from when apache2 was killed).
> > Any ideas?
> 
> I have not seen this yet.  Then again, I don't look at my /var/log/messages
> file any these days...maybe I think I should start doing that from now on.
> 
I use the logcheck package for that.  Pretty nifty.  It is very easy to
write rules to look for or exclude specific things, but the default
rules work quite nicely.

In my case, however, it still didn't tell me *why* it was happening.  It
ended up being some faulty mod_rewrite rules which were causing infinite
loops and making apache2 chew up massive amounts of memory.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: pgpvWdBlNEqVt.pgp
Description: PGP signature


Reply to: