{"id":1013,"date":"2017-04-04T09:02:52","date_gmt":"2017-04-04T08:02:52","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=1013"},"modified":"2017-04-04T10:20:48","modified_gmt":"2017-04-04T09:20:48","slug":"plesk-website-running-fastcgi-timeout-gateway-errors-slow-loads","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2017\/04\/04\/plesk-website-running-fastcgi-timeout-gateway-errors-slow-loads\/","title":{"rendered":"Plesk website running FastCGI Timeout Gateway Errors and Slow Loads"},"content":{"rendered":"<p>So my friend Paul shown me how to troubleshoot fastCGI on plesk boxes, very easy..<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# pstree | grep cgi\r\n     |       `-httpd---20*&#x5B;php-cgi]\r\n<\/pre>\n<p>We can see that 20 php-cgi processes run. If we check the maximum in the configuration file set for fastCGI of Apache2..<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# cat \/etc\/httpd\/conf.d\/fcgid.conf  | grep MaxProc\r\n  FcgidMaxProcesses 20\r\n<\/pre>\n<p>We see 20 is the maximum, so it&#8217;s definitely hitting the FastCGI limit, we need to increase the limits, so we just edit the file and increase the limits for that variable;<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvi \/etc\/httpd\/conf.d\/fcgid.conf\r\n\r\necho &quot;FcgidMaxProcesses 50&quot; &gt;&gt; \/etc\/httpd\/conf.d\/fcgid.conf\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>So my friend Paul shown me how to troubleshoot fastCGI on plesk boxes, very easy.. # pstree | grep cgi | `-httpd&#8212;20*&#x5B;php-cgi] We can see that 20 php-cgi processes run. If we check the maximum in the configuration file set &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2017\/04\/04\/plesk-website-running-fastcgi-timeout-gateway-errors-slow-loads\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33,18,95,61],"tags":[],"class_list":["post-1013","post","type-post","status-publish","format-standard","hentry","category-apache","category-php","category-plesk","category-rackspace"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=1013"}],"version-history":[{"count":2,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1013\/revisions"}],"predecessor-version":[{"id":1015,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1013\/revisions\/1015"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=1013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=1013"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=1013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}