List Info

Thread: Figuring out how much memory httpd is using?




Figuring out how much memory httpd is using?
user name
2006-10-31 09:40:41
Hi,

I am running Apache with mod_php. Could you please tell how
I can find
out how much memory does httpd processes consume (which
includes PHP
memory usage) in total and how one can interpret the top
results I
listed below, specifically SIZE/RESIDENT AND SHARED, i.e. is
it
separate for each process, is the amount of memory consumed
total of
all these, etc?

Here is the result of top:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM  
TIME CPU COMMAND
21613 nobody     9   0 13328  11M 10288 S     0.4  0.3  
0:59   0 httpd
22783 nobody     9   0 13472  11M  9920 S     0.4  0.3  
0:58   1 httpd
16929 nobody     9   0 11120 9808  7644 S     0.4  0.2  
0:00   1 httpd
 1623 root       9   0  5384 3360  3320 S     0.0  0.0  
0:05   1 httpd
21603 nobody     9   0 13560  11M 10164 S     0.0  0.3  
1:09   1 httpd
21604 nobody     8   0 13836  12M 10160 S     0.0  0.3  
1:10   0 httpd
21605 nobody     9   0 13280  11M  9832 S     0.0  0.3  
0:57   0 httpd
21606 nobody     9   0 13772  11M 10312 S     0.0  0.3  
1:10   1 httpd
21607 nobody     9   0 13768  12M 10668 S     0.0  0.3  
1:11   0 httpd
21608 nobody     9   0 13300  11M 11020 S     0.0  0.3  
1:02   1 httpd
21609 nobody     9   0 13344  11M 10012 S     0.0  0.3  
1:01   1 httpd
21610 nobody     9   0 12980  11M  9372 S     0.0  0.3  
0:57   1 httpd
21612 nobody     9   0 13600  11M 10728 S     0.0  0.3  
1:07   1 httpd
25591 nobody     9   0 13340  11M 11448 S     0.0  0.3  
1:06   0 httpd
25603 nobody     9   0 13404  11M 11300 S     0.0  0.3  
1:01   0 httpd
25604 nobody     9   0 13508  11M  9700 S     0.0  0.3  
1:07   0 httpd
 4953 nobody     9   0 13748  12M 10412 S     0.0  0.3  
1:02   1 httpd
 3232 nobody     9   0 13720  11M 10276 S     0.0  0.3  
0:58   1 httpd
 3262 nobody     9   0 13108  11M  9504 S     0.0  0.3  
1:01   1 httpd
29496 nobody     9   0 13532  11M 10248 S     0.0  0.3  
0:56   0 httpd
 5101 nobody     9   0 13088  11M 10852 S     0.0  0.3  
0:51   0 httpd
 6627 nobody     9   0 13480  11M 10064 S     0.0  0.3  
0:49   1 httpd
 8252 nobody     9   0 12920  11M 10888 S     0.0  0.3  
0:31   0 httpd
 7002 nobody     9   0 13232  11M 11440 S     0.0  0.3  
0:06   1 httpd
10447 nobody     9   0 12428  10M  9600 S     0.0  0.2  
0:05   1 httpd
18950 nobody     9   0 12440  10M  9648 S     0.0  0.2  
0:06   1 httpd
29191 nobody     9   0 12280  10M  9696 S     0.0  0.2  
0:02   1 httpd
15401 nobody     9   0 12044  10M  8536 S     0.0  0.2  
0:00   1 httpd
16577 nobody     9   0 11628  10M  8084 S     0.0  0.2  
0:00   1 httpd
16795 nobody     9   0 12172  10M  8684 S     0.0  0.2  
0:00   1 httpd
19490 nobody     9   0 11316   9M  7796 S     0.0  0.2  
0:00   0 httpd

Thanks.

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org

Figuring out how much memory httpd is using?
user name
2006-10-31 09:40:41
Hi,

I am running Apache with mod_php. Could you please tell how
I can find
out how much memory does httpd processes consume (which
includes PHP
memory usage) in total and how one can interpret the top
results I
listed below, specifically SIZE/RESIDENT AND SHARED, i.e. is
it
separate for each process, is the amount of memory consumed
total of
all these, etc?

Here is the result of top:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM  
TIME CPU COMMAND
21613 nobody     9   0 13328  11M 10288 S     0.4  0.3  
0:59   0 httpd
22783 nobody     9   0 13472  11M  9920 S     0.4  0.3  
0:58   1 httpd
16929 nobody     9   0 11120 9808  7644 S     0.4  0.2  
0:00   1 httpd
 1623 root       9   0  5384 3360  3320 S     0.0  0.0  
0:05   1 httpd
21603 nobody     9   0 13560  11M 10164 S     0.0  0.3  
1:09   1 httpd
21604 nobody     8   0 13836  12M 10160 S     0.0  0.3  
1:10   0 httpd
21605 nobody     9   0 13280  11M  9832 S     0.0  0.3  
0:57   0 httpd
21606 nobody     9   0 13772  11M 10312 S     0.0  0.3  
1:10   1 httpd
21607 nobody     9   0 13768  12M 10668 S     0.0  0.3  
1:11   0 httpd
21608 nobody     9   0 13300  11M 11020 S     0.0  0.3  
1:02   1 httpd
21609 nobody     9   0 13344  11M 10012 S     0.0  0.3  
1:01   1 httpd
21610 nobody     9   0 12980  11M  9372 S     0.0  0.3  
0:57   1 httpd
21612 nobody     9   0 13600  11M 10728 S     0.0  0.3  
1:07   1 httpd
25591 nobody     9   0 13340  11M 11448 S     0.0  0.3  
1:06   0 httpd
25603 nobody     9   0 13404  11M 11300 S     0.0  0.3  
1:01   0 httpd
25604 nobody     9   0 13508  11M  9700 S     0.0  0.3  
1:07   0 httpd
 4953 nobody     9   0 13748  12M 10412 S     0.0  0.3  
1:02   1 httpd
 3232 nobody     9   0 13720  11M 10276 S     0.0  0.3  
0:58   1 httpd
 3262 nobody     9   0 13108  11M  9504 S     0.0  0.3  
1:01   1 httpd
29496 nobody     9   0 13532  11M 10248 S     0.0  0.3  
0:56   0 httpd
 5101 nobody     9   0 13088  11M 10852 S     0.0  0.3  
0:51   0 httpd
 6627 nobody     9   0 13480  11M 10064 S     0.0  0.3  
0:49   1 httpd
 8252 nobody     9   0 12920  11M 10888 S     0.0  0.3  
0:31   0 httpd
 7002 nobody     9   0 13232  11M 11440 S     0.0  0.3  
0:06   1 httpd
10447 nobody     9   0 12428  10M  9600 S     0.0  0.2  
0:05   1 httpd
18950 nobody     9   0 12440  10M  9648 S     0.0  0.2  
0:06   1 httpd
29191 nobody     9   0 12280  10M  9696 S     0.0  0.2  
0:02   1 httpd
15401 nobody     9   0 12044  10M  8536 S     0.0  0.2  
0:00   1 httpd
16577 nobody     9   0 11628  10M  8084 S     0.0  0.2  
0:00   1 httpd
16795 nobody     9   0 12172  10M  8684 S     0.0  0.2  
0:00   1 httpd
19490 nobody     9   0 11316   9M  7796 S     0.0  0.2  
0:00   0 httpd

Thanks.

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )