On the fly update

Francis Daly francis at daoine.org
Thu Dec 15 22:05:00 UTC 2011


On Thu, Dec 15, 2011 at 02:19:40PM -0500, B.R. wrote:

Hi there,

> Still playing with nginx around, I hade today in mind to try the "on the
> fly" update described on the CommandLine page of the nginx
> Wiki<http://wiki.nginx.org/CommandLine>
> .
> The problem is, when I start the new master process, it gives me the
> following error several times before aborting:
> nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

The notes on that page seem to work fine for me.

What precisely are you doing when you see the problem?

"start the new master process" should be something very like

  kill -USR2 $(cat logs/nginx.pid)

After testing that things are as you expect, the next steps are like

  kill -WINCH $(cat logs/nginx.pid.oldbin)
  kill -QUIT $(cat logs/nginx.pid.oldbin)

If that fails for you, then probably more information about your versions,
environment, and error log will help identify the problem.

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list