Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004

    exim_mainlog hits 2GB then exim bombs out

    I have a couple of WHM cPanel servers whose exim logs grow to 2GB (after some time) and then exim bombs out and will not restart.

    I then have to remove the log file, make a new one, then exim runs OK.

    Any ideas (or WHM settings) that can limit the log file to 1GB and rotate it properly?

    Any particular reason WHM is not protected against this 2GB by default?

    Many thanks in advance

  2. #2
    Join Date
    Nov 2001
    Ashburn, VA
    I'm assuming you're on a 32bit OS and hitting the 2GB file limit. At any rate, you don't want your logs to get this big anyway. Exim log rotation is handled by the system logrotate. You should have a config in /etc/logrotate.d/exim. By default it rotates weekly. If that's not happening, you should verify that logrotate is actually running. If it is running, and you are just hitting 2GB within a week, you could modify the logrotate to work by size, or even daily.
    Affordable web hosting, design, & domain registration services since 2001

Similar Threads

  1. Understanding Exim and Exim_mainlog
    By ktaylor in forum Hosting Security and Technology
    Replies: 5
    Last Post: 10-09-2009, 05:58 PM
  2. exim_mainlog is this normal?
    By saj in forum Hosting Security and Technology
    Replies: 3
    Last Post: 12-01-2007, 09:56 PM
  3. how do I tail -f /var/log/exim_mainlog (but not on exim)
    By netlink in forum Hosting Security and Technology
    Replies: 3
    Last Post: 07-20-2006, 06:15 AM
  4. Replies: 0
    Last Post: 06-16-2006, 01:12 PM
  5. exim_mainlog information
    By mohits4 in forum Dedicated Server
    Replies: 2
    Last Post: 08-19-2005, 09:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts