Sending USR2 to mongrel_rails sometimes results in an “Address already in use” on the restart
- by Ben
We have a rolling-restart mode for our mongrel cluster that sends a USR2 signal to each running process.
This works great, most of the time. But very occasionally the mongrel process will shutdown, and then fail to restart, with the following error:
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/tcphack.rb:12:in…