similar to: [rails|fcgi bug] Rails app not responding

Displaying 20 results from an estimated 80000 matches similar to: "[rails|fcgi bug] Rails app not responding"

2006 Jul 23
1
reaper
Hi there, I have been running the reaper on dreamhost and I''m not sure it is actually restarting the processes will the reaper create new processes? because all the PID''s are the same before and after I run the reaper Restarting [1344] ruby dispatch.fcgi Restarting [10172] ruby dispatch.fcgi Restarting [21592] ruby dispatch.fcgi Restarting [4931] ruby dispatch.fcgi Restarting
2006 Aug 09
0
FastCGI - how to relocate dispatch.fcgi outside of rails app
Howdy. Due to a rather unique hosting setup, I need to relocate the dispatch.fcgifile to a directory outside of /path/to/application/public. The setup looks like: /path/to/content/RailsApp/ -- all application files /path/to/fcgi-bin/RailsApp/ -- dispatch.fcgi I''ve modified dispatch.fcgi to find environment.rb; however, all requests for static files (index.html, javascripts, etc) fail
2006 Jun 21
0
fcgi_watch (reaper replacement for shared servers)
fcgi_watch is a supplement to (or replacement for) <rails_app>/script/process/reaper. The standard reaper script searches for all processes started with a given pathname using the output from a ps command, and performs an action on them. There are problems with this approach, at least on some shared servers: - The pathname seen from a script is not necessarily the same as the
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 May 21
2
Reaper and symbolic links
Hello, I''m trying to restart my application fastcgi processes using reaper. But I get the following error: $sudo -u www ./script/process/reaper Couldn''t find any process matching: /var/www/example/200605200000/public/dispatch.fcgi The problem is that it should not look for 20060520000 but for current which is a symbolic link pointing to 200605200000. I did the
2005 Dec 20
1
Unstable rails app
Hello, My rails app is often not responding: see http://dev.rubyonrails.org/ticket/3299 Using latest lighttpd's freebsd port and rails 1.0 Thank your for your help ! _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2006 May 18
3
capistrano and Dreamhost issue
Hi, i''m striving to capistranize a foo app on DH. Everything is hosted on DH to simplify a bit : - svn repository (http access) - the application - the DB I used the recipe of Jamis Buck modified by Geoffrey Grosenbach which you can find here : http://nubyonrails.com/pages/shovel_dreamhost I did the least modifications possible. As recommended. 1) When I launch the
2006 Jun 29
0
Restart/Deploy - Reaper can''t find PID
Hi I''ve been using Capistrano to deploy my application for around 3 months now, and in the last week or so the reaper part of the restart/deploy tasks is failing with the following message: executing task restart * executing "/home/user/myapp/current/script/process/reaper --dispatcher=dispatch.fcgi" servers: ["myapp.com"] [myapp.com] executing command **
2006 Jan 07
2
hosting with Pair : Rails'' app dies after a few seconds
First of all thanks a lot to the guys who answered the other topic. Host: Pair Networks - FreeBSD v.4.8-Stable - peulik.pair.com PHP and MySQL services running (is this a problem?) First of all, after I establish the ssh connection I''ve to type, as I mentioned in the old thread, GEM_PATH ~/lib/ruby/gems/1.8 otherwise the ruby installation is not found. position of the executable:
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
2005 May 26
1
No response from Apache 2 / fcgi / rails...
Hello! I''m struggling here with getting Typo running on a Red Hat server under Apache 2 / fcgi... Every time I try to load the public home page, I get this in my error log: [Thu May 26 00:20:52 2005] [error] [client 24.22.74.233] FastCGI: comm with (dynamic) server "/home/httpd/vhosts/brigleb.com/httpdocs/ public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
2006 Jan 22
0
problem setting up lighttpd and rails app.
I am trying to set-up lighttpd and rails to work with fastcgi. Here is what I am currently using for the virtual host definition. I have gotten this from various websites. Sorry about the formatting I can''t seem to control it with Thunderbird. var.wholesale = "wholesale" $HTTP["host"] =~ "^wholesale" { server.document-root = "/var/lighttpd/"
2006 May 30
0
Performance problem with Apache-FCGI-Rails
We have our Rail 1.0 application running on Apache 1.3 with FastCGI. The httpd.conf has : <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc FastCgiServer /root/zs/public/dispatch.fcgi -processes 2 FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production -idle-timeout 120 -maxClassProcesses 2 -killInterval 300 </IfModule> The dispatch.fcgi is the default provided in the
2006 Aug 02
5
monitor fcgi?
Im trying to get a new app up on dreamhost. What fun :/ Id like to try out the ''frao_handler'' which just keeps dreamhost from automatically killing my fcgi processes. But Im also worried about things getting out of hand. I seem to remember that captures in views can cause problems with fcgi (I might just be making that up????), and I do have few in my app. And well Im
2006 Jun 30
0
Production Mode in my Rails Application not responding
I also had a problem with our client''s site www.storkselect.com. When working with up-dating coding...Everythng was fine until I changed the coding from: IfModule mod_fastcgi.c> FastCgiServer /var/www/storkselect/public/dispatch.fcgi \ -initial-env RAILS_ENV=development \ -processes 2 \ -idle-timeout 60 </IfModule> To
2006 Aug 04
8
Capistrano /usr/bin/env: ruby: no such file or directory
Hi, I''m deploying to a prod linux server via Capistrano, but the last step, running the reaper, won''t complete. Ruby is stored in /usr/local/bin on the server, and I''m deploying from winxp. $ ssh mcalogin@lx07 Password: mcalogin@LX07:~> env | grep "^PATH" PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/b in:/opt/
2006 Aug 05
0
Rails requests return dispatch.cgi (or .fcgi) file contents
I''m running Apache2 with CGI and FastCGI alternatively. I''ve had a problem that I haven''t been able to find more than a single reference to online. When my .htaccess file has the CGI rewrite rule in effect, my Rails app works. When I change to FastCGI, all I get for Rails requests is the contents of the dispatch.fcgi file. Thinking I may have screwed something up
2006 Feb 16
11
Multiple Rails app on the same server?
I have a rails app on a debian server running lighttpd and I''m trying to set up typo so that it also works (with a different url). I have 4 URLs running -- let''s call them foo.com, bar.com, www.typo.com and php.typo.com I am starting lighttpd by going into the directory where my foo.com app is and typing either ruby script/server or script/server -e production -- either
2006 Jan 16
0
Lighttpd/FastCGI dispatch.fcgi processes
I have the fastcgi.server part of my lighttpd.conf like this: fastcgi.server = ( ".fcgi" => ( "test" => ( "socket" => "/tmp/test1.socket", "bin-path" => "/home/paulbarry/public/dispatch.fcgi", "min-procs" => 1, "max_procs" => 2 ) ) ) When I start
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