LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] handy performance tip

[ILUG] handy performance tip

Justin Mason jm at jmason.org
Fri Sep 10 01:08:30 IST 2004


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.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell