We have been on 5.2 for a couple of years as our "mail/spam/malware" relay
Yesterday I found the system out of disk space. The largest file bein /var/lib/system-mysql/ibdata1 at 4.5GB
I managed to free up a little space, then thismornign mounted an nfs share on our NAS and did
rebuild-database
this has only freed up andother 500MB.
What is in teh DB, how can I get it back to and keep a reasonable size?
Cheers
Rob
Yesterday I found the system out of disk space. The largest file bein /var/lib/system-mysql/ibdata1 at 4.5GB
I managed to free up a little space, then thismornign mounted an nfs share on our NAS and did
rebuild-database
this has only freed up andother 500MB.
What is in teh DB, how can I get it back to and keep a reasonable size?
Cheers
Rob
In Database
Share this post:
Responses (4)
-
Accepted Answer
our system is primarily just a relay with Spam/AV scanning.
We clear down the quarantine with the delete all button every day or two using the hidden delete all hack.
from what i have read ibdata1 does not reduce in size in normal operation, so an sql delete does not actualy delete the record in the database entirely. I thought, from reading that dropping and recreating the DB would fix this so did the rebuild-database. It has reduced it but not by much more than 10%
Accessing the spam quarantine even when there is only 100 or so items is very slow, so I guess it is parsing this 4.5GB file to find valid live quarantine items.
I am working on a 6.x platform to replace the current one as I don't think it's going to last long ( been in service 2 years though )
Cheers
Rob -
Accepted Answer
Yup the mail quarantine is there... this might help
http://tracker.clearfoundation.com/view.php?id=242 -
Accepted Answer
-
Accepted Answer

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »