High Memory Usage?
High Memory Usage?
Hello,
What do you think of ram usage, please check attached image. Is that normal ?
My VPS 1 x 2.40 GHz CPU + 512 MB RAM
Vesta

VPS Company

What do you think of ram usage, please check attached image. Is that normal ?
My VPS 1 x 2.40 GHz CPU + 512 MB RAM
Vesta

VPS Company

Code: Select all
free -m
total used free shared buffers cached
Mem: 512 512 0 35 0 63
-/+ buffers/cache: 448 63
Swap: 256 83 172
Code: Select all
top - 14:16:13 up 14:18, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 58 total, 1 running, 57 sleeping, 0 stopped, 0 zombie
Cpu(s): 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: 524288k total, 524288k used, 0k free, 0k buffers
Swap: 262144k total, 85332k used, 176812k free, 64696k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1021 mysql 20 0 690m 13m 5276 S 0.3 2.7 0:42.08 mysqld
1 root 20 0 19236 1180 968 S 0.0 0.2 0:00.03 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd/11162
3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper/11162
136 root 16 -4 10648 256 252 S 0.0 0.0 0:00.00 udevd
518 root 20 0 179m 1072 836 S 0.0 0.2 0:00.16 rsyslogd
540 named 20 0 155m 11m 2528 S 0.0 2.2 0:00.68 named
563 dbus 20 0 21440 388 384 S 0.0 0.1 0:00.00 dbus-daemon
581 root 20 0 66240 608 508 S 0.0 0.1 0:00.02 sshd
592 root 20 0 21720 616 612 S 0.0 0.1 0:00.00 xinetd
606 root 20 0 52132 208 204 S 0.0 0.0 0:00.00 vsftpd
645 root 20 0 11444 1232 1228 S 0.0 0.2 0:00.01 mysqld_safe
1063 root 20 0 19268 628 516 S 0.0 0.1 0:00.26 dovecot
1066 dovecot 20 0 12988 968 876 S 0.0 0.2 0:00.06 anvil
1067 root 20 0 13116 1016 876 S 0.0 0.2 0:00.12 log
1079 root 20 0 66444 284 280 S 0.0 0.1 0:00.00 saslauthd
1081 root 20 0 66444 32 28 S 0.0 0.0 0:00.00 saslauthd
Code: Select all
cat /proc/meminfo
MemTotal: 524288 kB
MemFree: 0 kB
Cached: 64692 kB
Buffers: 0 kB
Active: 232684 kB
Inactive: 216396 kB
Active(anon): 186488 kB
Inactive(anon): 197900 kB
Active(file): 46196 kB
Inactive(file): 18496 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 262144 kB
SwapFree: 176812 kB
Dirty: 12 kB
Writeback: 0 kB
AnonPages: 384388 kB
Shmem: 36056 kB
Slab: 63740 kB
SReclaimable: 42352 kB
SUnreclaim: 21388 kB
Re: High Memory Usage?
viewtopic.php?f=10&t=4590&start=10#p53313skid wrote:Ooops! Thanks for rising this. Unfortunately there is a bug in current version. New memory function ignores available cached/buffered memory. I can assure you that the real memory consumption on your server hasn't changed since release. Bugfix will be available soon.
Old method:New method:Code: Select all
[root@r6 ~]# free -m |awk '{print $4}'|head -n3 |tail -n1 404
Code: Select all
[root@r6 ~]# free -m |grep Mem |awk '{print $4}' 98