A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.
Current location:homephp forumphp talk in 2008 yearWhat does FastCGI: comm with server mean? - page 1
User InfoPosts
What does FastCGI: comm with server mean?#1
I'm getting this error in a PHP (Drupal) application:

(104)Connection reset by peer: FastCGI: comm with server "/opt/php-5.2.5/bin/php-cgi" aborted: read failed


It is often followed by this error:

FastCGI: incomplete headers (0 bytes) received from server "/opt/php-5.2.5/bin/php-cgi"


The basic Apache configuration for PHP looks like this:

   FastCgiServer /opt/php-5.2.5/bin/php-cgi -initial-env PHP_FCGI_CHILDREN=32
ScriptAlias /fcgi-bin/php-5.2.5 /opt/php-5.2.5/bin/php-cgi
<Location /fcgi-bin/php-5.2.5>
Options +ExecCGI
SetHandler fastcgi-script
SetOutputFilter INCLUDES
</Location>
# send php5.2-fastcgi handler to our scriptalias
Action php-5.2.5-fastcgi /fcgi-bin/php-5.2.5


Now, my basic question is, what are the general causes of the "comm with server" error? In this particular case, the error appears intermittently, but certain pages generate it more often than others. I'd like to know what to look for when debugging my code.

posted date: 2008-12-16 14:34:00


Re: What does FastCGI: comm with server mean?#2
I had made out the solution of this problem. click to view my topic...

hope that hepls.

posted date: 2008-12-16 14:34:01


Re: What does FastCGI: comm with server mean?#3
What's the character set you're using?I've read that some people is having issues if their app is using a different character set.Look at thisSorry I can't find better results.

posted date: 2008-12-16 15:33:00


Re: What does FastCGI: comm with server mean?#4
In this particular issue, it was related to an odd bug in my code... it seems certain kinds of errors cause FastCGI to fail so badly that it doesn't forward on the underlying PHP code error. Sorry I don't have more detail for those of you visiting from Google.

posted date: 2008-12-18 14:27:00


Re: What does FastCGI: comm with server mean?#5
The forum that you linked to is no longer available.

posted date: 2010-05-24 09:06:00


Re: What does FastCGI: comm with server mean?#6
Sorry mate, can't get a cached copy of this.

posted date: 2010-05-25 12:03:00


Re: What does FastCGI: comm with server mean?#7
I had the same problem but in python and i resolved changing the extention of my script to .py#.htaccess fileAddHandler fastcgi-script .py

posted date: 2010-12-20 19:34:00


Re: What does FastCGI: comm with server mean?#8
Sometimes it helps.output.buffering = 1 into your php.ini file

posted date: 2012-03-21 04:02:00


Re: What does FastCGI: comm with server mean?#9
None of the above addressed my particular issue, there's a great answer here that did!

posted date: 2014-05-28 13:14:00


select page: « 1 »
Copyright ©2008-2017 www.momige.com, all rights reserved.