replace WINCH signal

Igor Sysoev is at rambler-co.ru
Mon Sep 14 11:54:43 MSD 2009


On Mon, Sep 14, 2009 at 01:01:02AM +0200, Marcin Gryszkalis wrote:

> Hi
> I have few development boxes where nginx is running on foreground (screen 
> session). It gets annoying when workers are stopped by SIGWINCH when I just 
> mis-click my terminal window. I'd like to replace WINCH with some other signal 
> but I don't want to cause any strange side effects - what would be safe 
> replacement? I thought about SIGURG but I'm not sure If I don't get some OOB 
> marked data. Maybe SIGXFSZ (in line with SIGXCPU already used)?
> regards

Probably there is no good candidate. You may just disable SIGWINCH handling:

-    { ngx_signal_value(NGX_NOACCEPT_SIGNAL),
-      "SIG" ngx_value(NGX_NOACCEPT_SIGNAL),
-      "",
-      ngx_signal_handler },


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list