简体   繁体   中英

How can I tell what Apache (php) processes are holding open mem cache connections

有时我的Memcache当前连接数很高-如何判断保持它们打开状态的是什么?

Using a command like lsof will help you:

sudo lsof | grep -i 'tcp.*11211'

will list all of the pids that have opened tcp connections to memcached.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM