httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: newbie thread/process model question in hybrid server
Date Fri, 09 Jul 1999 23:06:37 GMT


On Fri, 9 Jul 1999, Tony Finch wrote:

> Dean Gaudet <dgaudet@arctic.org> wrote:
> >On Fri, 9 Jul 1999, Tani Hosokawa wrote:
> >
> >> It would also let you consolidate all your log writing into one burst to
> >> make your disk activity more efficient... Like with IIS, where you can set
> >> it to only log when its got 'x' bytes to write to disk.  I do that right
> >> now using a piped log, but it might be more efficient if it was done in
> >> the server.
> >
> >-DBUFFERED_LOGS
> 
> That reduces the number of syscalls performed by Apache but has the
> disadvantage of requiring a post-processor to sort them. I don't think
> there is a way of getting around that problem.

You fool yourself if you think that without buffering your logs are sorted
by date.  You just get lucky because a context switch doesn't occur at
exactly the wrong time most of the time. 

Dean


Mime
View raw message