[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] httpd process memory consommation
- Subject: Re: [cobalt-users] httpd process memory consommation
- From: flash22@xxxxxxx
- Date: Mon Feb 5 20:01:58 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Sun, 4 Feb 2001, Jean-Philippe CAZARD wrote:
> Hi,
>
> > > On our RAQ3, the "top" command shows that most of our httpd processes
> use
> > > approx. 10M of memory :
> > >
> > > PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME
> COMMAND
> > > ......
> > > 21352 root 0 0 3956 2036 616 S 0 0.0 1.5 0:01 httpd
> > > 21919 root 0 0 10488 10M 10284 S 0 0.0 8.1 0:00 httpd
> > > 21936 httpd 0 0 11652 11M 10176 S 0 0.0 9.0 0:00 httpd
Well, first off, learn how to read the output from top...
SIZE is the total memory the process sees, but SHARED is the ammount of
memory the process is sharing with other processes, in this case ,
most likely with the parent process, so what you have is *one* httpd using
10 meg, and a bunch of children that are sharing it, probably because they
inherited it when it forked...
The only real question is why the initial httpd grabbed so much ram, even
with all the modules apache shouldn't have a base image much over 2 meg,
however some modules like perl and the db module can grab quite a lot of
memory...