similar to: FastCGI processes sometimes ''hang''

Displaying 20 results from an estimated 1100 matches similar to: "FastCGI processes sometimes ''hang''"

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
2006 Jan 12
15
Production deployment on Dreamhost?
Does anyone have any experience with production deployment of RoR on Dreamhost? Is it now stable enough? Any tips and tricks? Thanks a lot, Tom
2007 Mar 29
1
How to restart server programmatically?
I need to be able to restart my server based on a specific database change. I''ve been trying a call to system("script/process/reaper -a graceful -d dispatch.fcgi") but that raises a transaction error which rolls back the save. I wasn''t aware that after_save would rollback. That''s potentially useful but pretty much not right now. Here''s my code: def
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 Mar 06
5
Dreamhost subscription?
I''m thinking about signing up with DreamHost for the base Level 1 $9.95 plan. Does anyone think that''s a bad idea? I''d like to know others thoughts, and who they recommend for RoR hosting? Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Jan 25
38
Rails app won''t run on Dreamhost - "incomplet headers" error
Can anyone provide some expert debugging help here? What''s the first step to take to see what the issue is here? I have no errors in the rails app''s log files. The only errors I have are those provided by apache and they are: ''FastCGI: Incomplete headers (0) bytes received from server'' I''ve tried editing the shebang line, removing line feeds, but
2006 Aug 16
5
Dreamhost FastCGI: incomplete headers (0 bytes) errors
Sorry to trouble the list with another Dreamhost problem, but looking through the archives I see nothing that can solve my problem. I have installed my app as per http://wiki.dreamhost.com/index.php/Ruby_on_Rails#Quick_Start_Guide_August_2006 with a symbolic link from my_domain.tld in ~/ to ~/apps/residence/public/ I get the Rails welcome screen. I have uploaded my app directory etc, and
2006 Feb 06
2
ROR Production issue
Currently I am not getting much traffic on my site, when I visit my site after a long interval I get the dreaded "Rails application error" in Mozilla/ "Internal server error" in IE.Once I click refresh then the site comes to life. My guess is this is due to the fact that all FCGI process have died and there are no active listeners. Has anyone else experienced this issue. How
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 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 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 19
7
Setup problem
I am trying to set up rails and am have problems. I have googled everything I could think of, but have not found my problem. Here are my specs. Gentoo Linux 2006.0 Apache 2.2 Ruby 1.8.4 Gems 1.8 Rails 1.1.2 mod_fcgid 1.08 When I try to access my test rails app through the webserver, I get the following error in the error.log (after seeing a html 500 error on the page). [Fri Apr 14
2006 Jan 23
9
Web Hosting Options?
Can someone recommend a good web host for ROR? -- Posted via http://www.ruby-forum.com/.
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 Apr 17
9
Reload an application without restarting the Server?
Hi, I would like to set up a "shared hosting"-like rails environment on a linux (+Apache1.3 +FastCGI +MySQL) machine. As we all know, rails provides support for different environments. Now I would like to enable my "users" to switch individual applications between development and production mode. In theory, all they have to do is to add
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX. Everything builds fine (and webrick runs just fine) but lighttpd barfs: edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown
2006 Jan 12
2
ActionController#send_file
Looking at the code for ActionController#send_file I see that it is using ruby to send the file contents. Linux supports a sendfile() OS call. The implementation of Linux sendfile() is extremely fast and very CPU efficient, far faster than what can be done in user space. Does Windows support a sendfile() equivalent call? I haven''t been working with ruby long enough to know how it handles
2006 Jan 17
2
file_column plugin and instance variables
To make file_column work I have to copy my local variable back to an instance variables like this: <% for product in @products @product = product %> <div class="catalogentry"> <%= image_tag url_for_file_column(''product'', ''image_url'') %></p> This is needed because file_column specifically looks for the instance
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 Jan 14
12
Dedicated Host Recommendations?
I currently have a dedicated server at ev1servers, but it''s getting rather antiquated (Redhat 9) and am looking to upgrade. I''m thinking about serverbeach.com - one of their CentOS servers. Anybody have any recommendations for dedicated servers on which to run Rails? Hopefully less than $200/month. Thanks! CSN __________________________________________________ Do You Yahoo!?