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

Re: Memory Overflow Problem with Woody Apache

On Fri, 12 Sep 2003, Adam Kessel wrote:

> I'm running apache from woody which perl and php. Over the past few
> months, apache has occasionally starting eating up all the available
> memory, until it fills up the swap file and gets killed.

hmmmm this is not good, but at least is reproducible.

> I'm unable to trace this memory overflow to any particular event in the
> access or error logs. It doesn't even appear that anyone has requested a
> URL that runs a script around the time the overflow starts. It can take
> an hour or two until it's used up all the memory.
> I realize this is probably insufficient information to diagnose the
> problem, but I'm wondering: (1) if others have experienced memory
> overflow like this with apache 1.3.26-0woody3, and (2) what I might do to
> hunt down the cause? So far the only thing I've tried is a cron job which
> reports memory statistics every 20 minutes, and all I've discovered from
> that is that a certain process will sometimes expand indefinitely over a
> couple of hours.

you can try using ps axv to dump processes information together with ram
usage. and when the memory leak occours you should be able to see it.

Please also repeat the test using a "fresh and clean" configuration that
does not include any fancy module as possible since one of them could also
be the reason of the problem. If the leak doesn't occour in this situation
please send us the clean and the "dirty" configuration.


Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues


Reply to: