How do I clear used up space in VAR
I changed the message retention from 60 > 30 and now to 7
I 've run mailwatch_db_clean.php twice and rebooted
still around 60mb
What am i doing wrong ???
Only 66mb in VAR !!
-
- Posts: 97
- Joined: 01 Jul 2017 02:32
Re: Only 66mb in VAR !!
While logged into MailWatch, can you take a snippet of the "Free Disk Space" at the top-center of the page and post here? We want to see how your system was carved up.
Thanks
Thanks
Re: Only 66mb in VAR !!
Hi
2 children
postfix 4 proc
1min 0.00
5min 0.03
15min : 0.02
Inbound :0
Outbound: 5
/ 4.66Gb [60%]
/boot 312.47Mb [65%]
/tmp 913.59 [94%
/var 61.47MB [0%]
2 children
postfix 4 proc
1min 0.00
5min 0.03
15min : 0.02
Inbound :0
Outbound: 5
/ 4.66Gb [60%]
/boot 312.47Mb [65%]
/tmp 913.59 [94%
/var 61.47MB [0%]
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Only 66mb in VAR !!
What's your MailScanner quarantine retention in /etc/MailScanner/defaults ?
What happens when you run this?
What happens when you run this?
Code: Select all
/usr/local/bin/mailwatch/tools/Cron_jobs/mailwatch_quarantine_maint.php --clean
Re: Only 66mb in VAR !!
only thing obvious is q_days=0
does that mean it not going to delete any !!??
does that mean it not going to delete any !!??
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Only 66mb in VAR !!
No, actually, it should be 0. Just wanted to double check. eFa uses MailWatch instead to handle this....
MailWatch should be purging items based on QUARANTINE_DAYS_TO_KEEP. How far back can you see in /var/spool/MailScanner/quarantine folders?
MailWatch should be purging items based on QUARANTINE_DAYS_TO_KEEP. How far back can you see in /var/spool/MailScanner/quarantine folders?
Re: Only 66mb in VAR !!
Ok
that seems have freed up 13Gb
I forgot I set q_days=7 before I run the command !
THANK YOU
that seems have freed up 13Gb
I forgot I set q_days=7 before I run the command !
THANK YOU
Re: Only 66mb in VAR !!
I'm having the same issue at the moment.
44mb left on /var
/var/lib/mysql/mailscanner has a file name maillog.ibd which is 23.6 GB
Is there a way to shrink this?
44mb left on /var
/var/lib/mysql/mailscanner has a file name maillog.ibd which is 23.6 GB
Is there a way to shrink this?
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Only 66mb in VAR !!
Reduce this number here...
/var/www/html/mailscanner/conf.php
Code: Select all
// Define how many days of emails to keep.
define('RECORD_DAYS_TO_KEEP', 60);