[typo] Fwd: FCGI Weirdness...

Stephen Caudill scaudill at gmail.com
Mon Aug 29 11:02:44 EDT 2005

Just wanted to bump this.  Don't know if the first one just didn't
come through or what...

Is anyone else experiencing a situation where Typo runs happily under
WeBRick and CGI, but not FCGI in an environment where FCGI is
confirmed to be working?  The details are below, if anyone has any


- Stephen

---------- Forwarded message ----------
From: Stephen Caudill <scaudill at gmail.com>
Date: Aug 24, 2005 10:56 PM
Subject: FCGI Weirdness...
To: Typo-list at rubyforge.org

Hi :)  First time caller, long time listener.

I've got a typo blog (SVN trunk) running at:

(wedding blog on Rails... how geeky is that?)

It runs reliably (if a bit slowly) under CGI and not at all under
FCGI.  It's in production mode, specified by RAILS_ENV in its Vhost in
httpd.conf, running on Fedora, Apache 1.3 and MySQL.  The thing that
confuses me is that I've got two other rails apps running on the box
under FCGI with no hiccups and great performance.  Here's the error I
receive in server.log:

[Mon Aug 22 01:27:15 2005] [error] [client] FastCGI:
incomplete headers (0 bytes) received from server
[Wed Aug 24 22:05:33 2005] [error] [client] FastCGI: comm
with (dynamic) server
"/home/caudills/public_html/public/dispatch.fcgi" aborted: (first
read) idle timeout (30 sec)
[Wed Aug 24 22:05:33 2005] [error] [client] FastCGI:
incomplete headers (0 bytes) received from server

I think this is a fairly generic error message, but when I've seen
this before, it's been because FCGI didn't have proper permissions set
for it's temp directory (or is it a file...), but that's obviously not
the case here, as the other sites run just fine.

Also, when I was developing locally, I could only get typo to run
under WeBRick and I have several Rails apps running happilly under
FCGI.  This is true of a virgin install as well... Local environment
is OSX 10.3, Apache 1.3 and MySQL.

I'm thoroughly stumped on this one... Any ideas?


p.s.  Thanks to Tobias and the rest of the team for a great piece of
software!!  I enjoy it and pick it apart on a daily basis.  In fact,
outside of the Pickaxe and AWDWR, it's been my greatest learning tool

More information about the Typo-list mailing list