Memcached coexistence of multiple instances in Windows

Source: Internet
Author: User

ArticleSource: http://eason-chen.javaeye.com/blog/375517

The-D install command of memcached.exe does not seem to work when other parameters are installed. After-P and-m are added, only the-runservice parameter is included in the binpath of the Windows service after installation. This can be changed through the registry, but it still cannot install multiple services at the same time. To solve this problem, run the SC service command.
For example, install the cache service with two ports 11212 and 11213,500 MB of memory
Run the CMD command to create the following two cache services:
----------------------------- Port 11212 --------------------------------
SC create memcachedservercmd12 binpath = "F: \ memcached \ memcached.exe-D runservice-M 500-P 11212" Start = auto displayname = "memcached server (11212 )"
SC description memcachedserver11212 "cache service: Port 11212. "
---------------------------- Port 11213 ----------------------------------
SC create memcachedserver11213 binpath = "F: \ memcached \ memcached.exe-D runservice-M 500-P 11213" Start = auto displayname = "memcached server (11213 )"
SC description memcachedserver11213 "cache service: Port 11213. "
Related Article

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.