I’m running Ruby on Rails via FastCGI in an Apache environment, and I
get the following error, a lot.
[13/Mar/2006:15:52:51 :: 94704] Dispatcher failed to catch: Bad file
process!' "fastcgi.crash.log" 2204L, 143144C /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:113:inaccept’
almost killed by this error
By a lot, I mean about every five seconds, which makes for log files
getting into the 100+meg size pretty swiftly. The site appears to be
working fine. My best guess is that since I’m hosting stuff out of
/www/railsapps/ where /www is a symlink to usr/local/apache and I
in turn symlink /www/railsapps//public to a directory in htdocs -
there’s a lot of symlinks. I’ve seen file_column get a bit confused
with this before, so my guess is that the same thing is happening to
fcgi. I don’t see any 404 errors in my log files, just notifications
that the fastcgi process exited.
I’m thinking I might just symlink fastcgi.crash.log to /dev/null, but
I’d prefer getting to the bottom of it or even just catching EBADF in
dispatch.fcgi. Any ideas on the list?