<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hello,</div><div>Am seeing an issue while sending HUP signal to nginx (for config reload) on Ubuntu14. It just kills the master process & doesn't start the new worker processes. The same works just fine on CentOS 6.6 64-bit</div><div><br data-mce-bogus="1"></div><div>$ ps -eaf | grep nginx<br>zimbra 10860 1 0 16:05 ? 00:00:00 nginx: master process /opt/zimbra/nginx/sbin/nginx -c /opt/zimbra/conf/nginx.conf<br>zimbra 10861 10860 0 16:05 ? 00:00:00 nginx: worker process<br>zimbra 10862 10860 0 16:05 ? 00:00:00 nginx: worker process<br>zimbra 10863 10860 0 16:05 ? 00:00:00 nginx: worker process<br>zimbra 10864 10860 0 16:05 ? 00:00:00 nginx: worker process<br>zimbra 18638 25945 0 16:22 pts/0 00:00:00 grep nginx<br>zimbra 19994 1 0 Jun02 ? 00:01:51 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-nginx<br>$<br>$ kill -HUP 10860<br>$<br>$ ps -eaf | grep nginx<br>zimbra 10861 1 0 16:05 ? 00:00:00 nginx: worker process <------ same old worker processes & master process is killed<br>zimbra 10862 1 0 16:05 ? 00:00:00 nginx: worker process<br>zimbra 10863 1 0 16:05 ? 00:00:00 nginx: worker process<br>zimbra 10864 1 0 16:05 ? 00:00:00 nginx: worker process<br>zimbra 18666 18641 0 16:22 pts/1 00:00:00 tail -f log/nginx.log<br>zimbra 18986 25945 0 16:23 pts/0 00:00:00 grep nginx<br>zimbra 19994 1 0 Jun02 ? 00:01:51 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-nginx<br>$</div><div><br data-mce-bogus="1"></div><div>From nginx.log, i can see the SIGHUP is received </div><div>2015/06/03 16:23:14 [notice] 10860#0: signal 1 (SIGHUP) received, reconfiguring<br>2015/06/03 16:23:14 [debug] 10860#0: wake up, sigio 0<br>2015/06/03 16:23:14 [notice] 10860#0: reconfiguring<br>2015/06/03 16:23:14 [debug] 10860#0: posix_memalign: 00000000021EAA50:16384 @16<br>2015/06/03 16:23:14 [debug] 10860#0: posix_memalign: 000000000223D570:32768 @16</div><div><br data-mce-bogus="1"></div><div>Any ideas on why this doesn't work on ubuntu only ?<br></div><div><br data-mce-bogus="1"></div><div>Thanks</div><div>-Kunal</div></div></body></html>