There could be a few reasons why that may happen. Are you using the
Thin clustering option? Are you using the chdir option? Perhaps
posting your start and stop commands would help us diagnose the
problem.
I run with the unix socket option, like this:
thin start -d -e production -S /u/apps/blog/shared/pids/thin.1.sock -P
tmp/pids/thin.1.pid -c /u/apps/blog/current
This has no cluster and does use the chdir option.
Hope that helps.
--
Cheers,
Kevin Williams
http://www.bantamtech.com/
http://www.almostserio.us/
http://kevwil.com/
I must admit, the cluster support in thin is pretty slick, but I use
Monit to monitor not only my Thin processes but every other daemon on
my server. Monit can restart any mis-behaving daemon for me, so I
start Thin processes separately using Monit. As much as I like the
cluster support in Thin, may I suggest that you look at either Monit
or God to control your Thin cluster. You may find Thin is more
predictable when you start each process explicitly.
http://www.tildeslash.com/monit
http://god.rubyforge.org
--