Welcome! Log In Create A New Profile

Advanced

Re: Worker process is not getting killed , when master is killed using -9

cubicdaiya
August 08, 2013 02:54AM
Hello.

SIGKILL(9) is not able to trapped for any process.

How about using SIGTERM or QUIT?

Or you might want to see following about controlling nginx with signal.

http://nginx.org/en/docs/control.html

2013/8/8 Vivek Goel <goelvivek2011@gmail.com>

> Hi,
> I am facing one problem with nginx. I am waiting for nginx to stop
> withing 30 seconds. If it is not getting stopped, I am firing command to
> kill master process using
> pkill -9 <master_process_pid>
>
> But, Killing master is not killing the worker process. Due to that reason.
> Port is not getting released.
>
> Is it known problem or desired behavior ?
>
> regards
> Vivek Goel
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



--
Tatsuhiko Kubo

E-Mail : cubicdaiya@gmail.com
HP : http://cccis.jp/index_en.html
Twitter : http://twitter.com/cubicdaiya
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Worker process is not getting killed , when master is killed using -9

goelvivek August 08, 2013 02:30AM

Re: Worker process is not getting killed , when master is killed using -9

cubicdaiya August 08, 2013 02:54AM

Re: Worker process is not getting killed , when master is killed using -9

goelviek2011@gmail.com August 10, 2013 06:31AM

Re: Worker process is not getting killed , when master is killed using -9

Phil Pennock August 08, 2013 02:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 226
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready