similar to: Finding dead fcgi processes

Displaying 20 results from an estimated 10000 matches similar to: "Finding dead fcgi processes"

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 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 Feb 25
10
Performance issue.. after a while
Hello, I have an project running on a dedicated server: Debian, P4 CPU 3.00GHz, 1GB RAM, ruby 1.8.4 (2005-12-24) [x86_64-linux], rails (1.0.0), activerecord (1.13.2) lighttpd-1.4.10 + fastcgi + mysql 5.0 7 dispatchers. The project is a game, so a typical user would visit 100+ pages. When the server is busiest, it gets 35-40k requests/hour. For some misterious reason after a number of hours the
2006 Mar 15
0
FCGI hanging w/ LightTPD in about 24-48 hours
I started an earlier thread about this ... Someone suggested a different version of LightTPD, since the version I was using had some known issues with FCGI. Well, we''ve upgraded to LightTPD 1.4.11 and the problem is still happening. We have Rails running under fcgi (one process) under LightTPD. This, in turn, is proxied to by Apache. This is on a test IP, so only a few people should
2006 Mar 25
3
Rails and Lighttpd, hangs?
I know this is kind of a generic question. But, when hitting my lighttpd/rails site on some of the first hits, the site hangs. I think it has something with the lighttpd configuration, possibly something I am missing with rails or ruby? Any ideas or how to track this down. fastcgi.server = ( ".fcgi" => ( "0.0.0.0" => ( "socket" =>
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
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
2006 Mar 04
4
managing number of dispatch.fcgi processes ?
I have a problem where when I try and access my site a dispatch.fcgi process is started but then exits right after the page has loaded. Requireing it to start all over agin the next time a request is made. I''ve read about people using two or more FCGI processes to help with the request load but how do people do this? Firstly, how do you make a FCGI process persistant? I''m
2006 May 23
2
Capistrano won''t spawn fcgi processes
I''ve ran into quiet an annoying problem: I have a Capistrano task that is supposed to run a shell script. The script restarts a rails application by first killing all active fcgi processes and then spawning new ones again. The shell script works fine when executed locally on the server but running this in a Capistrano task will simply not work. The task is simple: desc
2007 Dec 14
1
does gem fcgi require fcgi to be installed?
Does anyone know if the gem fcgi needs fcgi to be installed on my machine? I''m trying to install the gem fcgi and I''m getting the following message: -bash-3.00# gem install fcgi Updating metadata for 9 gems from http://gems.rubyforge.org ......... complete Building native extensions. This could take a while... ERROR: Error installing fcgi: ERROR: Failed to build gem
2005 Dec 28
0
Probs installing ruby-fcgi on Linux
Hi. I''ve installed fcgi 2.4.0 on a CentOS 4.2 box without problems using: ./configure --prefix=/usr/local/fcgi --exec-prefix=/usr/local/fcgi make && make install When I try to install ruby-fcgi bindings I get the following: [root@machine ruby-fcgi-0.8.6]# ruby install.rb config -- --with-fcgi-lib=/usr/local/fcgi/lib --with-fcgi-include=/usr/local/fcgi/include install.rb:
2006 Apr 03
11
Runaway FCGI Processes with Debian, Apache
Hi all. There is an issue with Rails, FastCGI and Apache2 on Debian that I''ve been dealing with since I started Rails development in late 2005. I''ve developed various workarounds but have not been able to solve the problem at the root. Every so often, for reasons I''ve never been able to determine, a load of dispatch.fcgi processes get spawned and take over my whole
2004 Nov 18
0
Ruby 1.8.2 breaks dispatch.fcgi
Hi, dispatch.fcgi does: require ''fcgi'' FCGI.each_cgi { |cgi| Dispatcher.dispatch(... Because each_cgi is only in fcgi.rb, this is dependant on finding fcgi.rb first. Rub 1.8.2 shows the following $LOAD_PATH /usr/lib/ruby/1.8/i386-linux-gnu /usr/lib/ruby/site_ruby/1.8/i686-linux-gnu /usr/lib/ruby/site_ruby/1.8 /usr/lib/ruby/site_ruby/1.8/i686-linux /usr/lib/ruby/site_ruby
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 Jan 12
0
Rename dispatch.fcgi and routing stops working
I would like to rename dispatch.fcpi to host1_dispatch.fcgi, host2_dispatch.fcgi, etc in order to allow Switchtower to kill the right fcgi dispatch processes on deployment. But when I rename dispatch.fcgi routing to the controllers stops working, any ideas why this file name is important? ActionController::RoutingError (Recognition failed for ""):
2006 Mar 02
2
A nasty evening with dispatch.fcgi
Hello all. Time for an all night installation campfire (no pun intended) story. I just helped a customer migrate from a single box to a 5 box system. 2 Lighty 2 FCGI 1 DB Everything went quite well. I scripted everything so it would be easy to add more boxes in the future. 3 scripts, one for each box type above. Then came time to get the site working. :-) Lighty came up easily. The DB came up
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 Apr 12
0
Unable to load fcgi.so?
Does anybody have an idea why I would be unable to load fcgi.so? I can "require fcgi" OK but not "require fcgi.so". I should mention that fcgi.so does exist in the /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/ directory. Thanks.
2006 Apr 03
6
getting fcgi to work
can some one help me with my install? i''m having a touch time getting fcgi to play right with apache. i ran "gem install fcgi" and this is the output i get: Attempting local installation of ''fcgi'' Local gem file not found: fcgi*.gem Attempting remote installation of ''fcgi'' Updating Gem source index for: http://gems.rubyforge.org Building
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)