Lokvin Wiki
 
Line 12: Line 12:
   
 
===memcahced command line parameters ===
 
===memcahced command line parameters ===
nobody 25723 0.0 0.0 61656 8416 ? Ssl Jan14 0:00 memcached_145 -d -p 11211 -u nobody -m 2048 -c 1024 -P /var/run/memcached_145/memcached_145-marketdata.pid
+
nobody 25723 0.0 0.0 61656 8416 ? Ssl Jan14 0:00 memcached_145 -d -p 11211 -u nobody -m 2048
  +
-c 1024 -P /var/run/memcached_145/memcached_145-marketdata.pid
   
 
-m <num>
 
-m <num>

Latest revision as of 09:40, 15 January 2014

memcached[]

check hitreate[]

  • Hitrate is defined as: get_hits / (get_hits + get_misses)
>telnet host port
>telnet localhost 11211
>stats

memcahced command line parameters[]

nobody   25723  0.0  0.0  61656  8416 ?        Ssl  Jan14   0:00 memcached_145 -d -p 11211 -u nobody -m 2048 
-c 1024 -P /var/run/memcached_145/memcached_145-marketdata.pid
-m <num>
Use <num> MB memory max to use for object storage; the default is 64 megabytes.
-c <num>
Use <num> max simultaneous connections; the default is 1024.
-P <filename>
Print pidfile to <filename>, only used under -d option.