Re: logfile daemon stuff in squid-2.HEAD

2007-09-18 Thread Henrik Nordstrom
On tis, 2007-09-18 at 23:34 +0800, Adrian Chadd wrote: > It does need an autoconf/automake pass before the tree will build. Done. Hmm.. should probably automate that to trigger a bootstrap the sources on relevant commits and not only nightly.. Regards Henrik signature.asc Description: This i

logfile daemon stuff in squid-2.HEAD

2007-09-18 Thread Adrian Chadd
G'day, I've committed my logfile daemon stuff to squid-2.HEAD and its passed some cursory load testing. It does need an autoconf/automake pass before the tree will build. (Yes, I'm still not comfortable comitting big Makefile.in changes.) I've got similar code waiting fo

Re: logfile daemon stuff

2006-08-08 Thread Adrian Chadd
On Wed, Aug 09, 2006, Henrik Nordstrom wrote: > One note: I assume you do know that ipcCreate() currently redirects > stderr to cache.log at the time the ipc channel is created. This is why > all helpers is restarted on "squid -k rotate". Ah! I vaguely remember that. > I think it would be a good

Re: logfile daemon stuff

2006-08-08 Thread Henrik Nordstrom
tis 2006-08-08 klockan 17:29 +0800 skrev Adrian Chadd: > * Reimplement logfile-daemon.c to not use stdio. I've noticed via strace > that the Linux stdio implements its reading using one-byte read()s. That depends on your stdio buffer setting. To get bigger reads you need block/full buffering on

logfile daemon stuff

2006-08-08 Thread Adrian Chadd
I've implemented the following in the 26_logfile_daemon branch in sourceforge: * The logging buffer in squid doesn't grow to infinity - its set to a hardcoded limit and will log warnings if this limit is reached. * Rotate now works * Restart/reconfigure now works - the logfile helper is killed