log file timestamp

Igor Sysoev is at rambler-co.ru
Thu Jun 19 18:22:30 MSD 2008


On Thu, Jun 19, 2008 at 09:53:20AM -0400, J Davis wrote:

> For some reason I get this in the error log when giving nginx the -USR2
> sginal.
> 
> 2008/06/19 08:50:31 [crit] 32282#0: the changing binary signal is ignored:
> you should shutdown or terminate before either old or new binary's process

If you never did online upgrade before, this may mean that you run nginx
under daemontools/etc. Thus online upgrade is not available in this case.

> On Thu, Jun 19, 2008 at 9:31 AM, Igor Sysoev <is at rambler-co.ru> wrote:
> 
> > On Thu, Jun 19, 2008 at 09:08:07AM -0400, J Davis wrote:
> >
> > > 09:07 1 -14400
> > > date: Thu Jun 19 09:07:04 EDT 2008
> > > date -u: Thu Jun 19 13:07:06 UTC 2008
> >
> > Now it shows correct time.
> > Could you make nginx dummy online upgrade ?
> >
> > kill -USR2 `cat nginx.pid`
> > sleep 3
> > kill -QUIT `cat nginx.pid.oldbin`
> >
> > nginx calls tzset() in master process on start only.
> > Probably your timezone setting was incorrect before.
> >
> >
> > --
> > Igor Sysoev
> > http://sysoev.ru/en/
> >
> >

-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list