Displaying 6 results from an estimated 6 matches for "stop_mongrel_cluster".
2007 Oct 28
2
cluster::restart doesn''t wait for stop before starting
Hi,
I''m calling restart from my Capistrano task. I have this in my deploy.rb file:
# until mongrel_cluster updates to cap2...
namespace :deploy do
task :start, :roles => :app do start_mongrel_cluster end
task :stop, :roles => :app do stop_mongrel_cluster end
task :restart, :roles => :app do restart_mongrel_cluster end
end
(What''s the scoop on mongrel_cluster with Capistrano 2 by the way?)
The command that''s executed with a restart is:
sudo mongrel_rails cluster::restart -C /etc/mongrel_cluster/staging.yml
** [out :: 208...
2007 Jul 09
8
Capistrano mongrel recipes and /usr/local/bin
...by from source code, mongrel scripts
are found in /usr/local/bin. But the recipes can''t find
mongrel_rails : "bash: mongrel_rails: command not found". The path of
the user account used to deploy is OK. For sure, I can redefine
start_mongrel_cluster/restart_mongrel_cluster/stop_mongrel_cluster
tasks in the recipes to add path before calling mongrel_rails.
Any idea of a better solution ?
Thanks,
Nicolas St-Laurent
Analyst-Programmer
Wanted Technologies
350, Blvd. Charest East, 4th Floor
Quebec City, Quebec
Canada G1K 3H5
Tel: (418)523-6663
Fax: (418)523-4205
http://www.wantedtech.co...
2006 May 01
3
mongrel_cluster-0.1.1: the bird dog (capistrano support!)
...s that can use sudo, ought to use sudo.
Capistrano defaults to true.
Tasks (performed on :app role)
configure_mongrel_cluster: Configure the cluster with variables. Uses
sudo if use_sudo is true.
start_mongrel_cluster: Start Mongrel processes on the app server.
Uses sudo if use_sudo is true.
stop_mongrel_cluster: Stop the Mongrel processes on the app server.
Uses sudo if use_sudo is true.
restart_mongrel_cluster: Restart the Mongrel processes on the app
server. Uses sudo if use_sudo is true.
restart: Calls restart_mongrel_cluster to allow Mongrel to be used
with the standard Capistrano deploy task.
s...
2007 Aug 10
10
what is the correct way to stop/start a mongrel instance using monit with mongrel cluster
Hi --
I have been reading documentation and googling around to find the
correct way to do this but I have found many ways that seem to not
work, or the documentation makes no reference to.
I am using mongrel cluster with 10 mongrels for each server. Recently
I installed monit but which lead me to find the correct way to
start/stop mongrel instances one pid at a time. I am assuming one pid
at a
2006 Aug 29
15
Setup with Apache 2.2 proxy balancer : timeout during uploads
Hi all,
I encounter timeout errors during file uploads in my Rails application.
I think the problem may be in the Mongrel configuration. Here is my setup:
* Load balancer (Cisco CSM, my provider''s Catalyst 6509)
* Apache 2.2.3 with mod_proxy_balancer
* Mongrel 0.3.13.3
* Rails 1.1.6
* Ruby 1.8.4
* MySQL 5.0.22
* file_column
I host an application in which users may upload medium files
2006 Aug 10
16
Error on Solaris
Hi everyone, I''m having a problem starting rails on solaris. I have
made the changes suggested in the joyeur article but it doesn''t make
any difference. The error is below. Does anyone have any idea?
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:666:in
`register'': undefined method `resolve'' for nil:Mongrel::URIClassifier
(NoMethodError)