similar to: FCGI hanging w/ LightTPD in about 24-48 hours

Displaying 20 results from an estimated 10000 matches similar to: "FCGI hanging w/ LightTPD in about 24-48 hours"

2006 Feb 17
7
FCGI hanging w/ lighttpd and RoR 1.0 (need to kill -9)
Hi, everyone, I''m currently running a Rails 1.0 project using lighttpd-1.4.9 behind Apache 2 on RHEL 3. My fcgi process (I''m only using one right now) always hangs after some time, which is something I haven''t experienced before (e.g., I''ve run this same app. on a TextDrive account and it works fine there). So ... any ideas on what could be causing this?
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 May 11
0
File upload works with webrick, but fails in lighttpd 1.4.11
I''ve been trying to add a basic file upload feature (just based on the Rails Recipes example), but I find that it only works with the webrick server and not my lighttpd 1.4.11 server. I''m running Rails 1.1.2 on OSX. The upload silently fails with both firefox and Safari, even with the useragent hack and with any size of file/image. My lighttpd config is pretty standard as
2006 Jun 04
1
Problem with images on Apache and Lighttpd
Hello. Since two days I am trying to set up two rails-apps on a vserver-host so that I can access from work ;-) I tried all I can imagine and what Google/MSN teached me: FastCGI, SCGI, Lighttpd, Apache, Alias, Vhosts,.... But nothing really works. I am on Debian 3.1 with Ruby 1.8.4, Rails 1.1.2, FastCGI 2.4.0, mod_fastcgi 2.4.2, ruby_fcgi 0.8.6, ruby_gems 0.8.11, Apache 2.0.54, Lighttpd
2006 May 07
0
How does lighttpd/fcgi/rails work?
I''m trying to understand how the lighttpd/fcgi/rails process works. It seems like there are two ways to start lighttpd for: 1. script/server (only starts lighttpd if you have lighttpd in your $PATH, otherwise starts webrick) 2. lighttpd -f /path/to/lighttpd.conf It seems like #1 is for development and #2 is for production, but I don''t actually know what the difference
2006 Mar 27
2
dispatch.fcgi hanging after lighttpd shutdown
Hi. I''m using RoR 1.0 with FastCGI and lighttpd on a Debian 3.1 box. I have configured lighttpd to do adaptive spawning of the FastCGI processes. However, after shutting down lighttpd the FastCGI processes remain running. Did this problem occur to anyone of you? Is there a fix? I''d be really grateful for every answer. Regards, Manuel Holtgrewe
2006 Jan 22
0
problem setting up lighttpd and rails app.
I am trying to set-up lighttpd and rails to work with fastcgi. Here is what I am currently using for the virtual host definition. I have gotten this from various websites. Sorry about the formatting I can''t seem to control it with Thunderbird. var.wholesale = "wholesale" $HTTP["host"] =~ "^wholesale" { server.document-root = "/var/lighttpd/"
2007 May 13
0
dispatch.fcgi + lighttpd upload files
Hi, as i''m aware that there are not too many out there still using dispatch.fcgi && lighttpd (rather moving to mongrels && nginx ) , i''ll try to make this simple: how do i limit a file upload size in lighttpd? am i supposed to do this via the app? i''ve racked the internet for a while now, and my mind is heavy and stumped. i''m running
2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys, I hope someone can help me out. I am trying to configure two applications to run on lighttpd and each app will have its own domain. My machine is running on Fedora. When I run my lighttpd with the following conf file, I get no error but when I check out my app, it dishes out a 404 error- the 404 being served isn''t the 404 inside the railsapp/public folder. Do hope someone
2006 May 21
3
First try with lighttpd
Hi, I have a Rails application sitting on my computer that works just fine with webrick. I would like to try to serve it locally with lighttpd I followed the instructions on the hivelogic site for installing lighttpd http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger Then I looked on page 457 in the Agile Rails book for instructions about configuring the rails app for
2006 Jul 14
4
Rails Lighttpd Issue on Fedora
Hi guys, I''m here again with a problem. I have a rails app called brewed. It''s located /home/user/brewed. My lighttpd.conf is located at /home/user/lighty. When I execute lighty on port 80 with: /usr/local/sbin/lighttpd -f /home/user/lighty/lighttpd.conf rails seems to work fine. If I type www.mysite.com/main/index on my browser, the page comes out well. I have my files
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" =>
2006 Jul 29
3
Lighttpd Configuration Independent of Hostname or IP
Hopefully someone can help with a bit of lighttpd configuration for my production rails app in Mac OS X. I have an application which will be accessed by many different domains and IP addresses. Examples: http://crm.local/ http://localhost/ http://192.168.0.49/ http://65.256.120.90/ (fake, but you get the idea, an external Internet facing IP address) http://crm.mydomain.net/
2006 Feb 27
0
Keep Getting Error 403 - lighttpd
This may go to the lighttpd list but I''m not sure. When I try to access my app I get 403 forbidden. The lighttpd error log gives the following error 2006-02-27 14:16:09: (connections.c.1392) Warning: Either the error-handler returned status 404 or the error-handler itself was not found: /dispatch.fcgi 2006-02-27 14:16:09: (connections.c.1394) returning the original status 403
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 May 26
2
Lighttpd Config
Hi this is a newbie question that should be easy enough for somebody to answer, I''m horrible at this web server configuration stuff. I''m running Rails on Fedora Core 5 with Lighttpd and MySql. I''ve created a rails application ''logapp''. I have an entry in /etc/hosts like... 127.0.0.1 logapp So when I point my browser to ''logapp''
2005 Dec 22
0
Lighttpd/fastcgi config - what does "the error-handler was not found" mean?
I''m getting an error about not finding the error-handler. I can''t find anything of use in the production log. 2005-12-22 12:38:14: (connections.c.1383) Warning: Either the error-handler returned status 404 or the error-handler itself was not found: /dispatch.fcgi 2005-12-22 12:38:14: (connections.c.1385) returning the original status 404 2005-12-22 12:38:14:
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 Apr 28
1
Apache proxy to lighttpd leads to Rails routing error
Hello, I have an issue I am having trouble figuring out. I have a Rails app running through lighttpd which is accessed through an Apache proxy. My apache config: <location /rails/> ProxyPass http://localhost:81/ ProxyPassReverse http://localhost:81/ </location> RewriteEngine On RewriteRule ^/rails/(.*) http://localhost:81/$1 [P] So when apache sees /rails/ it
2006 Feb 07
4
Can''t stop/start lighttpd
Hello everyone, I?ve been working with Ruby on Rails for about 2 months now and have really enjoyed the ease of use of it. I?m only been doing development on it so I?ve been using WeBrick. Recently, I have built a server running Debian Linux, with ruby 1.8.2, rails 1.0.0, lighty 1.4.3, and Mysql 5.0.18. I used WeBrick to generate a lighttpd.conf file for me, I changed the paths in the