• 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.

(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server

J.Wick

Regular Pleskian
Hello,

After upgrading to Plesk 11.5.30 I'm all of a sudden experiencing a heavy amount of Error 500 errors with sites on FastCGI.

I'm running...

# php -v
PHP 5.3.25 (cli) (built: May 12 2013 17:17:01)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with eAccelerator v0.9.6-svn358-dev, Copyright (c) 2004-2007 eAccelerator, by eAccelerator
with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies

My /etc/httpd/conf.d/fcgid.conf

LoadModule fcgid_module modules/mod_fcgid.so

<IfModule mod_fcgid.c>

<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl
</IfModule>

FcgidIPCDir /var/run/mod_fcgid/sock
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm

FcgidIdleTimeout 40
FcgidProcessLifeTime 30
FcgidMaxProcesses 20
FcgidMaxProcessesPerClass 8
FcgidMinProcessesPerClass 0
FcgidConnectTimeout 30
FcgidIOTimeout 3600
FcgidInitialEnv RAILS_ENV production
FcgidIdleScanInterval 10

</IfModule>



The errors I'm getting:

(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://www.domain.net/rocket/administrator/index.php?option=com_content&view=article&layout=edit
[Mon Nov 25 00:43:18 2013] [error] [client 50.72.45.13] Premature end of script headers: index.php, referer: http://www.domain.net/rocket/administrator/index.php?option=com_content&view=article&layout=edit

I've searched up and down and I can't find a fix to address this problem.

I tried the suggestions over at: http://forum.parallels.com/showthread.php?259891-Internal-500-error-exporting-categories-products-using-OpenCart&p=629685#post629685

Specifically, I'm using Joomla 3.2.0 and when I save an article I get an error 500, but if I hit the page fresh button, it goes through and saves correctly. Sometimes I'll save and it'll work, other times it produces error 500.

I thought this may be a permission issue, but the fresh page success would suggest otherwise. Could it be a server resource issue?

Can someone direct me to an actual working solution to this problem?
 
You may want to temporarily switch to PHP as an Apache module while you investigate the cause of PHP as a CGI failing to function!
 
Hello,
I have the same problem to configure products on my e-commerce shop.
I'am a newby to manage my server and I just want to know if you can tell me how you swith PHP as an apache module?
Thanks
Have a nice week-end
Thomas
 
Login to your control panel, navigate to Subscriptions, click on the Control panel for the respective subscription, (Hosting settings ...) or related
 
I gave up. I just ordered a new server and installed PHP 11.5.30 from scratch and moved all the domains over by hand. Took me a full day but everything works amazing now, along with having multiple versions of PHP and Backup works again. Plus I found a datacenter that killed my old one in pricing and performance. So a win all around.

However, I think from my research that eaccelerator plugin might have something to do with the problem.
 
Back
Top