Displaying 20 results from an estimated 8000 matches similar to: "exception_notification crashes fast_cgi process"
2006 Jul 01
1
exception_notification only happening one sub domain
folks.
I have dev.domain.org and qa.domain.org. I have two copies of same
rails application on the two diff subdomains.
When an error happens only dev.* exception_notification sends email.
For qa.* I get the RuntimeError. Not the 500.html file.
Donnow what''s happening. I am on Site5, FastCGI, Apache 1.33
Thx
ajay
--
Posted via http://www.ruby-forum.com/.
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
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
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
Dears,
Thanks to Demetrius (dema.ruby.com.br, see Taming FastCGI) I''ve a
running FastCGI Rails 1.0 environment with :
- Win XP "Professional" (just brand name)
- Apache 2.0.55 (msi)
- Ruby for Apache 1.3.1
- Database backend is now Oracle 8.1
Everything run fine with default environment, I''m confused for
switching into ''production''.
By default
2007 Feb 18
1
FastCGI without ScriptAlias
Hi,
I made some experiments with the sample blog application, my index.fcgi
file contains the following:
require ''camping/fastcgi''
Camping::Models::Base.establish_connection(
:adapter => ''sqlite3'',
:database => ''database/camping.db''
)
Camping::FastCGI.serve(''blog.rb'')
Without ScriptAlias the application works fine,
2005 Jul 28
1
Rails+Apache 2+FastCGI on Fedora Core 3 Linux: Has anyone got it working well?
Hi All,
I have a Rails application that needs to be served from a
Fedora Core 3 Linux server. The application runs well as a
"plain" CGI application.
My next step was to speed things up with FastCGI installed
via "gem install fcgi". (version 0.8.6.1).
That approach lead to this error in the fastcgi.crash.log:
Dispatcher failed to catch: undefined method
2005 Dec 19
1
Lighty External Fast CGI Process Load Balacing Note
I''ve just spent a while chasing a false bug in lighttpd and load
balancing among external fast cgi processes due to what I think is a
documentation bug. Following the info on the wiki page
<http://wiki.rubyonrails.com/rails/pages/LighttpdWithProcessScripts>,
one would think that something like this works:
fastcgi.debug = 1
fastcgi.server = ( ".fcgi" =>
(
2006 Jun 15
2
FastCGI can''t find rubygems?
Hi all,
I''m trying to use Apache 2.0.52 and FastCGI on Mac OS 10.4.6 and I''m having
some trouble. The server starts up fine, but I get the error at the bottom
of this post once I make a request to the rails app. I was curious if
anyone had an idea as to why it wasn''t working. I have everything installed
correctly (rubygems, fastcgi, ruby bindings, etc). I had this
2005 Apr 06
1
fcgi processes dieing / hanging
I''m having a hell of a time trying to get my site stable with lighttpd/fcgi.
Here''s a sample of the fcgi error log:
2005-04-06 09:29:03: (mod_fastcgi.c.2782) response not sent, request
sent: 1167 connection-fd: 26 fcgi-fd: 28
2005-04-06 09:29:03: (mod_fastcgi.c.1921) unexpected end-of-file
(perhaps the fastcgi process died): pid: 25117 fcgi-fd: 31 remote-fd:
29
2005-04-06
2007 May 08
1
Can't get Ruby on Rails with Apache and FastCGI
Hi!
Environment
=========
Solaris 10
Apache 2.2.0 with fcgid_module
Ruby 1.8.4
Rails 1.2.3
I am trying to get FastCGI working. Initially I used "dispatch.cgi"
successfully but when I switched to "dispatch.fcgi" I get
====================================================
Application error
Rails application failed to start properly
2005 Dec 20
1
trouble with fastcgi and "undefined method `is_cgi?''"
I''m trying to get started with fastcgi on apache 2.0.54 on Fedora Core 4.
I''ve created a really simple Rails app that doesn''t do any database actions.
It works fine when I call it as CGI, but when I try to switch to fastCGI, I
have problems.
I get the following error in log/fastcgi.crash.log:
[20/Dec/2005:10:16:53 :: 26912] Dispatcher failed to catch: undefined
2006 Jun 13
0
Yet Another Apache/FastCgi Setup Issue
I have set up FastCGI on the server and added 2 servers/processes and
increased the timeout from 30seconds to 60seconds. I _think_ I did
that properly because I now have to wait the full 60 seconds like
clockwork until I get the "Rails application failed to start" when I
browse to my URL. Before it was 30 seconds like clockwork.
When I run "ruby dispatch.fcgi" I get the
2006 Apr 04
1
sessions failing on debian apache2 fast_cgi
Hi All,
So I just pushed our rails app to our production server, but I''ve
encountered a number of problems.
Firstly the fast_cgi processes seem to be eating up a hell of a lot of
memory, at times max out our 1gig of RAM. I''ve switched back to cgi for
the moment, but independently of that sessions seem to be failing
intermitently.
The session will hold itself stable for a
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 Mar 13
2
Excessive Errno::EBADF with dispatch.fcgi
I''m running Ruby on Rails via FastCGI in an Apache environment, and I
get the following error, a lot.
(from log/fastcgi.crash.log)
[13/Mar/2006:15:52:51 :: 94704] Dispatcher failed to catch: Bad file
descriptor (Errno::EBADF)
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `close''
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `each''
2006 Jun 02
4
RoR on Apache not working
Hi
I''m a RoR newbie, in fact i''ve been using it for less than 24 hours, but
I''m not an internet/pc/apache/developement newbie so I expected this to
go much easier :)
Ok, here it goes. I''ve been trying to get RoR working with apache both
on a RH server and after i didn;t managed there I tried on my machine,
an windows XP/Apache2 machine.
I don''t like
2005 Jun 30
4
A Memoir on FastCGI and Apache
With the release of our filmfury.com project, I''ve been trying to
rise to the stature of a true system administrator in the last couple
of days (haha). I''m trying to understand how all of the pieces to
this apache/fastcgi deployment fit together.
Here''s what I''ve learned so far:
* You need a separate FastCGI server for each Rails application on
your
2006 Feb 12
0
FastCGI config problem on RHEL 4.0 w/ Apache 2.0.52
Hello gurus,
I''ve had a Rails app going strong for a month now running as CGI, and
users are finally complaining of the speed. So I''m attempting a FastCGI
setup. I''ve followed the RHEL instructions for fastcgi from the wiki
and googled for a day and am getting nowhere. Anybody have a hint? :)
error_log:
[Sun Feb 12 08:51:01 2006] [crit] (13)Permission denied:
2006 Jun 01
4
Ruby on Rails strange issue
Hello,
I just installed Ruby on Rails and created the new repository.
I wanted to use Ruby on Rails with FCGI
The repository was created in /path/to/public_html
ls /path/to/public_html/ :
app cgi-bin config doc log public README script
tmp
asd components db lib logo.jpg Rakefile README_LOGIN test
vendor
I installed fcgi support for ruby on rails and
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI.
I have this config under httpd.conf
------------------------
LoadModule fastcgi_module modules/mod_fastcgi.dll
...
Alias /fatturails/ "C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/"
<Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public">
AddHandler fastcgi-script .fcgi