[Mongrel] Deployment with Capistrano

Zed Shaw zedshaw at zedshaw.com
Wed Apr 19 12:27:38 EDT 2006


Hmmm, let me see what's up.  I may have to finally setup Capistrano and get
it all working.  Bah.  Make me do work. :-)

Zed


On 4/19/06 5:59 AM, "Dan Sketcher" <dansketcher at gmail.com> wrote:

> Zed,
> 
> Under Mongrel 0.3.12.4, on Ruby 1.8.4
> 
> 1. If I start the daemon under the ./current directory, a USR2 does
> not pick up the change to the underlying symlink target.
> 
> 2. If I start the daemon outside the ./current symlink (in the root of
> the project) passing the -c option, and then send a USR2, the daemon
> terminates without saying anything to the console or to the log.
> 
> --- snip ---
> # mongrel_rails start -d -p 8001 -c current -e production -P log/mongrel-1.pid
> ** Starting Mongrel in production mode at 0.0.0.0:8001
> ** Daemonizing, any open files are closed.  Look at log/mongrel-1.pid
> and log/mongrel.log for info.
> # ps aux | grep mongrel
> root      7706 68.5 10.4  22868 19868 ?        S    19:55   0:02
> /usr/bin/ruby18 /usr/bin/mongrel_rails start -d -p 8001 -c current -e
> production -P log/mongrel-1.pid
> root      7708  0.0  0.2   1536   496 pts/1    S+   19:55   0:00 grep mongrel
> # kill -USR2 7706
> # ps aux | grep mongrel
> root      7710  0.0  0.2   1540   492 pts/1    R+   19:55   0:00 grep mongrel
> --- /snip ---
> 
> Any ideas?
> 
> Cheers,
> Dan
> 
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users



More information about the Mongrel-users mailing list