Manlio Perillo manlio_perillo at
Thu Jul 10 19:08:39 MSD 2008

Manlio Perillo ha scritto:
> [...]
> You can use the attached patch.
> It adds support for POSIX extended signal handlers, so that it is now 
> possible to know the signal sending process ID (and the real user ID, 
> but I don't show this info in the log).
> Note that the patch is not well tested, and I'm not sure it will compile 
> without problems on all systems supported by Nginx (the system must be 
> XSI compliant, too), so don't use in production.
> I have tested in on Debian Lenny.

Correction: the log message should be:

ngx_log_error(NGX_LOG_NOTICE, ngx_cycle->log, 0,
                   "signal %d (%s) received from %d%s ", signo, 
sig->signame, info->si_pid, action);

Manlio Perillo

More information about the nginx mailing list