|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Jason Baker (jbaker
filonet.ca)Date: Wed Sep 26 2001 - 16:56:37 CDT
On September 26, 2001 02:44 pm, Bill Bradford wrote:
> On Wed, Sep 26, 2001 at 05:14:15PM -0400, Wietse Venema wrote:
> > 0 - In the /etc/syslog.conf file, put a - in front of the maillog
> > filename, so that the stupid syslogd does not hammer the disk
> > after writing each logfile record.
>
> What exactly does this do, and is it OS-specific?
On virtually all unices, syslog wants to sync the disk each time it writes a
single record. If you're getting a huge amount of them, your system can
spend an obscene amount of time syncing to disk over and over.
The - tells it to be less rigorous about syncing, instead it'll cache them
for a while, then dump them all to disk in one shot. I recall massive
performance improvements on an old AViiON 3000 (or similar) 33 MHz box.
Just keep in mind that this means you could/will lose log data on those files
if the power suddenly drops out.
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]