nginx-0.8.39

Konstantin Svist fry.kun на gmail.com
Ср Июн 2 22:56:42 MSD 2010


On 06/02/2010 11:23 AM, Alex Vorona wrote:
> Есть и ещё проблема с оставшимися от hard reboot сокетами
> # ps uax|grep nginx
> root  47563  0.0  1.4  6100  5048  ??  Is    3:47PM   0:00.00 nginx:
> master process /usr/local/sbin/nginx (nginx.0.8.39)
> www   47564  0.0  1.4  6100  5124  ??  I     3:47PM   0:00.26 nginx:
> worker process (nginx.0.8.39)
> kill -9 47563 47564
> # cd
> # ps uax|grep nginx
> # /usr/local/etc/rc.d/nginx start
> Starting nginx.
> [emerg]: bind() to unix:/tmp/nginx.sock failed (48: Address already in
> use)
> [emerg]: bind() to unix:/tmp/nginx.sock failed (48: Address already in
> use)
> [emerg]: bind() to unix:/tmp/nginx.sock failed (48: Address already in
> use)
> [emerg]: bind() to unix:/tmp/nginx.sock failed (48: Address already in
> use)
> [emerg]: bind() to unix:/tmp/nginx.sock failed (48: Address already in
> use)
> [emerg]: still could not bind()
> #

Это уже придётся в init скрипте подчищать, kill -9 даже root не может
поймать :)





Подробная информация о списке рассылки nginx-ru