{"id":324,"date":"2025-12-17T08:26:56","date_gmt":"2025-12-17T08:26:56","guid":{"rendered":"https:\/\/hosterlink.com\/blog\/?p=324"},"modified":"2025-12-17T08:30:23","modified_gmt":"2025-12-17T08:30:23","slug":"removing-zombie-php-fpm-processes-from-vps-server-to-bring-back-unresponsive-websites","status":"publish","type":"post","link":"https:\/\/hosterlink.com\/blog\/removing-zombie-php-fpm-processes-from-vps-server-to-bring-back-unresponsive-websites\/","title":{"rendered":"Removing Zombie php-fpm processes from VPS server to bring back unresponsive websites"},"content":{"rendered":"\n<p>Case Scenario:<\/p>\n\n\n\n<p>Cloudlinux is removed at kernel level and LiteSpeed server is also removed. Apache is set as default and its restarted also. Sites became live but  went down after few days again. <br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -I http:\/\/127.0.0.1<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>uname -r<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>httpd -M | grep hostinglimits<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>cldeploy -c<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>apachectl fullstatus<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>ps -eo pid,stat,etime,cmd | grep httpd | grep -v grep<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>ps aux | grep -E 'php-fpm|lsphp|lsapi' | grep -v grep<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl stop ea-php81-php-fpm<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl stop ea-php82-php-fpm<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl stop php-fpm<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>pkill -9 php-fpm<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>ps aux | grep php-fpm | grep -v grep<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl start ea-php81-php-fpm<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart httpd<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>ps aux | grep -E 'php-fpm|lsphp|lsapi' | grep -v grep<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>pkill -9 -f \"\/usr\/local\/cpanel\/etc\/php-fpm.conf\"<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>vi \/opt\/cpanel\/ea-php81\/root\/etc\/php-fpm.d\/*.conf<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart ea-php81-php-fpm<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Case Scenario: Cloudlinux is removed at kernel level and LiteSpeed server is also removed. Apache is set as default and its restarted also. Sites became live but went down after few days again.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-324","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/posts\/324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/comments?post=324"}],"version-history":[{"count":3,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/posts\/324\/revisions"}],"predecessor-version":[{"id":327,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/posts\/324\/revisions\/327"}],"wp:attachment":[{"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/media?parent=324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/categories?post=324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosterlink.com\/blog\/wp-json\/wp\/v2\/tags?post=324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}