• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

FastCGI error

Status
Not open for further replies.

DougCurtis

Basic Pleskian
I am seeing a fastcgi error in the apache error log that is throwing 500 errors:

(104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

I've run into this before and adjusting the settings in /etc/httpd/conf.d/fcgid.conf fixed it but I'm not having any luck on this server.

I've got php 5.3, 5.4 and 5.5 installed. The site works fine when php 5.3 is selected but not when 5.4 or 5.5 are selected.

Here are my fcgid.conf settings:

FcgidIdleTimeout 120
FcgidIdleScanInterval 60
FcgidProcessLifeTime 3600
FcgidMaxProcesses 1000
FcgidMaxProcessesPerClass 50
FcgidMinProcessesPerClass 0
FcgidConnectTimeout 8
FcgidIOTimeout 60
FcgidInitialEnv RAILS_ENV production
FcgidMaxRequestsPerProcess 500
FcgidMaxRequestLen 1073741824

Thanks
 
Last edited:
I FINALLY found the issue. I had to set FcgidOutputBufferSize to 0 in /etc/httpd/conf.d/fcgid.conf

I hope this helps someone else because it's been driving me nuts for days.

Doug
 
Status
Not open for further replies.
Back
Top