以下內容属于 ‘memcached’ 便签:

服务器memcached清理缓存 查看状态的方法

首先打开cmd窗口。输入一下命令清除memcached缓存。 1、连接 telnet 127.0.0.1 11211 2.查看状态 stats 3.清除缓存 flush_all 显示ok以后,缓存就清理成功啦。 4.退出memcache quit 各个变量的含义:   STAT pid 22362 //memcache服务器的进程ID   STAT uptime 1469315 //服务器已经运行的秒数   STAT time 1339671194 //服务器当前的unix时间戳   STAT version 1.4.9 //memcache版本   STAT libevent 1.4.9-stable //libevent版本   STAT pointer_size 64 //当前操作系统的指针大小(32位系统一般是32bit,64就是64位操作系统)   STAT rusage_user 3695.485200 //进程的累计用户时间   STAT rusage_system 14751.273465 //进程的累计系统时间   STAT curr_connections 69 //服务器当前存储的items数量   STAT total_connections 855430 //从服务器启动以后存储的items总数量   STAT connection_structures […] (more...)

Centos宝塔面板安装memcached失败的解决办法 缺少sasl 依赖 解决元数据问题

昨天折腾一天没有找到办法。后来到论坛去问,运维人员给的回复是服务器上缺少sasl依赖。 失败的执行日志是这样的。 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100/bin/install -c -m 644 libmemcached-1.0/alloc.h libmemcached-1.0/allocators.h libmemcached-1.0/analyze.h libmemcached-1.0/auto.h libmemcached-1.0/basic_string.h libmemcached-1.0/behavior.h libmemcached-1.0/callback.h libmemcached-1.0/callbacks.h libmemcached-1.0/configure.h libmemcached-1.0/defaults.h libmemcached-1.0/delete.h libmemcached-1.0/deprecated_types.h libmemcached-1.0/dump.h libmemcached-1.0/encoding_key.h libmemcached-1.0/error.h libmemcached-1.0/exception.hpp libmemcached-1.0/exist.h libmemcached-1.0/fetch.h libmemcached-1.0/flush.h libmemcached-1.0/flush_buffers.h libmemcached-1.0/get.h libmemcached-1.0/hash.h libmemcached-1.0/limits.h libmemcached-1.0/memcached.h libmemcached-1.0/memcached.hpp libmemcached-1.0/options.h libmemcached-1.0/parse.h libmemcached-1.0/platform.h libmemcached-1.0/quit.h libmemcached-1.0/result.h libmemcached-1.0/return.h libmemcached-1.0/sasl.h libmemcached-1.0/server.h libmemcached-1.0/server_list.h libmemcached-1.0/stats.h libmemcached-1.0/storage.h libmemcached-1.0/strerror.h libmemcached-1.0/touch.h libmemcached-1.0/triggers.h libmemcached-1.0/types.h '/usr/local/libmemcached/include/libmemcached-1.0' /bin/mkdir -p '/usr/local/libmemcached/include/libmemcachedutil-1.0' /bin/install -c -m 644 libmemcachedutil-1.0/flush.h […] (more...)