04-14-2023, 10:07 PM
Below some memory usage info,
note that ehcp core daemon has about 40Mb only.
Mosth other memory usage is due to apache, dns, mail, etc...
Also note that, some memory usage on top command is used bu system cache..
sysinfo in ehcp gui shows that cache separately, so, that is more accurate..
test output is attached as file too, for easy viewing..
<code>
before ehcp:
top - 10:39:53 up 1 day, 7:49, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 92 total, 1 running, 91 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.3%us, 0.0%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2053208k total, 147248k used, 1905960k free, 18352k buffers
Swap: 3903784k total, 0k used, 3903784k free, 93704k cached
after installing ehcp: (including apache, dns, mysql, postfix, ftp etc.)
top - 11:03:50 up 1 day, 8:13, 3 users, load average: 0.13, 0.39, 0.25
Tasks: 142 total, 1 running, 141 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.3%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2053208k total, 640100k used, 1413108k free, 48212k buffers
Swap: 3903784k total, 0k used, 3903784k free, 478788k cached
top - 11:07:33 up 1 day, 8:17, 3 users, load average: 0.00, 0.18, 0.19
Tasks: 137 total, 1 running, 136 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.0%us, 0.2%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.1%sy, 0.0%ni, 99.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2053208k total, 638324k used, 1414884k free, 48284k buffers
Swap: 3903784k total, 0k used, 3903784k free, 478792k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26047 mysql 20 0 126m 17m 5128 S 0 0.9 0:00.51 /usr/sbin/mysqld --basedir=/usr --datadir=
26202 root 20 0 37632 12m 6048 S 0 0.6 0:00.35 php index.php daemon
25636 bind 20 0 70288 12m 2176 S 0 0.6 0:00.08 /usr/sbin/named -u bind
26195 root 20 0 103m 9304 3412 S 0 0.5 0:00.68 python /etc/init.d/ehcp_daemon.py
25601 root 20 0 35184 8060 4604 S 0 0.4 0:00.08 /usr/sbin/apache2 -k start
24717 root 20 0 8764 4208 1616 S 0 0.2 0:00.04 /usr/bin/perl -wT /usr/sbin/pop-before-smt
25608 www-data 20 0 35184 4068 596 S 0 0.2 0:00.00 /usr/sbin/apache2 -k start
25609 www-data 20 0 35184 4068 596 S 0 0.2 0:00.00 /usr/sbin/apache2 -k start
25610 www-data 20 0 35184 4068 596 S 0 0.2 0:00.00 /usr/sbin/apache2 -k start
25611 www-data 20 0 35184 4068 596 S 0 0.2 0:00.01 /usr/sbin/apache2 -k start
25612 www-data 20 0 35184 4068 596 S 0 0.2 0:00.00 /usr/sbin/apache2 -k start
18849 root 20 0 8632 3152 2452 S 0 0.2 0:00.76 sshd: root@pts/1
21460 root 20 0 8632 3052 2452 S 0 0.1 0:00.22 sshd: root@pts/2
18583 root 20 0 8632 3048 2452 S 0 0.1 0:00.33 sshd: root@pts/0
2288 root 20 0 17700 2960 1644 S 0 0.1 0:02.42 /usr/sbin/console-kit-daemon
26147 postfix 20 0 6176 2564 1848 S 0 0.1 0:00.05 tlsmgr -l -t unix -u -c
2155 klog 20 0 3464 2256 444 S 0 0.1 0:00.31 /sbin/klogd -P /var/run/klogd/kmsg
1 root 20 0 3084 1888 564 S 0 0.1 0:02.11 /sbin/init
25729 postfix 20 0 5836 1876 1496 S 0 0.1 0:00.02 qmgr -l -t fifo -u
sorted using top ram usage, sorted by ram max to min:
top - 11:08:21 up 1 day, 8:18, 3 users, load average: 0.00, 0.15, 0.17
Tasks: 137 total, 1 running, 136 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.2%us, 0.0%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.2%us, 0.0%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2053208k total, 638324k used, 1414884k free, 48
note that ehcp core daemon has about 40Mb only.
Mosth other memory usage is due to apache, dns, mail, etc...
Also note that, some memory usage on top command is used bu system cache..
sysinfo in ehcp gui shows that cache separately, so, that is more accurate..
test output is attached as file too, for easy viewing..
<code>
before ehcp:
top - 10:39:53 up 1 day, 7:49, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 92 total, 1 running, 91 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.3%us, 0.0%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2053208k total, 147248k used, 1905960k free, 18352k buffers
Swap: 3903784k total, 0k used, 3903784k free, 93704k cached
after installing ehcp: (including apache, dns, mysql, postfix, ftp etc.)
top - 11:03:50 up 1 day, 8:13, 3 users, load average: 0.13, 0.39, 0.25
Tasks: 142 total, 1 running, 141 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.3%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2053208k total, 640100k used, 1413108k free, 48212k buffers
Swap: 3903784k total, 0k used, 3903784k free, 478788k cached
top - 11:07:33 up 1 day, 8:17, 3 users, load average: 0.00, 0.18, 0.19
Tasks: 137 total, 1 running, 136 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.0%us, 0.2%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.1%sy, 0.0%ni, 99.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2053208k total, 638324k used, 1414884k free, 48284k buffers
Swap: 3903784k total, 0k used, 3903784k free, 478792k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26047 mysql 20 0 126m 17m 5128 S 0 0.9 0:00.51 /usr/sbin/mysqld --basedir=/usr --datadir=
26202 root 20 0 37632 12m 6048 S 0 0.6 0:00.35 php index.php daemon
25636 bind 20 0 70288 12m 2176 S 0 0.6 0:00.08 /usr/sbin/named -u bind
26195 root 20 0 103m 9304 3412 S 0 0.5 0:00.68 python /etc/init.d/ehcp_daemon.py
25601 root 20 0 35184 8060 4604 S 0 0.4 0:00.08 /usr/sbin/apache2 -k start
24717 root 20 0 8764 4208 1616 S 0 0.2 0:00.04 /usr/bin/perl -wT /usr/sbin/pop-before-smt
25608 www-data 20 0 35184 4068 596 S 0 0.2 0:00.00 /usr/sbin/apache2 -k start
25609 www-data 20 0 35184 4068 596 S 0 0.2 0:00.00 /usr/sbin/apache2 -k start
25610 www-data 20 0 35184 4068 596 S 0 0.2 0:00.00 /usr/sbin/apache2 -k start
25611 www-data 20 0 35184 4068 596 S 0 0.2 0:00.01 /usr/sbin/apache2 -k start
25612 www-data 20 0 35184 4068 596 S 0 0.2 0:00.00 /usr/sbin/apache2 -k start
18849 root 20 0 8632 3152 2452 S 0 0.2 0:00.76 sshd: root@pts/1
21460 root 20 0 8632 3052 2452 S 0 0.1 0:00.22 sshd: root@pts/2
18583 root 20 0 8632 3048 2452 S 0 0.1 0:00.33 sshd: root@pts/0
2288 root 20 0 17700 2960 1644 S 0 0.1 0:02.42 /usr/sbin/console-kit-daemon
26147 postfix 20 0 6176 2564 1848 S 0 0.1 0:00.05 tlsmgr -l -t unix -u -c
2155 klog 20 0 3464 2256 444 S 0 0.1 0:00.31 /sbin/klogd -P /var/run/klogd/kmsg
1 root 20 0 3084 1888 564 S 0 0.1 0:02.11 /sbin/init
25729 postfix 20 0 5836 1876 1496 S 0 0.1 0:00.02 qmgr -l -t fifo -u
sorted using top ram usage, sorted by ram max to min:
top - 11:08:21 up 1 day, 8:18, 3 users, load average: 0.00, 0.15, 0.17
Tasks: 137 total, 1 running, 136 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.2%us, 0.0%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.2%us, 0.0%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2053208k total, 638324k used, 1414884k free, 48