Rainer Gerhards wrote: > Could you post your rsyslog.conf please. Without seeing it, it sounds > like you sync the disc with every write. Unfortunately, this is the > legacy default. You can turn it off with placing a dash before the > selector line: > > e.g. *.* /var/log/whatever > > syncs after each write, while > > *.* -/var/log/whatever > > uses buffering - which should be fairly safe with decent hardware and a > UPS...
I was using the stock Fedora 8 config which does indeed sync every write to disk. I put a - in front of all the options and my disk usage has gone way down! What sort of buffer does rsyslog use? How often does that buffer fill up and write to disk? I only ask because sometimes we tail logfiles in real time to watch things like DHCP etc as they happen. If the log is 30 seconds behind that may cause a problem. -- Scott Baker - Canby Telcom RHCE - System Administrator - 503.266.8253 _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog

