similar to: lighttpd + spawner, only one process doing all the work (solution)

Displaying 20 results from an estimated 10000 matches similar to: "lighttpd + spawner, only one process doing all the work (solution)"

2008 Jan 16
0
script/process/spawner freezing
Hi, I have about eight active RoR sites right now. Of the eight, six are on Rails 1.1.6 and they deploy correctly every time. Two are on Rails 1.2.3, and those two do not deploy correctly. The cap deploy command runs successfully until the restart, and then it hangs: [lx07] executing command ** [out :: lx07] sudo -u wwwrun /usr/local/rails/mysite/current/script/process/spawner -r 30 -p
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 Dec 14
3
reaper spawner
Hi, Anyone know where i can find out more info on Reaper/Spawner. Currently, every time i add a new account on my production machine, i have to restart the whole server. After about 150 accounts, this puts a real strain on the server (it takes 3 full minutes before i can access any site on the server). I think reaper/spawner is my answer, but i am havving trouble figuring out how to use it.
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi, I''m having difficulty getting ruby running via Lighttpd and fastcgi. My lighttpd.conf reads: server.port = 81 server.pid-file = "/tmp/test_lighttpd.pid" server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi", "mod_accesslog", "mod_simple_vhost" ) server.document-root = "/tmp/mis/public"
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 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)
2005 Dec 06
0
SwitchTower with spinner/spawner/reaper = teh suxx0r
hey all, So, we''ve been trying to get a nice stable config running for deployment with SwitchTower, spinner spawner and reaper, and I have to say, they are, as it says in the title, teh suxx0r. <warning>I''m annoyed, and wrote this while annoyed</warning> ;) The problems are rife: 1. Because lighttpd has no control over the fcgis, the restart process is
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:
2005 Nov 14
0
can't display controllers with lighttpd
Hello, I can see http://192.168.1.5/public/index.html i''ve created a controller as it''s mentionned in the rails bible ("agile web dev.." of M.Thomas) If i try http://192.168.1.5/say i have an error "file not found" I''ve really struggled a lot with this and already asked people at #lighhtpd but i really can''t find the answer. This is
2006 Jan 23
1
Spawner -p and --port not working?
Hi everyone, I''m trying to set a port with spawner, and it''s not working: ruby /var/rails/ldapadmin/current/script/process/spinner -c /var/rails/ldapadmin/current/script/process/spawner --port=7000 -i 4 -d spinner: invalid option: --port=7000 Same with -p: ruby /var/rails/ldapadmin/current/script/process/spinner -c /var/rails/ldapadmin/current/script/process/spawner -p 7000
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 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)
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/"
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 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''
2006 Jun 26
2
running lighttpd -> Recognition failed for "/"
i have tried several tutorials on the web for getting my app to run under lighttpd and fastcgi.. my setup is fedora core 5.. i used this to get everything installed: http://www.digitalmediaminute.com/howto/fc4rails/ but i kept getting errors, as the machine i am installing it is a remote machine, i couldn''t get it to work right.. i next tried this:
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 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 Aug 07
0
image uploads not working with lighttpd
Hi I thought it was time to test my app out on a real server. So i have installed lighttpd following the instruction on the rails wiki. everything seems to work fine except the file upload page. It doesn''t throw any errors, it just doesn''t seem to write the image to disk. Nothing is printed to the lighttpd error log when the file upload fails. I thought it might be my code
2006 Dec 11
0
Lighttpd setup with rails
Hi Everyone- I am trying to setup lighttpd on a CentOS 4.2 box after having problems with getting it to work on Apache. I am hoping some fresh eyes can see any errors below. The log files are useless as they just say server stop and server start. When I create an app in rails I can see the rails welcome screen, but everything else comes up 404. Here is my lighttpd config pointing to