memcached 1.2.1-win32 as windows service

Tormod Hystad thy at komplett.no
Sat Jul 7 23:39:39 UTC 2007


The only way I've found to do this is to edit the registry settings for
the memcached service after it is registered as a service.

Add the necessary start up parameters to the ImagePath value at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\memcached Server

(at least that worked great for me! :-))

 
- Tormod
 
 

-----Original Message-----
From: memcached-bounces at lists.danga.com
[mailto:memcached-bounces at lists.danga.com] On Behalf Of Nikolay
Barkhatov
Sent: 6. juli 2007 23:50
To: memcached at lists.danga.com
Subject: memcached 1.2.1-win32 as windows service

Hello,

How to increase size of memory when you run memcached
as windows service?

I guess, more general question is:

How to pass parameters to memcached windows service?

I tried to pass "Startup paramaters" to "memcached
Server" windows service, edited registry like this

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\memcached
Server
ImagePath
"C:\memcached\memcached.exe" -d runservice -m 1024

Looks like memcached simply ignores them and starts
with default with 64MB on default port.

Any ideas?

Thanks,
Nik


More information about the memcached mailing list