I have a shared server with 900 vhosts under apache + mod_fastcgi using
php-fpm
in this server, eventually occurs a sudden increase in the number of unix
sockets, causing crash on apache
the only solution is kill php-fpm processes (master and childs), all of
apache processes and restart all
in this situation, nestat show-me as the follow:
[18:24:03 root@web691 ~]# netstat -napo |grep DESC
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
unix 2 [ ] UNKNOWN DISCONNECTING 0 -
Sometimes, a few of these processes crash apache, sometimes crash only
occurs when there are many.
But one thing is certain, there are at least five of these lines when apache
crashes.
This is occurring at least ten times a day if someone can help me, I will
be grateful.
[]'s