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 |
+ | 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[]
- http://memcached.org/ - official site
check hitreate[]
- Hitrate is defined as: get_hits / (get_hits + get_misses)
>telnet host port
>telnet localhost 11211 >stats
- https://code.google.com/p/memcached/wiki/NewCommands -- memcached telnet command
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.
- http://linux.die.net/man/1/memcached - man page