Memcached coexist with multiple instances in windows, while memcached instances coexist.

Source: Internet
Author: User

Memcached coexist with multiple instances in windows, while memcached instances coexist.

Source: http://blog.csdn.net/xingxing513234072/article/details/39343999

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.