Today's network management colleague suddenly flew to me a message, said that his virtual machine card dead, said the implementation of the next LS, it stuck.
It takes three minutes to observe silence.
Then I asked him how much memory the virtual machine, answer Yue: 1G, and then indignation to say that so much memory is not enough wow. So I suggested that he start the virtual machine with memory, and then go up and help him see where the problem is?
1[Email protected] init.d]# Free-m2Total used Freeshared buffers Cached3Mem:1990 1480 510 0 - 4154-/+ Buffers/cache:1020 9705Swap:3999 0 3999
Oh, 2G of memory is only 510M left.
Then the top looked at it and found that he was running Httpd,vmtoolsd,dmserver and other programs memory-intensive.
1 2 1581Root - 0170m4312 3468S0.7 0.2 0:17.40VMTOOLSD 3 259Root - 0 0 0 0S0.3 0.0 0:00.91Mpt_poll_0 4 3488Root - 0339m 16m 13m S0.3 0.8 0:18.34VMTOOLSD 5 1Root - 0 19348 1560 1252S0.0 0.1 0:01.52Init 6 2Root - 0 0 0 0S0.0 0.0 0:00.00Kthreadd
After asking him to say this is a database, not now, so I suggest to kill Dmserver and then look at the memory:
1[Email protected] init.d]# Free-m2Total used Freeshared buffers Cached3Mem:1990 881 1109 0 - 4154-/+ Buffers/cache:419 15715Swap:3999 0 39996[Email protected] init.d]#
OK, 600M less.
And then helped him to stop the Dmserver service.
Reasons for locating a virtual machine card