This is a discussion on Re: [AMaViS-user] [OT] Linux and syslogd flushing within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Zitat von Paolo Cravero as2594 <pcravero@as2594.net>: > Hi, > I am running amavisd-new on a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Zitat von Paolo Cravero as2594 <pcravero@as2594.net>:
> Hi, > I am running amavisd-new on a RHEL3 Linux box, and I would like to > disable syslogd immediate log flushing (as written in the amavis > tweaking FAQ). > > I am afraid this is not a well documented feature of syslogd, and > I've only found that prepending a dash "-" to the logname should > activate the delayed disk write: > > mail.* -/var/log/maillog > > Added and restarted syslogd, but I see no real difference when > tailing -f the file. > > Anyone has more complete information, that could also be added to the > docs? How often should Linux syslogd then write to disk? I doubt you could see any effect with tail at all. Prepending the dash only means "do not fsync the file after every write" with the intention to let the buffer caches do their job at the risk to loose some events in case of a crash. You should see that the CPU and I/O load is reduced if a lot of logging is going on. Regards Andreas ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |