similar to: dispatch.fcgi dieing randomly

Displaying 20 results from an estimated 10000 matches similar to: "dispatch.fcgi dieing randomly"

2005 Mar 10
6
Expiring Cache Fragments and fcgi
First let me say that Rails caching is very very cool. The traffic (and responsiveness) I''ve saved by added 10 lines of ruby code would be enourmous, if I actually had traffic... ;) Sweepers as observers are great, btw. Since every page of my side is dynamic, once I did some DB optimization I''m caching the content of the index page which was taking the bulk of the time to load
2006 Mar 04
4
managing number of dispatch.fcgi processes ?
I have a problem where when I try and access my site a dispatch.fcgi process is started but then exits right after the page has loaded. Requireing it to start all over agin the next time a request is made. I''ve read about people using two or more FCGI processes to help with the request load but how do people do this? Firstly, how do you make a FCGI process persistant? I''m
2006 May 19
5
more fcgi problems
Finally got fcgi installed with apache. Now whe I click on "About your application''s environment" on the Rails Welcome page, it simply prints out the dispatch.fcgi script as shown below. I would appreciate any help I can get on this. I can provide other infomation if necessary. #!/usr/local/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled #
2005 Dec 19
1
FastCGI: comm with (dynamic) server ...../dispatch.fcgi aborted: (first read) idle timeout (30 sec)
Hello, I just did a "gem update" on my server updating to the latest version. After this none of my scripts work. In apache error log I get: FastCGI: comm with (dynamic) server "/home/user/public_html/dispatch.fcgi" aborted: (first read) idle timeout (30 sec) My only guess is that the problem is related to the fastCGI binding but I have no idea what to look for. I
2006 Jun 21
2
displaying contents of dispatch.fcgi rather than running it
SYSTEM: Apache2/RHEL4/FastCGI latest gem, ruby and rails builds. -- i''ve installed rails on the above system. i get the ''riding on rails'' welcome page, but when i click ''about your applications environment'', it returns the contents of the dispatch.fcgi file, instead of running it. i''ve been struggling with this one for quite some time with
2006 Jan 02
5
Can''t get fcgi working with Apache2 on Mac OS X
I have an application that works fine in development mode under plain old CGI and I''m trying to get it running under FCGI with multiple hours of frustration. Lately, I am running dispatch.fcgi standalone from the command line. It gives me a not very helpful one line error message; Status: 500 Internal Server Error The log file produces a not very helpful 2 line message;
2006 Apr 03
6
getting fcgi to work
can some one help me with my install? i''m having a touch time getting fcgi to play right with apache. i ran "gem install fcgi" and this is the output i get: Attempting local installation of ''fcgi'' Local gem file not found: fcgi*.gem Attempting remote installation of ''fcgi'' Updating Gem source index for: http://gems.rubyforge.org Building
2007 Jul 30
1
Camping Apache2 & FCGI - Internal Use
Hey Folks, I''m deploying a camping app on an internal Apache2 + FastCGI server at my office. Of course, on my Mac it works great, but I can''t get things to work with Apache and FCGI. I''ve followed the directions on why''s page documenting how to do this, but I''m getting the following error in my Apache error.log file: FastCGI: (dynamic) server
2006 May 30
3
more fcgi problems on apache
I''m having tons of problems with fcgi on apache2. The app didn''t crash over the weekend when it wasn''t used. I ran it this morning and it was fine. It''s an inhouse app so it wasn''t used for 3 days over the weekend. It did however crash today. Does this sound like a bad fcgi setup or just a very buggy fcgi/Apache combo? Charlie Bowman
2006 Apr 03
11
Runaway FCGI Processes with Debian, Apache
Hi all. There is an issue with Rails, FastCGI and Apache2 on Debian that I''ve been dealing with since I started Rails development in late 2005. I''ve developed various workarounds but have not been able to solve the problem at the root. Every so often, for reasons I''ve never been able to determine, a load of dispatch.fcgi processes get spawned and take over my whole
2005 Jun 24
14
apache2 fastcgi (fcgi) internal server errors, still :(
hi all, I can blab, but here is a sample of my /var/log/apache2/error.log, it has all the info: any ideas what I can do prevent 500s from hitting my users? (besides redirecting them with javascript to the same URL which will be fine on the next request? :) thanks, _alex [Fri Jun 24 12:30:45 2005] [error] [client 172.20.0.175] FastCGI: incomplete headers (0 bytes) received from
2006 Mar 13
2
Excessive Errno::EBADF with dispatch.fcgi
I''m running Ruby on Rails via FastCGI in an Apache environment, and I get the following error, a lot. (from log/fastcgi.crash.log) [13/Mar/2006:15:52:51 :: 94704] Dispatcher failed to catch: Bad file descriptor (Errno::EBADF) /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `close'' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `each''
2005 Apr 06
1
fcgi processes dieing / hanging
I''m having a hell of a time trying to get my site stable with lighttpd/fcgi. Here''s a sample of the fcgi error log: 2005-04-06 09:29:03: (mod_fastcgi.c.2782) response not sent, request sent: 1167 connection-fd: 26 fcgi-fd: 28 2005-04-06 09:29:03: (mod_fastcgi.c.1921) unexpected end-of-file (perhaps the fastcgi process died): pid: 25117 fcgi-fd: 31 remote-fd: 29 2005-04-06
2006 Jan 18
7
FastCgi issue
Hi, I know that Apache2 + fastcgi is sometimes difficult to setup, but I was wondering if anyone has come across this error and if yes what did you do to resolve it? [Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115] FastCGI: comm with server "/var/htdocs/ot/public/dispatch.fcgi" aborted: idle timeout (120 sec) [Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115]
2006 Mar 30
4
404 Error on dispatch.fcgi
I''m a java/php programmer trying out Ruby/Rails on my Dreamhost account. I followed the wiki steps to the letter (2x now) and am still getting a 404 when I hit my dispatch.fcgi. http://mydomain.com/public/dispatch.fgci Can someone give me suggestions on how to debug this problem? Here is my dispatch.fcgi file: #!/usr/bin/env ruby # # You may specify the path to the FastCGI crash log
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi, I''ve generated a new Rails app and dummy controller "foo" with method "hello". I am trying to run it under Apache/2.0.53 with fastcgi, and getting the index.html page when I hit http://localhost/foo/hello, or for any other request (http://localhost/kdjfslkfjs). Also, there is nothing in the rails logs, and no errors in the apache logs. Relevant bit of
2006 Apr 09
18
I can''t get mod_fcgid to work
Hi, I just installed mod_fcgid on my apache2 server. When I try to load my application I get an "Application error - Rails application failed ..." message. In my Apache2 error-log it says: Premature end of script headers dispatch.fcgi mod_fcgid process /data/www/app/dispacth.fcgi exit (communication error), terminated by calling exit(), return code 1 Any help with this would be
2006 May 25
4
downloads dispatch.fcgi for every request!!
Hi All, has anyone ever seen it when they vist the URL in the applicaion that it just tries to download the FCGI dispatch file? Im running FC3, Lighttpd1.4.11, Rails 1.1.2 and FastCGI. i run IRB and get... irb(main):001:0> require ''fcgi.so'' => true irb(main):001:0> require ''fcgi'' => true On the default rails install page ''riding on
2006 Mar 15
5
Apache (both 1.3 & 2) not calling dispatch.fcgi on Debian
We''re trying to run Ruby on Rails on Debian with Apache and FastCGI, but can''t get it to work. As far as we can tell, it seems to go wrong in the final stages; Apache appears not to be doing anything with dispatch.fcgi, even though FastCGI looks to be set up correctly. We''ve followed several "how to"s, but we don''t get any other results. What
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI. I have this config under httpd.conf ------------------------ LoadModule fastcgi_module modules/mod_fastcgi.dll ... Alias /fatturails/ "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public/" <Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public"> AddHandler fastcgi-script .fcgi