Welcome! Log In Create A New Profile

Advanced

SIGHUP and ngx_module_t

Donatas Abraitis
October 28, 2014 02:32AM
Hello,

is it true, that SIGHUP is not handled by ngx_module_t /* exit process */ ?

I mean if I have these defined:

ngx_http_modsecurity_terminate, /* exit process */
ngx_http_modsecurity_terminate, /* exit master */

So, sending SIGHUP to the master it doesn't call the
ngx_http_modsecurity_terminate(). If sending SIGTERM it does. How is it for
real?

If I send SIGHUP to the parent I get only:
Program received signal SIGHUP, Hangup.

If I send SIGTERM to the parent I get what I'm expected to get to SIGHUP as
well:

#0 modsecTerminate () at api.c:237
No locals.

--
Donatas
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

SIGHUP and ngx_module_t

Donatas Abraitis 654 October 28, 2014 02:32AM

Re: SIGHUP and ngx_module_t

Maxim Dounin 361 October 28, 2014 08:52AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready