search for: railsfcgihandler

Displaying 20 results from an estimated 43 matches for "railsfcgihandler".

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 Mar 30
4
404 Error on dispatch.fcgi
...age collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log # and the GC period is nil (turned off). A reasonable number of requests # could range from 10-100 depending on the memory footprint of your app. # # Example: # # Default log path, normal GC behavior. # RailsFCGIHandler.process! # # # Default log path, 50 requests between GC. # RailsFCGIHandler.process! nil, 50 # # # Custom log path, normal GC behavior. # RailsFCGIHandler.process! ''/var/log/myapp_fcgi_crash.log'' # require File.dirname(__FILE__) + "/../config/environment" require...
2006 Jan 31
2
lightpd / fcgi / RoR setup
...o/hello), empty response. No error message, no default controller text (Foo#hello, etc.). Nothing. Nothing in the lighttpd logs or the rails app logs to indicate what''s happening. Just nothing. Any help at all appreciated! Oh, one more thing, might be unimportant: irb(main):001:0> RailsFCGIHandler.process! NameError: uninitialized constant RailsFCGIHandler from (irb):1 Regards, Jim Setup: RoR 1.0, Linux, lighttpd 1.4.9, gem fcgi (0.8.6.1). dispatch.fcgi looks like: #!/usr/bin/ruby require File.dirname(__FILE__) + "/../config/environment" require ''fcgi_handler&...
2006 Mar 01
4
RailsFCGIHandler(NameError)
/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 /var/rails/depot/public/dispatch.fcgi:24 I get the above log from my webserver running on apache+FastCGI Any help would be greatly appreciated, Mohammad
2006 May 19
5
more fcgi problems
...age collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log # and the GC period is nil (turned off). A reasonable number of requests # could range from 10-100 depending on the memory footprint of your app. # # Example: # # Default log path, normal GC behavior. # RailsFCGIHandler.process! # # # Default log path, 50 requests between GC. # RailsFCGIHandler.process! nil, 50 # # # Custom log path, normal GC behavior. # RailsFCGIHandler.process! ''/var/log/myapp_fcgi_crash.log'' # require File.dirname(__FILE__) + "/../config/environment" require...
2006 Feb 19
8
uninitialized constant RailsFCGIHandler
...ication started to give me "Error 500" Looking at the Apache logs I can see : [notice] mod_fcgid: server /rails/public/dispatch.fcgi(6127) started /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 /rails/public/dispatch.fcgi:25 [notice] mod_fcgid: process /rails/public/dispatch.fcgi(6127) exit(communication error), terminated by calling exit(), return code: 1 The environment is : Ubuntu - Apache 2 - Gem 0.8.11 - Ruby 1.8.3 Any ideas ? Simone -- Posted via http://www....
2006 Apr 19
7
Setup problem
...eeing a html 500 error on the page). [Fri Apr 14 19:54:48 2006] [notice] mod_fcgid: server /var/www/rails/cookbook/public/dispatch.fcgi(20039) started /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'': uninitialized constant RailsFCGIHandler (NameError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in `const_missing'' from /var/www/rails/cookbook/public/dispatch.fcgi:25 I have seen suggestions to run ''ruby dispatch.fcgi'' from the command line, but I get...
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 10
5
Re: Manually running dispatch.fcgi fails (Please help!!)
...gt; > 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 > > > > > > > From one noob to another, I think this may be a red herring. What does > > your dispatch.fcgi look like? What''s your environment? I was getting > > this error as well, and I _belie...
2006 Feb 09
2
Manually running dispatch.fcgi fails
...#39;'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. Thanks Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
2005 Aug 24
1
FastCGI timeout problem
...lient 192.168.0.19] FastCGI: comm with (dynamic) server "/files/Siteuri/colectii/public/dispatch.fcgi [Thu Aug 25 00:13:49 2005] [error] [client 192.168.0.19] FastCGI: incomplete headers (0 bytes) received from server "/files/sites/myapp/public/dispatch.fcgi" My dispatch.fcgi is : RailsFCGIHandler.process! ''/var/log/myapp_fcgi_crash.log'' require File.dirname(__FILE__) + "/../config/environment" require ''fcgi'' I tried also with and i had the same problem RailsFCGIHandler.process! ''/var/log/myapp_fcgi_crash.log'' require File.di...
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 Sep 19
9
RoR with apache2 on SuSE
...arbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log # and the GC period is nil (turned off). A reasonable number of requests # could range from 10-100 depending on the memory footprint of your app. # # Example: # # Default log path, normal GC behavior. # RailsFCGIHandler.process! # # # Default log path, 50 requests between GC. # RailsFCGIHandler.process! nil, 50 # # # Custom log path, normal GC behavior. # RailsFCGIHandler.process! ''/var/log/myapp_fcgi_crash.log'' # require File.dirname(__FILE__) + "/../config/environment" require ...
2006 Apr 03
6
getting fcgi to work
...am_setsync am i supposed to get those no definition messages? are those errors or what? this is what i get when trying to run my rails apps with fcgi: /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.0/lib/active_support/dependencies.rb:112:in `const_missing'': uninitialized constant RailsFCGIHandler (NameError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.0/lib/active_support/dependencies.rb:120:in `const_missing'' from /home/mymedia/public_html/rails/dispatch.fcgi:26 [Mon Apr 3 01:16:03 2006] [warn] FastCGI: (dynamic) server "/home/mymedia/public_h...
2006 Jan 08
4
Finding memory leaks?
Where are the memory leaks and what is the way to fix them? I''m working on a game that was fairly stable in terms the memory consumption and it was staying at around 200MB. Recently it has gone crazy, and unless I restart it, it goes straight up to 350-400+MB after 30 minutes-1hour. I am using Apache 1.3+fcgi in production mode. Also the dispatch.fcgi processes take a really high toll
2006 Aug 16
5
Dreamhost FastCGI: incomplete headers (0 bytes) errors
...y database. If I start Webrick in production mode on dreamhost 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...
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
...patch.fcgi [QSA,L] Options Indexes +ExecCGI +FollowSymLinks Order allow,deny allow from all </Directory> and dispatch.fcgi looks like: #!/usr/bin/ruby require File.dirname(__FILE__) + "/../config/environment" require ''fcgi_handler'' RailsFCGIHandler.process! Any help appreciated, Jim
2006 Jun 15
6
Error in dispatch.fcgi...
...age collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log # and the GC period is nil (turned off). A reasonable number of requests # could range from 10-100 depending on the memory footprint of your app. # # Example: # # Default log path, normal GC behavior. # RailsFCGIHandler.process! # # # Default log path, 50 requests between GC. # RailsFCGIHandler.process! nil, 50 # # # Custom log path, normal GC behavior. # RailsFCGIHandler.process! ''/var/log/myapp_fcgi_crash.log'' # require File.dirname(__FILE__) + "/../config/environment" require...
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 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.