man, 05.09.2005 kl. 09.06 skrev Nate Campi:
But. My OpenLDAP 2.3.7 slapd log needs a "do not synchronize" possibility, similar to the syslog.conf - possibility, I *think* I've solved this by buffering output with sync:
destination d_slapd { file("/var/log/slapd" sync(10)); };
That's it, more or less. I forget offhand how much Linux syslogd (well GNU syslogd is probably what it really is but everyone just calls it "Linux syslog") will buffer but what you've done is also buffering before writing to disk. I'd not make it so high though - maybe five at the most. Just my opinion, though.
Hope this helps.
Thanks, Nate - it helps a lot :) slapd was bombing out the whole time (every so often) and doesn't any more - after a few days. Left it at ten and tail-fing doesn't leave a lot to be desired. Best, --Tonni -- mail: tonye@billy.demon.nl http://www.billy.demon.nl