Memcache CPU Consumption is high

Source: Internet
Author: User
Tags memcached

The analysis should be memcache memory size or the default configuration, has not satisfied the current large data volume needs, a large number of new caches need to enter, while a large number of old cache needs to be eliminated, one in one out of the CPU occupied too much.
Enter the registry, locate: Hkey_local_machine\system\currentcontrolset\services\memcached Server
The value of the ImagePath entry is: "D:\memcached\memcached.exe"-D runservice
Change to: "D:\memcached\memcached.exe"-D runservice-m 256
After the value plus-m you want to allocate memory size M 256 is memory 256M

Modify the port, plus-P 12345 is the port number

Memcache memory Configuration


After the modification is complete, go to service (services.msc), find the Memcached server restart service, and see if your Memcache CPU usage is down?

Memcache CPU is too high, modified before the CPU occupied in 70%~80% hovering, modified less than 10%

Memcache CPU Consumption is high

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.