How to set up (additional) MemCacheD servers on Windows
http://supersuf037.blogspot.com/2009/08/how-to-set-up-additional-memcached.html
Go find the latest Windows binary. Such as:
http://code.jellycan.com/memcached/
Install the application somewhere like
C:/memcached/
- If you’re running Vista, you should set memcached.exe to Run as administrator
- Install the service using the command:
c:/memcached/memcached.exe -d install
from the command prompt
- Start the server from the Services or by running one of the following commands:
c:/memcached/memcached.exe -d start
or
net start "memcached Server"
4. if service not start, then open 'services.msc' in command prompt, and start service manully.
Open up command prompt
Type in the following line:
sc create memcached 11211 binPath= " C:/memcached/ memcached.exe -d runservice -p 11211 -m 2048 " start= auto DisplayName= "MemCacheD 11211 "
notes : from envykok
the space after '=' is necessary
Notes:
-m 2048 is the amount of memory to use in MB. Default value is 64. Maximum value is 2048.
Don't use up 100% RAM. Remember to leave some RAM for the OS.
To utilize more memory on the same machine, repeat the steps given on the same machine but assign a different port number.
In the example above, all instances of the string "
11211 " refers to the port number.
Do take note of the space after each "
= " sign.
Check out
Start -> Control Panel -> Administrative Tools -> Services for results.
This post is derived from: