for high-volume mailservers. If "syslogd" is showing up high in "top",
and most of the syslog traffic is going to your mail logfile, you can
tell syslogd to use unsync'd writes to that file by adding a "-" to the
start of the path:
mail.* -/var/log/maillog
By default, syslogd fsync()'s logfiles after each write.
Another useful tip -- for logfiles/spool areas that don't need to
be resilient in case of a reboot, stick 'em in a tmpfs. tmpfs
is a VM-based filesystem, where all files and dirs reside in
the page cache and in swap, and it rocks for performance...
(guess who's working on the SpamAssassin spamtrap server ;)
--j.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!