Reasons for locating a virtual machine card

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.