Ryan
2007-Mar-15 01:42 UTC
[Mongrel] Issues with mongrel PID files when restarting clusters with Capistrano
Hey all: When using capistrano and/or manually restarting mongrel clusters we encounter errors when restarting that states: ** !!! PID file log/mongrel.8010.pid already exists. Mongrel could be running already. Check your log/mongrel.log for errors. ** !!! Exiting with error. You must stop mongrel and clear the .pid before I''ll attempt a start. ** !!! PID file log/mongrel.8011.pid already exists. Mongrel could be running already. Check your log/mongrel.log for errors. ** !!! Exiting with error. You must stop mongrel and clear the .pid before I''ll attempt a start. ** !!! PID file log/mongrel.8012.pid already exists. Mongrel could be running already. Check your log/mongrel.log for errors. ** !!! Exiting with error. You must stop mongrel and clear the .pid before I''ll attempt a start. I then manually have to kill the processes, and if the pids are there, I clean them out and restart without issue. However this only happens intermittently. Both the server processes and the pid files are owned by the mongrel user. thanks for any insight. Ryan
Rob Sanheim
2007-Mar-15 02:07 UTC
[Mongrel] Issues with mongrel PID files when restarting clusters with Capistrano
You need the latest prerelease of mongrel, which has an option to blow away dead PIDs. Search the archives of this group, it was recently announced. On 3/14/07, Ryan <abstractryan at gmail.com> wrote:> Hey all: > > When using capistrano and/or manually restarting mongrel clusters we > encounter errors when restarting that states: > > ** !!! PID file log/mongrel.8010.pid already exists. Mongrel could be > running already. Check your log/mongrel.log for errors. > ** !!! Exiting with error. You must stop mongrel and clear the .pid > before I''ll attempt a start. > ** !!! PID file log/mongrel.8011.pid already exists. Mongrel could be > running already. Check your log/mongrel.log for errors. > ** !!! Exiting with error. You must stop mongrel and clear the .pid > before I''ll attempt a start. > ** !!! PID file log/mongrel.8012.pid already exists. Mongrel could be > running already. Check your log/mongrel.log for errors. > ** !!! Exiting with error. You must stop mongrel and clear the .pid > before I''ll attempt a start. > > I then manually have to kill the processes, and if the pids are there, I > clean them out and restart without issue. However this only happens > intermittently. Both the server processes and the pid files are owned by > the mongrel user. > > thanks for any insight. > Ryan > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >
Maybe Matching Threads
- Fails to restart mongrel cluster after Capistrano rollback (PIDs not deleted)
- mongrel cluster restart with capistrano fails but manually works
- capistrano+mongrel struggles
- can not delete pid fils when stopping mongrel_cluster
- cluster::restart doesn''t wait for stop before starting