线上的服务器突然间就挂掉了;
service httpd status
service httpd restart ;依然是这样;
进去查看apache的错误日志
错误信息是
No space left on device: Couldn't create accept lock (/etc/httpd/logs/accept.lock.15258
df -h 也是正常的;解决办法如下
ipcs -s
要把这些全部清除掉;
for ipcs in `ipcs -s|awk '{print $2}'`; do echo "ipcs=$ipcs" ipcrm -s $ipcs done service httpd restart