Fcgi Error 500
Hi,
I have the server on suphp and i want to change it to fcgi, but when i enable on the server, some pages load very fast and smooth and other ones says error 500.
Apache log:
[Mon Nov 23 17:22:20.634587 2015] [fcgid:warn] [pid 5760:tid 140697357186816] (104)Connection reset by peer: [client IP:43143] mod_fcgid: error reading data from FastCGI server
[Mon Nov 23 17:22:20.634626 2015] [core:error] [pid 5760:tid 140697357186816] [client IP:43143] End of script output before headers: index.php
This error is displayed in some pages in multiple accounts, and others works fine. I'm on EasyApache 3 with Apache 2.4, MPM Event and no zend or apc loaded. Only ioncube and mod_sec. Also, i have NginxCP on the server. In the Apache pre-virtualHost editor i have: #Se incrementa FcgidMaxRequestLen 1073741824 #Ha de ser <= PHP_FCGI_MAX_REQUESTS FcgidMaxRequestsPerProcess 10000 #FcgidMaxProcesses 250, 500 FcgidMaxProcesses 600 #FcgidMinProcessesPerClass 5, 2 #FcgidMaxProcessesPerClass 50, 5 FcgidMinProcessesPerClass 3 FcgidMaxProcessesPerClass 50 FcgidIOTimeout 1500 FcgidErrorScanInterval 5 FcgidIdleTimeout 80 FcgidIdleScanInterval 40 FcgidProcessLifeTime 120 FcgidOutputBufferSize 131072 FcgidFixPathinfo 1 FcgidBusyTimeout 3600
I tried around 20 solutions proposed in forums but no luck. Thanks!
This error is displayed in some pages in multiple accounts, and others works fine. I'm on EasyApache 3 with Apache 2.4, MPM Event and no zend or apc loaded. Only ioncube and mod_sec. Also, i have NginxCP on the server. In the Apache pre-virtualHost editor i have: #Se incrementa FcgidMaxRequestLen 1073741824 #Ha de ser <= PHP_FCGI_MAX_REQUESTS FcgidMaxRequestsPerProcess 10000 #FcgidMaxProcesses 250, 500 FcgidMaxProcesses 600 #FcgidMinProcessesPerClass 5, 2 #FcgidMaxProcessesPerClass 50, 5 FcgidMinProcessesPerClass 3 FcgidMaxProcessesPerClass 50 FcgidIOTimeout 1500 FcgidErrorScanInterval 5 FcgidIdleTimeout 80 FcgidIdleScanInterval 40 FcgidProcessLifeTime 120 FcgidOutputBufferSize 131072 FcgidFixPathinfo 1 FcgidBusyTimeout 3600
I tried around 20 solutions proposed in forums but no luck. Thanks!
-
Hello :) We recommend FCGI only for advanced system administrators who understand how to modify the performance of the mod_fcgidmodule. You can search for "Connection reset by peer" for discussions of how other users have modified their settings after receiving this error message. Thank you. 0
Please sign in to leave a comment.
Comments
1 comment