LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ram showing critical status (https://www.linuxquestions.org/questions/linux-newbie-8/ram-showing-critical-status-789399/)

prak86 02-16-2010 01:31 AM

Ram showing critical status
 
Hi,

I am using nagios to monitor vm in blade servers, everything is working fine. The ram size of the vm is 4 gb and whenever the machine starts, the status of ram is critical as showing only few kb are free.

I set the critical limit as 5% and it comes as 3% and showing as critical. when i give top, i got it as


top - 12:57:08 up 31 days, 23:08, 2 users, load average: 1.15, 1.08, 1.04
Tasks: 97 total, 1 running, 96 sleeping, 0 stopped, 0 zombie
Cpu(s): 3.0%us, 97.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3896252k total, 3745960k used, 150292k free, 300820k buffers
Swap: 5124724k total, 0k used, 5124724k free, 2534340k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26052 root 25 0 1885m 806m 123m S 99.8 21.2 4792:58 java
11269 root 15 0 2196 1004 796 R 0.3 0.0 0:00.02 top
1 root 15 0 2064 652 560 S 0.0 0.0 0:00.99 init
2 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.35 events/0
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
10 root 10 -5 0 0 0 S 0.0 0.0 0:00.90 kblockd/0
11 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
68 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/0
71 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
73 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
135 root 15 0 0 0 0 S 0.0 0.0 0:26.89 pdflush
136 root 15 0 0 0 0 S 0.0 0.0 0:14.02 pdflush
137 root 16 -5 0 0 0 S 0.0 0.0 0:00.06 kswapd0
138 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
291 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused
321 root 10 -5 0 0 0 S 0.0 0.0 0:00.49 mpt_poll_0
322 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
325 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0
326 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ata_aux
333 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kstriped
342 root 10 -5 0 0 0 S 0.0 0.0 1:02.37 kjournald
375 root 10 -5 0 0 0 S 0.0 0.0 0:00.04 kauditd
409 root 17 -4 3004 1596 504 S 0.0 0.0 0:00.46 udevd
1261 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 kmpathd/0
1262 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 kmpath_handlerd
1290 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald
1532 root 15 0 2160 492 388 S 0.0 0.0 0:07.95 mcstransd
1823 root 15 -4 12516 784 576 S 0.0 0.0 0:00.86 auditd
1825 root 7 -8 12068 680 584 S 0.0 0.0 0:00.37 audispd
1843 root 18 0 11616 9.9m 504 S 0.0 0.3 0:00.35 restorecond
1854 root 18 0 1720 628 528 S 0.0 0.0 0:10.73 syslogd
1857 root 15 0 1672 396 332 S 0.0 0.0 0:00.01 klogd
1881 rpc 18 0 1808 556 464 S 0.0 0.0 0:00.00 portmap


as shown in the % mem , the total memory used is of about 23% only

whereas it shows used memory about 3.7 gb

Can anyone explain me how this works and where my understanding goes wrong.

evo2 02-16-2010 02:29 AM

Looks like it is just cache. Have a look here for information about ram usage in linux.

http://www.linuxatemyram.com/

Evo2.


All times are GMT -5. The time now is 11:13 PM.