Re: Squid and changing time

From: Simon Bryan <sbryan@dont-contact.us>
Date: Wed, 31 Mar 1999 08:36:32 +1000

Hmmmm.....ntp?

Thanks for the reply,

Date forwarded: Mon, 29 Mar 1999 14:41:32 -0800 (PST)
Date sent: Mon, 29 Mar 1999 22:21:12 +0200
From: Oskar Pearson <oskar@linux.org.za>
To: Simon Bryan <sbryan@olmc.nsw.edu.au>
Copies to: squid-users@ircache.net
Subject: Re: Squid and changing time
Forwarded by: squid-users@ircache.net

> Hi
>
> > I went in this morning and manually reset the time on my Linux
> > server. It had changed for daylight saving but was still wrong.
> > Shortly afterwards I noticed that Squid had quietly died. The trigger
> > seems to have been the time change - I set it back by about 5
> > minutes. Is this normal?
>
> I have noticed this too. I think that it's very difficult to avoid:
> there are a number of places where Squid does something like
> "runtime = currtime - thisconnections.starttime"
>
> This will give runtime a negative value if the time has changed
> backwards. Avoiding this means all sorts of irritating checks in
> strange places.
>
> In short: run ntp on your server - I have never seen a problem when
> the time changes by very small amounts all the time... it's only those
> large time changes that do this.
>
> (oh, you should run ntp anyway so that last-modified values returned
> by other servers make sense)
>
> Oskar
>

--
Simon Bryan                    sbryan@olmc.nsw.edu.au
Information Technology Manager sbryan@mpx.com.au
OLMC Parramatta
Received on Tue Mar 30 1999 - 16:36:45 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:36 MST