httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron W Morris <>
Subject Re: [users@httpd] Apache httpd process size
Date Wed, 07 Apr 2004 19:50:36 GMT wrote:

> Josh,
> Thanks again for the reply.
> I ran top on Linux.
> It has 3 things as far as memory is concerned, SIZE, RSS AND SHARE.
> For almost all of my httpd processes, the SIZE and RSS value is the same
> (6656) where SHARE is around 6420. Does this look all right?
> Also I am using Apache 1.3 and not 2.0.
> Thanks a lot for your help.

I hate to complicate this further, but keep in mind that while ps (and 
top) will give fairly accurate per-process stats, when you start looking 
at groups of processes, it's not as accurate.  If you added up all the 
RSS fields for all httpd processes, the number would not necessarily 
reflect the total memory used by Apache, because shared memory is not 
taken into account.

For instance, you could have 10 httpd processes at 5MB a piece, but only 
be using 40MB of memory.

An additional caveat on Linux systems (doesn't apply to this situation): 
  If you are using LinuxThreads, each thread is listed as process in ps 
and top with the exact same stats as the parent process.

Aaron W Morris <> (decep)

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message