[英]How can I tell what Apache (php) processes are holding open mem cache connections
有时我的Memcache当前连接数很高-如何判断保持它们打开状态的是什么?
Using a command like lsof
will help you: 使用lsof
这样的命令将帮助您:
sudo lsof | grep -i 'tcp.*11211'
will list all of the pids that have opened tcp connections to memcached. 将列出所有打开了与memcached的tcp连接的pid。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.