Displaying 10 results from an estimated 10 matches for "dispatcher_log".
2006 Mar 30
4
404 Error on dispatch.fcgi
...# # Custom log path, normal GC behavior.
# RailsFCGIHandler.process! ''/var/log/myapp_fcgi_crash.log''
#
require File.dirname(__FILE__) + "/../config/environment"
require ''fcgi_handler''
class RailsFCGIHandler
private
def frao_handler(signal)
dispatcher_log :info, "asked to terminate immediately"
dispatcher_log :info, "frao handler working its magic!"
restart_handler(signal)
end
alias_method :exit_now_handler, :frao_handler
end
RailsFCGIHandler.process!
--
Posted via http://www.ruby-forum.com/.
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
2006 Aug 16
5
Dreamhost FastCGI: incomplete headers (0 bytes) errors
...host I can access the website fine, and everything seems to work.
I have a dispatch.fcgi file that reads :
#!/usr/bin/ruby
require File.dirname(__FILE__) + "/../config/environment"
require ''fcgi_handler''
class RailsFCGIHandler
private
def frao_handler(signal)
dispatcher_log :info, "asked to terminate immediately"
dispatcher_log :info, "frao handler working its magic!"
restart_handler(signal)
end
alias_method :exit_now_handler, :frao_handler
end
RailsFCGIHandler.process!
and a line in public/.htacces that reads:
RewriteCond %{REQU...
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 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 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 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
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 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 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