memcached还有很多参数,这里我先列出来,以后在慢慢翻译:
-p TCP port number to listen on #在那个端口开启memcached服务,默认的是11211端口
-U UDP port number to listen on #在那个UDP端口开启memcached服务,默认是没有开启
-s unix socket path to listen on
-a access mask for unix sock, in octal
-l interface to listen on, default is INDRR_ANY
-d tell memcached to start/restart/down
-d install install memcached service
-d uninstall uninstall memcached service
-r maximize core file limit
-u assume identity of
-m max memory to use for items in megabytes, default is 64MB
-M return error on memory exhausted
-c max simultaneous connections, default is 1024
-k lock down all paged memory. Note that there is a limit on how much memory you may lock. Trying to allocate more than that would fail, so be sure you set the limit correctly for the user you started the daemon with .
-v verbose
-vv very verbose
-h help
-i print memcached and libevent license
-b run a managed instanced
-P save PID in , only used with -d option
-f chunk size growt factor, default 1.25
-n minimum space allocated for key+value+flags, default 48