[Mongrel] Deployment with Capistrano

Dan Sketcher dansketcher at gmail.com
Wed Apr 19 05:59:42 EDT 2006


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



More information about the Mongrel-users mailing list