Hello,
we have EFA 3.0.2.6 installed. I saw that since a few weeks the free disk space of /var is continuously decreasing. Normally the free disk space has been nearly the same for years.
It seems that /var/spool/MailScanner/quarantine is increasing, though retention is on 60 days and has not been changed. Also the retention seems to work, since there are only directories included from the last 60 days.
Nevertheless the free disk space is getting lower every day.
We didn't do any changes so I have no idea what the reason can be.
Has anybody an idea?
Thanks in advance
BR
dwmp
Disk size /var suddenly increasing
Re: Disk size /var suddenly increasing
You could check the cron maintenance jobs for errors. or consider to lower retension to less than 60 days.
Did you move the dcc cron job from montly to daily? viewtopic.php?t=2610
Check number of dcc files:
Delete old files from /var/dcc/log ( or run the dcc cron job)
Check quarantine space
Check number of files:
Always nice to know: Mysql space
Did you move the dcc cron job from montly to daily? viewtopic.php?t=2610
Check number of dcc files:
Code: Select all
ls -l /var/dcc/log |wc -l
Code: Select all
find /var/dcc/log -mtime +1 -print | xargs rm -f
Code: Select all
find /var/spool/MailScanner/quarantine -maxdepth 1 -type d ! -name '.' -exec du -sh {} \;
Code: Select all
ls -l /var/spool/MailScanner/incoming/SpamAssassin-Temp | wc -l
Code: Select all
find /var/lib/mysql/ -maxdepth 1 -type d ! -name '.' -exec du -sh {} \;
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
Re: Disk size /var suddenly increasing
Thank you for your reply!
I did not change any cron jobs
=> 3486
If I go into that directory and run the command "du -h" I get around 81 MB. That seems to be not the problem.
=> list of sub-directories of the last 60 days
=> total size of 514 MB
The directory /var/spool/MailScanner/quarantine is growing, today in the morging it had around 12,75 GB, now it has 12,80 GB. Though there are only subdirectories of the last 60 days (so retention seems to work), also the directories seem to be not bigger as in the past (But that I can not tell for sure).
I will reduce retention to 35 days and see what will happen. That is really strange.
Thanks!
I did not change any cron jobs
Code: Select all
ls -l /var/dcc/log |wc -l
If I go into that directory and run the command "du -h" I get around 81 MB. That seems to be not the problem.
Code: Select all
find /var/spool/MailScanner/quarantine -maxdepth 1 -type d ! -name '.' -exec du -sh {} \;
Code: Select all
find /var/lib/mysql/ -maxdepth 1 -type d ! -name '.' -exec du -sh {} \;
The directory /var/spool/MailScanner/quarantine is growing, today in the morging it had around 12,75 GB, now it has 12,80 GB. Though there are only subdirectories of the last 60 days (so retention seems to work), also the directories seem to be not bigger as in the past (But that I can not tell for sure).
I will reduce retention to 35 days and see what will happen. That is really strange.
Thanks!
Re: Disk size /var suddenly increasing
Ok forget the comment to increasing 12,75 GB to 12,80 GB, I assume retention will be done one time a day, so that (normally temporarily) increase is of course obvious/normal because of the incoming mails.
Re: Disk size /var suddenly increasing
Update: It seems that the editing of the retention setting and a reboot were sufficient to resolve the problem. Free space is steady for now.
Thanks
Thanks