Listening UNIX socket is not deleted when stopping Unicorn?
Iñaki Baz Castillo
ibc at aliax.net
Mon Dec 28 05:39:56 EST 2009
El Lunes, 28 de Diciembre de 2009, Eric Wong escribió:
> Otherwise it's subject to race conditions where the socket
> owned by a new/replacement process gets its socket unlinked.
> Currently Unicorn unlinks any existing socket on the FS before
> attempting to bind to it for the following reasons:
> * I consider this less error-prone, especially when people aren't
> storing sockets in a directory that's cleared on reboots (like /tmp).
> * This can also be desirable behavior since it can be used to do
> transparent upgrades/binary replacements in cases where it's less
> convenient to use USR2+QUIT, if you're switching between Ruby
> installations for example.
ok, understood. Thanks.
Iñaki Baz Castillo <ibc at aliax.net>
More information about the mongrel-unicorn