• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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