linux链接memcached,在Linux环境上安装memcached手册

The options for memcached are:

-l 

Listen on ;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.-d

Run memcached as a daemon.

-u 

Assume the identity of  (only when run as root).

-m 

Use  MB memory max to use for object storage;the default is 64 megabytes.-M

Instead of throwing items from the cache when max memory is reached,throw an error

-c 

Use  max simultaneous connections;the default is 1024.-k

Lock down all paged memory. This is a somewhat dangerous option with large caches,so consult the README and memcached homepage for configuration suggestions.

-p 

Listen on port ,the default is port11211.

-r

Maximize core file limit

-M

Disable automatic removal of items from the cache when out of memory. Additions will not be possible until adequate space is freed up.

-r

Raise the core file size limit to the maximum allowable.

-h

Show the version of memcached and a summary of options.

-v

Be verbose during the event loop;print out errors and warnings.-vv

Be even more verbose;same as -v but also print client commands and responses.-i

Print memcached and libevent licenses.

-P 

Print pidfile to ,only used under -d option.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值