httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: [PATCH] (take 1) reliable piped logs
Date Wed, 10 Sep 1997 17:39:47 GMT
Well, since we're not forcing people to use this logger ... we can make it
do whatever we want.  If writing out-of-order logs works better (it does),
then so be it.  The log analysers will need to catch up with reality. 
It's possible right now for a log to be written out of order.  It's just
by luck that it doesn't happen frequently.  Consider:  a task can call
time(0), get a result, then finish its time slice, the next second comes
along, another child calls time(0) and manages to write() before losing
its slice, then the first task gets awaked and does a write() ... out of
order log. 


On Wed, 10 Sep 1997, Elizabeth Mattijsen wrote:

> At 18:04 9-09-97 -0700, Dean wrote:
> >    - DNS lookups occuring asynchronously with the hit
> A note of caution.  Whoever is going to write a generic logger with
> asynchronous DNS lookups, may have to worry about writing logfiles in the
> order in which the requests were handled, not in which the IP-numbers were
> resolved.  Many statistics programs do not handle not chronologically
> ordered logfiles correctly (logfiles in which a request "later" in the
> logfile has an "earlier" timestamp).
> Elizabeth Mattijsen
> xxLINK Internet Services

View raw message