similar to: managing number of dispatch.fcgi processes ?

Displaying 20 results from an estimated 6000 matches similar to: "managing number of dispatch.fcgi processes ?"

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 #
2006 Jun 15
6
Error in dispatch.fcgi...
Yesterday, our of nothing my server went down... Rails application failed to start properly Imediately i started checking my logs and found quickly that something was wrong with the dispatch.fcgi or its function. I use FCGI, and it had been working perfectly with Apache 2.0.55, MySQL 5.0, Ruby 1.8.2 and Rails 1.1.2. What really got me wondering was that I did nothing. One day it worked
2006 Feb 08
5
debugging 500 Internal Server Error when dispatch.fcgi run?
I''m trying to get my Ruby on Rails application to work under Apache. It works fine when run as WEBrick ("ruby script/server"). As suggested in http://www.ocssolutions.com/support/ruby/troubleshooting-ruby-on-rails.php , I tried running dispatch.fcgi on the command line. When I run it, no matter where I run it, it outputs: 500 Internal Server Error Both the #! (shebang)
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 Feb 09
2
Manually running dispatch.fcgi fails
I''m a newbie trying to setup lighttpd. It is failing with error 500. I tried running dispatch.fcgi by hand and I''m getting: # ./dispatch.fcgi /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'': uninitialized constant RailsFCGIHandler (NameError) from ./dispatch.fcgi:24 Not sure how to proceed from here.
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 10
5
Re: Manually running dispatch.fcgi fails (Please help!!)
I''m really lost on this issue. Do I need to reinstall rails / gems? The rest of my rails setup seems to be working. I just can''t run dispatch.fcgi. (Details in original message below). I have no idea how to troubleshoot this. I''m not even positive it is supposed to be runnable from the command line. I found a troubleshooting guide that implied it was supposed to
2006 Feb 19
8
uninitialized constant RailsFCGIHandler
Hello, I''m trying to switch to FastCGI. With CGI everything works, but after have done all the steps of the wiki here (http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntuDebianTestingAndUnstable) My application started to give me "Error 500" Looking at the Apache logs I can see : [notice] mod_fcgid: server /rails/public/dispatch.fcgi(6127) started
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 Feb 13
4
Problems deploying in Dreamhost
I am trying to deploy a Rails application on Dreamhost. My application works just fine in my laptop using WEBrick. The problem that I have is that I currently have my website in the public folder. I can reference everything just fine from if it is in the public folder, but if I click in a link that is an actual controller/action I get an error that the file does not exist. I followed all
2005 Aug 24
1
FastCGI timeout problem
Hi everybody, after more than 18 hours trying to get Ruby Rails running, i ran into this problem that i cannot solve. I want to mention that with normal CGI the test app was running fine. FastCGI is making me problems. I receive in the browser: "Application error Rails application failed to start properly" and in apache2 log files i have: [Thu Aug 25 00:13:49 2005] [error] [client
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 11
5
Problem running application in cpanel
Hi, I installed rails following the instruccions from http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel but when i try see the application i have a 500 Internal Server Error, this is only with apache because i can run with webrick Please i am desesperate -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jan 31
2
lightpd / fcgi / RoR setup
Hi, I''m running RoR and have set it up more or less like described in the wiki (for instance here http://wiki.rubyonrails.org/rails/pages/LighttpdWithProcessScripts). I can start the fcgi listener and see that ports 7000-7004 are listening. I can start lighttpd, and try to connect to the server. I can restart the default.fcgi listening scripts that i see in "ps ax | grep
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
2006 May 09
7
FCGI and the never ending saga of deploying on Dreamhost
I''m trying to setup an app on Dreamhost and running into no end of problems. The app is running with edge rails and I''m currently getting the dreaded ''Rails application failed to start'' white screen when trying to access it. I''ve gone through all the ''gotchas'' and troubleshooting docs at Dreamhost and the rails wiki to no avail.
2006 Jan 13
4
FastCGI processes sometimes ''hang''
I am running a RoR application on Apache 1.3/RedHat 7.3/MySQL 3.1.23 (Old versions I know, but upgrading to latest versions are not practical for a number of reasons). There are 5 RoR FastCGI processes configured using FastCgiServer. What I am finding is that, after a while, some of the FastCGI processes seem to ''hang''. They no longer process requests, and the only way to
2006 Jan 03
2
Apache FCGI and rails image issues help
Hi guys i am usin apache and the fcgi but it cannot see images? i have no idea why i need to leave them outside the public folder and to access the app i use localhost/public/app this is the only way i can c the image other wise its a routin error any ideaS? Its sounds like a rooting error i agree no prob this is my apache config as in the vhost <VirtualHost *> ServerName rails
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 Sep 19
9
RoR with apache2 on SuSE
Hi, I have an application completed that was built with RoR on windows. So this of course was tested with the webbrick server. I now want to put the project on our apache web server for production. I am having a very hard time getting this accomplished. I followed some of the steps here (because not all of them worked):