Displaying 20 results from an estimated 1000 matches similar to: "reaper spawner"
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
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 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
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 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
2006 Apr 18
3
Capistrano from windows to linux.
There seems to be a bug when deploying a rails application developed
in windows to a linux box. The rake deploy command attempts to run the
command "/install/path/current/script/process/reaper" but the files do
not have the execute bit set.
What can I do to make sure either the execute bit is run or prepend
the command with sh or ruby?
Thanks.
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
2006 Jul 27
5
Dreamhost working deploy.rb? Can anyone post/send me a copy?
Hi,
Just trying to get Capistrano working to Dreamhost. I''m hitting a
permissions issue on the reaper file at the moment.
Has anyone a copy of the capistrano DEPLOY.RB file they could post or
send me a copy of please?
Thanks
Greg
--
Posted via http://www.ruby-forum.com/.
2006 Jan 03
7
switchtower, windows and dispatch.fcgi
I just setup switchtower and I am very happy with it. Just one thing is
giving me some headache: My development machine is windows and my deployment
host is Unix. Each time I deploy I need to make dispatch.fcgi executable. I
wrote my own task for that. But does there exist any smarter way to get this
automated ? I think Subversion offers some possiblity to declare a file as
executable, but no idea
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 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 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
2006 Mar 07
17
[UNDER CONSTRUCTION] YAC? (Yet Another Capistrano)
My needs are far more modest than Capistrano''s capabilities. Also, when
working in a shared hosting environment, the Capistrano model can be
outside the capabilities allowed by the Web host.
I simply need to push selected directories (on a changed-file basis) out
to a server. I have about 80% of the code written to do this (I''m
considering YAC for the name, with a nod to
2006 May 14
3
Configuring Capistrano For Local To Remote Deployment
How does one configure capistrano for moving local file to your remote
server? In the docs it says that one cannot use file:// so what''s the
configuration step for resolving this issue?
Thanks in advance,
-Conrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060514/93bb7173/attachment-0001.html
2006 Mar 16
4
Capistrano :update_code problem
Hi all,
I want to love capistrano and I''m so close.
My error is occuring while running the update_code task... (apologies
for the shell spew)
*************************************************************************
* executing "rm -rf
/home/henster29/sites/glitter/releases/20060316143447/log
/home/henster29/sites/glitter/releases/20060316143447/public/system
&&\n ln
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
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" =>
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 Sep 06
4
Setting Product Env
When I am using my rails models in my worker class, it appears the
background worker class is always using development no matter what I do.
I set background.yml to production. I even have ENV[''RAILS_ENV''] ||=
''production uncommented in environment.rb. I don''t have the development
db even created on my production box, so not sure where it is getting
development
2006 Jul 23
1
reaper
Hi there,
I have been running the reaper on dreamhost and I''m not sure it is actually
restarting the processes
will the reaper create new processes? because all the PID''s are the same
before and after I run the reaper
Restarting [1344] ruby dispatch.fcgi
Restarting [10172] ruby dispatch.fcgi
Restarting [21592] ruby dispatch.fcgi
Restarting [4931] ruby dispatch.fcgi
Restarting