Displaying 20 results from an estimated 3000 matches similar to: "fcgi processes dieing / hanging"
2006 Feb 20
0
Windows Deployment questions
Hello out there in Rails land. This is a multipart question so please
bear with me...
First, the background info:
I''ve been making Apache work on our Windows servers here and I''m having
good luck. However, I notice that Apache+FCGI doesn''t scale quite as
well as I''d hoped.
I have one static process defined for my FastCGI server, and I see about
5 requests
2006 May 26
0
setup problem, every request trys to download dispatch.fcgi
Has anyone ever seen it where every request tries to download a fcgi
file but marked as a .rb file?
Im running LightTPD 1.4, Ruby 1.8.4, FastCGI.
The lighty config is...
var.basedir = "/var/www/sites/"
$SERVER["socket"] == "101.0.0.171:80" {
var.servername = "stage.butlerandtanner.com"
server.document-root = basedir + servername + "/public/"
2006 Aug 07
1
apache-fcgi - multiple applications on same server
hello,
I have a server running apache-1.3 with mod_fastcgi that''s happily
running a rails application. Life is good ;)
I would like to setup another application (vhost) on the same server..
How to do ?
My httpd.conf says:
<snip>
# fastcgi
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fgci_ipc
AddHandler fastcgi-script .fcgi
FastCgiServer
2005 Aug 10
6
Hieraki + FCGI + Problem
Hi,
I''ve downloaded the latest stabil Hieraki. I have ruby 1.8.2 (2004-12-25)
[i686-linux], the latest rails (and gems, too), Apache/1.3.33 (Unix) and
mod_fastcgi/mod_fastcgi-SNAP-0404142202. I''m successfully running Typo
(from SVN) as a FastCGI application.
Hieraki works well with "script/server", and works well as a .cgi (just
very slow). My problem is, that
2006 Jan 24
17
Updated lighttpd to 1.4.9 - error running dispatch.fcgi
Hi all,
I just updated lighttpd from 1.4.8 to 1.4.9 and it now refuses to
start with the following error:
2006-01-24 23:12:24: (mod_fastcgi.c.989) execve failed for: public/
dispatch.fcgi No such file or directory
2006-01-24 23:12:24: (mod_fastcgi.c.1015) the fastcgi-backend public/
dispatch.fcgi failed to start:
2006-01-24 23:12:24: (mod_fastcgi.c.1019) child exited with status 2
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi,
I''ve generated a new Rails app and dummy controller "foo" with method
"hello". I am trying to run it under Apache/2.0.53 with fastcgi, and
getting the index.html page when I hit http://localhost/foo/hello, or
for any other request (http://localhost/kdjfslkfjs). Also, there is
nothing in the rails logs, and no errors in the apache logs.
Relevant bit of
2005 Dec 19
1
FastCGI: comm with (dynamic) server ...../dispatch.fcgi aborted: (first read) idle timeout (30 sec)
Hello,
I just did a "gem update" on my server updating to the latest version.
After this none of my scripts work.
In apache error log I get:
FastCGI: comm with (dynamic) server
"/home/user/public_html/dispatch.fcgi" aborted: (first read) idle
timeout (30 sec)
My only guess is that the problem is related to the fastCGI binding but
I have no idea what to look for. I
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
2005 Dec 19
1
FastCGI: comm with (dynamic) server dispatch.fcgi aborted
I just did a "gem update" on my server updating to the latest version.
After this none of my scripts work.
In apache error log I get:
FastCGI: comm with (dynamic) server
"/home/user/public_html/dispatch.fcgi" aborted: (first read) idle
timeout (30 sec)
My only guess is that the problem is related to the fastCGI binding but
I have no idea what to look for. I
2006 Mar 15
5
Apache (both 1.3 & 2) not calling dispatch.fcgi on Debian
We''re trying to run Ruby on Rails on Debian with Apache and FastCGI, but
can''t get it to work. As far as we can tell, it seems to go wrong in the
final stages; Apache appears not to be doing anything with
dispatch.fcgi, even though FastCGI looks to be set up correctly. We''ve
followed several "how to"s, but we don''t get any other results.
What
2006 Feb 02
4
Random (connections.c.1330) error-handler not found: /dispatch.fcgi
Hello,
Again another random occurance of a problem.
lighttpd.error.log contains lines like:
2006-02-02 05:02:00: (connections.c.1330) error-handler not found:
/dispatch.fcgi
2006-02-02 05:02:00: (connections.c.1330) error-handler not found:
/dispatch.fcgi
2006-02-02 05:02:00: (connections.c.1330) error-handler not found:
/dispatch.fcgi
2006-02-02 05:35:08: (connections.c.1330) error-handler not
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts,
I have rail site that is running lighttpd and fcgi. I want the default
domain to serve the rails application, and I also want to have a
virtualhost (bugs.mysite) to resolve to a bugzilla instance.
Bugzilla is basically Perl application called through CGI.
I tried to find pointers on how to set fcgi to run both rails dispatcher
and other cgi scripts in a different virtualhost, and
2006 May 30
2
Strange error
I have been getting the following error everyonce in a while. Can
someone please suggest what could be going wrong with my system? It
happens about once every 3 weeks. I resolve this by rebooting my server,
although I never tried to figure out what is the real problem.
Sharkie
2006-05-30 16:53:49: (mod_fastcgi.c.1561) connect failed: 386 Connection
refused 111 0 /tmp/site.fcgi.socket-2
2005 Aug 31
0
FCGI Static server definition
Per the Ruby on Rails book you need something like this for a static
server definition:
<IfModule mod_fastcgi.c>
FastCGIIpcDir /tmp/fcgi_ipc
FastCGIServer /path/to/app/public/dispatch.fcgi -iniital-env
RAILS_ENV=production -processes 15 -idle-timeout 60
</IfModule>
So my question is if I have more than 1 app running via apache are these
settings applied to each app or do I put
2006 Jun 14
0
installation problem with lighttpd
Ever since I moved my dev environment from my Powerbook to my new
MacBook Pro, I cannot run the lighttpd webserver - it starts and
immediately crashes out with an error (see below) saying a file does not
exist. I''ve checked the file does exist.
WEBrick works without any problem.
Has anyone else experienced this problem?
John:~/web john$ ruby script/server
=> Booting lighttpd
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work,
followed the instructions at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
When I go into my rails app and type "./script/server" I get the
following errors:
baggio:~/work/teore pergesu$ ./script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2006 Feb 27
3
Rails via Lighttpd
I am trying to get Rails running through Lighttpd, on a Suse 10 box
running Rails 1.0.0 and Lighttpd 1.4.10
I followed the instructions in the wiki
(http://wiki.rubyonrails.com/rails/pages/Lighttpd) but keep getting the
same error:
linux:/etc/lighttpd # lighttpd -f lighttpd.conf
2006-02-27 12:32:17: (mod_fastcgi.c.997) execve failed for:
2006 Mar 25
4
Can''t quite get Rails working on Mac, help please :).
I''ve followed the install the install guide on
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
and it seemed to work. And I''ve been following the Instant Gratifiction
guide in Chapter four in Agile Web Development with Rails book. I''m in
terminal and I type -
cd work (everything works fine) then
rails demo (everything seems to work) then
cd
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd:
BEGIN ERROR:
$ 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 server (see config/lighttpd.conf for options)
2006-04-24 03:29:39: (mod_fastcgi.c.1022)
2005 Mar 10
5
dispatch.fcgi dieing randomly
Recently my application has refused to start on my production
environment. The setup is debian(unstable)/apache2/fastcgi/mysql
Rails 0.10 (upgrading to 0.10.1 as we speak)
When I first start up apache the machine grinds to a crawl starting up
the dispatch.cfi processes. It''s a VPS with 256M of ram, but still
(in addition to user time) it''s spending 30% of time in system