Chinaunix首页 | 论坛 | 博客
  • 博客访问: 512988
  • 博文数量: 173
  • 博客积分: 4112
  • 博客等级: 上校
  • 技术积分: 1577
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-26 10:12
文章分类

全部博文(173)

文章存档

2012年(1)

2010年(172)

我的朋友

分类:

2010-03-24 13:35:17

memcached 1.2.6
-p       TCP port number to listen on (default: 11211)
       侦听的TCP协议端口(默认:11211)
-U       UDP port number to listen on (default: 0, off)
       侦听的UDP协议端口 (默认:关闭)
-s      unix socket path to listen on (disables network support)
-a      access mask for unix socket, in octal (default 0700)
-l   interface to listen on, default is INDRR_ANY
       侦听的网络端口IP
-d            run as a daemon
       后台运行
-r            maximize core file limit
       最大核心文件数
-u assume identity of (only when run as root)
       使用者用户名
-m       max memory to use for items in megabytes, default is 64 MB
       项目最大使用内存(MB为单位)
-M            return error on memory exhausted (rather than removing items)
-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 (not for -u user;
              under sh this is done with 'ulimit -S -l NUM_KB').
-v            verbose (print errors/warnings while in event loop)
-vv           very verbose (also print client commands/reponses)
-h            print this help and exit
-i            print memcached and libevent license
-b            run a managed instanced (mnemonic: buckets)
-P      save PID in , only used with -d option
-f    chunk size growth factor, default 1.25
-n     minimum space allocated for key+value+flags, default 48
-t       number of threads to use, default 4
阅读(472) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~