httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <>
Subject Re: Apache memory allocation
Date Sun, 30 May 1999 12:09:52 GMT

On Thu, 27 May 1999, Graham Leggett wrote:

> Is there a way of monitoring Apache's memory usage while it's running?

Compile with ALLOC_USE_MALLOC (see alloc.c) and use a debugging malloc
such as libxalloc and libmalloc (,
> I have a busy reverse proxy installation that leaks memory over time,
> eventually swamping the machine, and swallowing all 768MB of RAM and all
> 2GB of swap after 2 or 3 days or so.

What is your MaxRequestsPerChild ?
> I need to find out which part of Apache is allocating all the memory, so
> that I can track down the section of Apache that's the memory hog. I
> know Apache functions handle memory management, do these functions aid
> in debugging in any way?

Do you have any special modules ? Are you using Solaris 2.5 ?

View raw message