Forum Moderators: phranque

Message Too Old, No Replies

Memory Usage as reported by Webmin

         

Frank_Rizzo

3:11 pm on Jan 11, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If I run Running Processes in Webmin this can show me what processes are using the most memory. Here's a typical report:


Process ID Owner Size Command
5850 mysql 302368 kB /usr/sbin/mysqld
16284 apache 210616 kB /usr/sbin/httpd
16801 apache 184288 kB /usr/sbin/httpd
16590 apache 119368 kB /usr/sbin/httpd
16662 apache 119272 kB /usr/sbin/httpd
16795 apache 119256 kB /usr/sbin/httpd
16796 apache 119244 kB /usr/sbin/httpd
16591 apache 118304 kB /usr/sbin/httpd
16682 apache 118184 kB /usr/sbin/httpd
16589 apache 71852 kB /usr/sbin/httpd
16683 apache 68592 kB /usr/sbin/httpd
16798 apache 68284 kB /usr/sbin/httpd
16797 apache 67740 kB /usr/sbin/httpd
16684 apache 67708 kB /usr/sbin/httpd
16850 apache 67256 kB /usr/sbin/httpd
16804 apache 65892 kB /usr/sbin/httpd
16849 apache 64384 kB /usr/sbin/httpd
16805 apache 64036 kB /usr/sbin/httpd
16956 apache 60740 kB /usr/sbin/httpd
12171 root 54708 kB /usr/sbin/httpd
2720 root 6620 kB /usr/libexec/postfix/master

From that I assume that mysql daemon is using up 302Mb and apache is using up various amounts of memory for users who are currently connected / threads in use.

Process 16284 uses the most: 210M, then 16801 using 184M etc.

If this is correct then how come adding up all those memory usages comes to about 2.5G when I only have 2G installed and the memory stats shows:

Used: 1.19Gb
Free: 875Mb
Buffered: 27Mb
Cached: 447Mb

Swap Used: 88Mb

Is it correct to add up all those memory figures reported by Webmin?

Should apache be using upto 210M for each httpd process?