sparek-3

Well-Known Member
Aug 10, 2002
2,138
260
388
cPanel Access Level
Root Administrator
We have been experiencing problems with the /var partition on our server filling up. The spool directory seems to be the directory that keeps getting full. The directories:

/var/spool/exim/input
/var/spool/exim/msglog

What can we do to prevent these directories from filling up? Has anyone else noticed this problem lately?

cPanel.net Support Ticket Number:
 

mickeymouse

Well-Known Member
Sep 16, 2003
388
0
166
Dear sparek-3,

You can safely delete the -D files, but to be on the safe side, only delete the one, which are older than 10 minutes or so (maybe 1h).A little perl-script could do the job.
You could disable the use of the msglog dirs, this will save on disk io. You can do this in your exim config

no_message_logs

Alter the rights of the dir so exim can write

chown exim.exim /var/spool/exim.in -R

For more information regarding log maintenance,refer the URL:

http://www.venturesonline.com/docs/whm/logs.htm#_Toc520960423

Regards,