Re: [AMaViS-user] [OT] Linux and syslogd flushing

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 ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-16-2005
lst_hoe01@kwsoft.de
 
Posts: n/a
Default Re: [AMaViS-user] [OT] Linux and syslogd flushing

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/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0