>>>>> "Andreas" == Andreas Siegert <[EMAIL PROTECTED]> writes:

Andreas> Quoting Roger Marquis ([EMAIL PROTECTED]) on Wed, Oct 20, 1999 at 09:49:00AM 
-0700:
 >> Bennett Todd <[EMAIL PROTECTED]> wrote:
 >> >While the focus of this design effort is on security, my biggest concern
 >> >is performance --- and it bears on security.
 >> 
 >> The biggest performance problem is writing logfiles.  Syslogd opens the
 >> file for each message and then closes it after writing.  This causes
 >> serious i/o problems, especially when the files grow quickly or larger
 >> than 1 or 2 MB.

Andreas> I strongly suggest a config option that will allow syslog to write to disc
Andreas> with syncing to not loose any critical data. 

Ummm... is there _really_ a syslogd hat is so stupid as to open/close the
file every time? Wow...

man fsync

I agree that calling fsync() after each write() should be _optional_ (I
currently LD_PRELOAD a null fsync() in order to get syslogd to do something
other that sit in the kernel in IOWAIT).

-- 
Carson Gaspar -- [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
http://www.cs.columbia.edu/~carson/home.html
Queen Trapped in a Butch Body

Reply via email to