search for: spawner

Displaying 20 results from an estimated 57 matches for "spawner".

Did you mean: spawned
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...
2008 Jul 03
1
lines() warning message
I have data that looks like Year,Recruit,Spawner,Mtempcv 1958,4532,775,0.24125 1959,22996,2310,0.16319 1960,628,2990,0.46056 1961,879,1400,0.33028 1962,14747,1130,0.22618 1963,13205,790,0.20596 1964,31793,1195,0.19229 1965,10621,981,0.20363 1966,22271,870,0.3452 1967,8736,1104,0.27511 1968,8761,883,0.10884 1969,18885,1421,0.17799 1970,10098,1198,...
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 tro...
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/...
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 succe...
2006 Mar 02
2
A nasty evening with dispatch.fcgi
...dd 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 easily. Connectivity to the FCGI boxes to the DB was demonstrated early and the champagne was nearly flowing. But we *could not* get the spinner/spawner to launch dispatch.fcgi processes. running dispatch.fcgi let us sort out a number of problems, all trivial. Each time we were sure that the processes would appear, and we''d be able to sleep...but it just didn''t happen. Google served hundreds of requests. IRQ was visited to no av...
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 production everything works as expected. Any hin...
2008 Jan 16
0
script/process/spawner freezing
...s 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 9070 -i 3 ** [out :: lx07] => Starting FCGI dispatchers Now, the FCGI dispatchers do restart, and everything is running fine, just that Capistrano hangs waiting for it to complete and I have to abort the script with a control-c. If I login to the server using the deploy user id, and...
2005 Nov 04
0
lighttpd + spawner, only one process doing all the work (solution)
It took me a little while to figure this one out. Perhaps it''s obvious to other folks, but in case it''s not: If you''re using lighttpd with an external spawner for non-PHP applications like rails, you need to list explicitly each port that the spawned processes are using, ex: fastcgi.server = ( ".fcgi" => ( "localhost" => ( "host" => "127.0.0.1...
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 delicate. Lighty frequently cann...
2006 Mar 23
4
ANN: capistrano-runit-tasks 0.2.0
I''d like to announce the second release of capistrano-runit-tasks, available from http://rubyforge.org/projects/cappy-runit/ It now supports: * File based templates * sv as the service control command in addition to runsvctrl * A much simpler interface for creating additional services. More work still needs to be done though! == TODO * Allow add_service to create more than one
2006 May 18
3
capistrano and Dreamhost issue
...ication - 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 ''rake deploy'' it appears that the reaper and spawner script are not correctly "chmoded", neither is executable. So I get an error message "permission denied". 2) Anyway I connect thru ssh and do the work manually : chmod +x reaper chmod +x spawner ./reaper --dispatcher=dispatch.fcgi and the response is : Couldn''t fin...
2014 Nov 25
2
CentOS6 gvfs disk thrashing
...processes operating in this directory are a few instances of nautilus and /usr/libexec/gvfsd-metadata. There's a whole bunch of gvfs* processes running user 21209 1 0 Nov11 ? 00:00:00 /usr/libexec/gvfsd user 21549 1 0 Nov11 ? 00:03:17 /usr/libexec/gvfsd-trash --spawner :1.2 /org/gtk/gvfs/exec_spaw/0 user 21788 1 0 Nov11 ? 00:00:06 /usr/libexec/gvfs-gdu-volume-monitor user 21829 1 0 Nov11 ? 00:00:00 /usr/libexec/gvfs-gphoto2-volume-monitor user 21849 1 0 Nov11 ? 00:00:25 /usr/libexec/gvfs-afc-volume-monitor user...
2005 Dec 17
6
Lighttpd Restart Script
After quite a bit of searching and coding, I customized an init.d/bash script which allows me to manage multiple instances of Lighttpd server running Rails. It targets the specific PID address instead of the default binary location when starting and stopping /usr/local/bin/lighttpd process. This provides the ability in my case to have multiple lighttpd.conf files running many different instances
2006 Apr 17
9
Reload an application without restarting the Server?
Hi, I would like to set up a "shared hosting"-like rails environment on a linux (+Apache1.3 +FastCGI +MySQL) machine. As we all know, rails provides support for different environments. Now I would like to enable my "users" to switch individual applications between development and production mode. In theory, all they have to do is to add
2014 Dec 01
0
CentOS6 gvfs disk thrashing
...directory are > a few instances of nautilus and /usr/libexec/gvfsd-metadata. There's a > whole bunch of gvfs* processes running > > user 21209 1 0 Nov11 ? 00:00:00 /usr/libexec/gvfsd > user 21549 1 0 Nov11 ? 00:03:17 > /usr/libexec/gvfsd-trash --spawner :1.2 /org/gtk/gvfs/exec_spaw/0 > user 21788 1 0 Nov11 ? 00:00:06 > /usr/libexec/gvfs-gdu-volume-monitor > user 21829 1 0 Nov11 ? 00:00:00 > /usr/libexec/gvfs-gphoto2-volume-monitor > user 21849 1 0 Nov11 ? 00:00:25 > /usr/libexec/gvf...
2010 Nov 16
2
Passenger cannot load Rack
I am getting the following error in my Apache error log when trying to run my puppetmaster as a rack app with Passenger: *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- rack) (process 32373): Apache will start up without error, but as soon as a puppet client connects, the error is thrown. Passenger is dying at a "require ''rack''" statement in the rack application spawner code. In older versions of Passenger, I...
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 pick up copies via the irs_process_scripts plugin." What do the "not fairly rare users" use to deploy without irs_process_scripts (deprecated) plugin ? thank yo...
2010 Sep 21
3
Rails 3 deployment on Passenger
...use where the app needs to be vendored. It''s on a Debian Squeeze box with ruby l.8.7, rubygems 1.3.6, librack-ruby1.9.1, passenger - 2.2.11debi and bundler 1.0.0. I have bundled my app via "bundle install vendor". The passenger error I''m getting is "The application spawner server exited unexpectedly: Unexpected end-of-file detected." and in the apache log it says "Could not find rake-0.8.7 in any of the sources Try running `bundle install`." Updating rack/ passenger/rubygems is not an option. Any thoughts? -- You received this message because you are...
2006 Apr 12
5
Production deployment speed "wakeup" issue
The deployment scenario... Apache2 on shared host, proxying to lighttpd, which has 3 external fcgis running on localhost. The fcgis are managed by spinner/spawner. We''re noticing a definite speed issue on "first requests" to this site. For example: * Hit the site a few times, paying no attention to load time * Wait x period of time (haven''t quite narrowed this down yet, but probably 5-10 mins) * Hit site again once - this requ...