CPANEL/var full due to exim

Published by

Posted on November 15, 2014

One of our servers recently got hammered with 500k plus connections from a rouge server. After blocking the subnet , we found the /var partition was full due to the eximstats DB. It was taking up well over 9GB of storage. You can free up this space by purging out the data

use eximstats

ables_in_eximstats |
| defers |
| failures |
| sends |
| smtp

delete from defers;
delete from failures;
delete from sends;
delete from smtp;

A restart of exim is not needed , but you prefer you can stop the exim process prior to running the delete commands. Check the /var partition to see if this freed up the space

df -h