I found the problem: When running memcached as a Windows service (-d start),
all other parameters from the command line are ignored. Instead the
instantiated instance uses the parameters specified in the registry, to change
those do the following
Registry Entry: HKEY_Local_Machine/System/CurrentControlSet/Services/ memcached
Server.
Add parameters to ImagePath key, eg
'"C:\servers\memcached-1.2.1-win32\memcached.exe" -d runservice -p 11911 -m
1024'
Cheers
--
Avi
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Avi Shahar
Sent: Thursday, April 03, 2008 2:47 PM
To: [email protected]
Subject: Windows Client command line arguments
Hi,
I ran into a limitation in the number of entries my memcached instance holds,
~50000 entries. To solve this I have tried two things
1. increase it's memory footprint using '-m 128 '(to get 128MBs)
2. attempted to run two instances specifying a port using '-p 8088'
It seems that both command line arguments are ignored. am I not specifying them
correctly?
running on windows XP from command prompt as follows:
memcached.exe -d start <added options as above here>
thank you in advance for any help
--
Avi