Welcome! Log In Create A New Profile

Advanced

Reload of NGinX doesnt kill some of the older worker processes

May 15, 2017 06:54AM
I am facing an issue where once I issued a reload to the NGinX binary, few of the older worker processes are not dying. They still remain orphaned.

This is the configuration before issuing a reload :

[poduser@ucfc2z3a-1582-lb8-nginx1 logs]$ ps -ef | grep nginx
poduser 12540 22030 0 06:39 ? 00:00:00 nginx: worker process
poduser 12541 22030 0 06:39 ? 00:00:00 nginx: worker process
poduser 12762 11601 0 06:41 pts/0 00:00:00 grep nginx
poduser 22030 1 1 May12 ? 00:49:01 nginx: master process /u01/app/Oracle_Nginx/sbin/nginx
poduser 23528 22030 0 May12 ? 00:00:22 nginx: worker process
poduser 24950 22030 0 May12 ? 00:00:22 nginx: worker process

Configuration after issuing a relaod

[poduser@ucfc2z3a-1582-lb8-nginx1 logs]$ ps -ef | grep nginx
poduser 13280 22030 2 06:45 ? 00:00:00 nginx: worker process
poduser 13281 22030 2 06:45 ? 00:00:00 nginx: worker process
poduser 13323 11601 0 06:45 pts/0 00:00:00 grep nginx
poduser 22030 1 1 May12 ? 00:49:02 nginx: master process /u01/app/Oracle_Nginx/sbin/nginx
poduser 23528 22030 0 May12 ? 00:00:22 nginx: worker process
poduser 24950 22030 0 May12 ? 00:00:22 nginx: worker process

If you notice, there are two worker processes orphaned with PID's 23528 and 24950. Could someone please explain the cause for this, as to why few of the worker processes are orphaned?
Subject Author Posted

Reload of NGinX doesnt kill some of the older worker processes

shivramg94 May 15, 2017 06:54AM

Re: Reload of NGinX doesnt kill some of the older worker processes

Maxim Dounin May 15, 2017 10:04AM

Re: Reload of NGinX doesnt kill some of the older worker processes

shivramg94 May 15, 2017 11:37AM

Re: Reload of NGinX doesnt kill some of the older worker processes

shivramg94 May 15, 2017 11:41AM

Re: Reload of NGinX doesnt kill some of the older worker processes

Maxim Dounin May 15, 2017 12:26PM

Re: Reload of NGinX doesnt kill some of the older worker processes

shivramg94 May 15, 2017 12:41PM

Re: Reload of NGinX doesnt kill some of the older worker processes

Maxim Dounin May 15, 2017 01:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 52
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready