Displaying 20 results from an estimated 5000 matches similar to: "script/process/spawner silently failing"
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 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 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 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
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 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 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 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 Mar 30
11
Capistrano/SVN: Deploying different database.yml for live?
Greetings,
Today I''ve been working out how to begin using Capistrano and so far I''m
impressed. Even in my situation, learning Rails and deploying to a
single server, it''s incredibly helpful. I do have one small question
though:
In using Subversion I''ve used the "ignore" feature to ignore my local
database.yml file, because my local database and
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 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
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 Jul 24
22
which webserver to use in production?
Apologies in advance if this ignites a war of comflicting opinions....
I''m a few days away from going live with my first RoR application. It
is completely database centric and each user will have his own queries
so cacheing will not really help.
I have a dedicated linux server being built by my hosting provider and I
need to tell them which webserver to use. The databse is MySQL
2006 Apr 20
8
SCM for a Rails project - Darcs or Subversion?
Hi everyone.
I''m choosing an SCM for my current Rails project.
Up until now, for my other (non-Rails) codings, I used Darcs and liked
it very much. I''d prefer to use Darcs for my Rails development as
well. Looking into the matter, I''m somewhat deterred by the appearant
dominance of Subversion as the SCM tool of choice for Rails hackers.
Is there a technical reason for
2006 May 01
3
mongrel_cluster-0.1.1: the bird dog (capistrano support!)
Hey y''all:
mongrel_cluster provides management tools for running Mongrel behind
a reverse-proxy/load balancer. It is an extraction from Rails
Machine, a deployment service and Ruby library that simplifies Rails
application deployment. This release fixes bugs and adds a Capistrano
task library.
Changes:
-changed pid file format to include port
-only write configuration options
2007 Sep 07
3
Fails to restart mongrel cluster after Capistrano rollback (PIDs not deleted)
Hi,
I am deploying a Rails website using Capistrano to a VPS running the
site through Apache and Mongrel.
''cap deploy'' works fine, and mongrels are restarted. When I execute
''cap deploy:rollback'', however, my script fails to restart the
mongrels giving this error:
!!! PID file tmp/pids/mongrel.5000.pid already exists. Mongrel could
be running already.
2007 Apr 03
2
mongrel cluster restart with capistrano fails but manually works
Hi all,
I am out of my head here...
I have a 3 node cluster with 10 mongrels running on each. When I
deploy, I break all the mongrels every time. I have tried just about
everything. I can restart my mongrels without a hitch manually, it''s
only when I use cap deploy. Maybe I am missing something here... so if
I can get some help it would be appreciated. The errors are the
typical mongrel
2006 Mar 24
3
Tweaking Rails to Reduce RAM Usage
Is there a way to tweak rails 1.0 or 1.1-rc1 to use less RAM?
I''m using a VPS (Linux UML) with < 160 MB RAM and would like to explore
ways to make rails run more efficiently under such constraints.
Are there articles/tips about this or do I need to look into this from
scratch?
--
Posted via http://www.ruby-forum.com/.
2006 Nov 05
2
logrotate, mongrel cluster and monit
While I could figure this out, I''m asking here first to see if anyone
has already dealt with/created this. I''m running a mongrel cluster,
running 4 mongrels on ports 8001-4. I''m using capistrano to deploy.
And I''d like to use monit to check to make sure everything is running
nice.
I''d like to have monit restart only single mongrels if they fail, and
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