View Single Post
Old 13th February 2011, 01:33
GoremanX GoremanX is offline
Join Date: Apr 2010
Posts: 50
Thanks: 2
Thanked 0 Times in 0 Posts
Default Occasional FastCGI Error on Ubuntu 10.04

Using the "Perfect Server" howto for Ubuntu 10.04 and ISPConfig

I've been trying to track down this error for weeks now, it's driving me nuts.

Every once in a while, site visitors using Firefox (on any OS) get the following error on the home page of the site:

Content Encoding Error

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
This only happens rarely (maybe once every 100 tries? I can't reproduce it reliably), and reloading the page fixes it right away. I wouldn't even mind so much if it wasn't always on the home page.

IE8 also gets hit with this problem, but instead of displaying an error page, it drops down to "compatibility mode" and renders the page horribly.

On the server, whenever this error page comes up, I get the following entry in the error log:

[Sat Feb 12 18:20:28 2011] [warn] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer:
[Sat Feb 12 18:20:28 2011] [warn] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request function, referer:
I've tried looking this up everywhere I can think of, but can find no solution. It never happened on my old Ubuntu 9.10 server, but that one's long gone now.

What can I do to diagnose and solve this?

edit: I'm using the default wrapper script generated by ISPConfig to load fcgid.

Last edited by GoremanX; 13th February 2011 at 01:37.
Reply With Quote
Sponsored Links