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. "