similar to: Spawn-fcgi spawning & killing

Displaying 20 results from an estimated 10000 matches similar to: "Spawn-fcgi spawning & killing"

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
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
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 Mar 18
2
ANN: capistrano-runit-tasks 0.1.0
I''d like to announce the first release of capistrano-runit-tasks. This came about as I wanted to use runit rather than spinner/spawner/ reaper on my memory limited VPS but should be useable for any setup. From the README: This library extends Capistrano to allow processes to be supervised using the runit package. It replaces some of the standard tasks with runit versions and
2006 May 18
3
capistrano and Dreamhost issue
Hi, i''m striving to capistranize a foo app on DH. Everything is hosted on DH to simplify a bit : - svn repository (http access) - the application - the DB I used the recipe of Jamis Buck modified by Geoffrey Grosenbach which you can find here : http://nubyonrails.com/pages/shovel_dreamhost I did the least modifications possible. As recommended. 1) When I launch the
2006 Apr 03
1
Reaper Capistrano and FCGI user.group
All, Looking into Capistrano I have yet to come across anything that discusses the necessary permissions needed to do a restart of the FCGI processes. >From what I can see I have two options, run lighttpd as my normal www.wwwuser/group which does not have a shell account and give sudo rights to the user Capistrano logs in to the app server as. Or give lightty a shell account so that
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 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 Jul 13
2
cluster vs. rails spawner
It appears the spawner in Rails 1.2 will do Mongrel clustering. I''m curious what this means for mongrel_cluster. They appear to overlap in features quite a bit. I don''t think the spawner uses a config, so that''s one difference. Will they be different enough? I only ask because mongrel_cluster could, theoretically, be made extinct if the spawner script has all the same
2007 Jun 20
0
gnarly permission issue using fcgi
deploying a Rails app for the first time on a mediatemple (dv) server using capistrano and fcgi everything looks OK but when I go to access the app, I get 500 errors with things like /usr/lib/ruby/1.8/fileutils.rb:1246:in `initialize'': Permission denied - /var/www/vhosts/xxxxxxx.com/app/current/public/../config/../public/stylesheets/dhtml_calendar/demo.css (Errno::EACCES) these
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
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 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 May 25
5
Weird Capistrano problem
I''m having problems launching the spin process via the deploy.rb task. Everything works great when is run the script manually via: % ssh admin@monterey.example.net /Web/Rails/Example/current/script/spin However, when I run ''cap spinner'' or ''rake remote:exec ACTION=spinner'', I get the following errors: % cap spinner loading configuration
2006 Mar 05
5
A nicer and gentler form of spawner
I was working on deploying an app with switchtower, and I really dislike the way spawner is implemented. The way it will relaunch the dispatcher all the time just to let it die if the port is in use is too brute force for my taste. As we''re in a ruby script, why not let ruby find out if the port is in use? Using the TCPServer class we can try and bing to the port. If we succeed, it means
2009 Jan 16
3
script/process/spawner silently failing
Hi all, I set up a standard Capistrano deployment on a new host. To start the Mongrels, "script/spin" calls "script/process/spawner mongrel". It prints a few lines as if everything were normal, however the mongrels are not started and it doesn''t create any files in log or tmp that would give me a clue on what happened. If I start Mongrel via script/server -e
2010 Jan 11
3
Capistrano deploy without irs_process_scripts
Hi, I am reading docs to understand how to deploy with Capistrano my ROR webapps. In guides.rubyonrails.org/2_3_release_notes.html is written: "If you’re one of the (fairly rare) Rails developers who deploys in a fashion that depends on the inspector, reaper, and spawner scripts, you’ll need to know that those scripts are no longer included in core Rails. If you need them, you’ll be able to
2006 Apr 07
4
Big fcgi problem...
Hi all My lighty spawn 10 fcgi process, some times, one or two of them will eat all most 90% CPU, when i kill them, everything is ok. I want a script to auto kill these Big fcgi, could you give me some advise? regards -- Posted via http://www.ruby-forum.com/.
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
2006 May 21
2
Reaper and symbolic links
Hello, I''m trying to restart my application fastcgi processes using reaper. But I get the following error: $sudo -u www ./script/process/reaper Couldn''t find any process matching: /var/www/example/200605200000/public/dispatch.fcgi The problem is that it should not look for 20060520000 but for current which is a symbolic link pointing to 200605200000. I did the