📄 memcached.1
字号:
.TH MEMCACHED 1 "April 11, 2005".SH NAMEmemcached \- high-performance memory object caching system.SH SYNOPSIS.B memcached.RI [ options ].br.SH DESCRIPTIONThis manual page documents briefly the.B memcachedmemory object caching daemon..PP.B memcachedis a flexible memory object caching daemon designed to alleviate database loadin dynamic web applications by storing objects in memory. It's based on libevent to scale to any size needed, and is specifically optimized to avoid swapping and always use non-blocking I/O..br.SH OPTIONSThese programs follow the usual GNU command line syntax. A summary of options is included below..TP.B \-l <ip_addr> Listen on <ip_addr>; default to INDRR_ANY. This is an important option to consider as there is no other way to secure the installation. Binding to an internal or firewalled network interface is suggested..TP.B \-dRun memcached as a daemon..TP.B \-u <username> Assume the identity of <username> (only when run as root)..TP.B \-m <num>Use <num> MB memory max to use for object storage; the default is 64 megabytes..TP.B \-c <num>Use <num> max simultaneous connections; the default is 1024..TP.B \-k Lock down all paged memory. This is a somewhat dangerous option with largecaches, so consult the README and memcached homepage for configurationsuggestions..TP.B \-p <num> Listen on TCP port <num>, the default is port 11211..TP.B \-U <num> Listen on UDP port <num>, the default is port 11211..TP.B \-MDisable automatic removal of items from the cache when out of memory.Additions will not be possible until adequate space is freed up..TP.B \-rRaise the core file size limit to the maximum allowable..TP.B \-f <factor>Use <factor> as the multiplier for computing the sizes of memory chunks thatitems are stored in. A lower value may result in less wasted memory dependingon the total amount of memory available and the distribution of item sizes.The default is 1.25..TP.B \-s <size>Allocate a minimum of <size> bytes for the item key, value, and flags. Thedefault is 48. If you have a lot of small keys and values, you can get asignificant memory efficiency gain with a lower value. If you use a highchunk growth factor (-f option), on the other hand, you may want to increasethe size to allow a bigger percentage of your items to fit in the most denselypacked (smallest) chunks..TP.B \-hShow the version of memcached and a summary of options..TP.B \-vBe verbose during the event loop; print out errors and warnings..TP.B \-vvBe even more verbose; same as \-v but also print client commands and responses..TP.B \-iPrint memcached and libevent licenses..TP.B \-P <filename>Print pidfile to <filename>, only used under -d option..TP.B \-t <threads>Number of threads to use to process incoming requests. This option is onlymeaningful if memcached was compiled with thread support enabled. It is typically not useful to set this higher than the number of CPU cores on thememcached server..TP.B \-D <char>Use <char> as the delimiter between key prefixes and IDs. This is used forper-prefix stats reporting. The default is ":" (colon). If this option isspecified, stats collection is turned on automatically; if not, then it maybe turned on by sending the "stats detail on" command to the server..br.SH LICENSEThe memcached daemon is copyright Danga Interactive and is distributed under the BSD license. Note that daemon clients are licensed separately..br.SH SEE ALSOThe README file that comes with memcached.br.B http://www.danga.com/memcached.SH AUTHORThe memcached daemon was written by Anatoly Vorobey .B <mellon@pobox.com>and Brad Fitzpatrick .B <brad@danga.com> and the rest of the crew of Danga Interactive .B http://www.danga.com.br
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -