reaver_cache directory grows without limit.
Martin Ward <martin-/WQNf7Fk/[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
I am using the latest stable version: crm114-20070810-BlameTheSegfault.
My reaver_cache directories grew to about 80,000 links:
which is more than the rest of my home directory put together!
Its not a lot of disc space (yet!), but all those stat calls really slow down
incremental backups.
The cache contains files dating back to when the latest CRM was installed
(i.e. 15th November 2008)
The mailfilter.cf file says that the cache contains "messages we've classified
recently", so my question is: how "recent" is "recently"? I couldn't find
any code for pruning old files from the cache directory.
I added an entry to my crontab to fix this:
45 * * * * find $HOME/.crm114/reaver_cache -type f -mmin +60 |
xargs rm -f
This checks the cache every hour and deletes anything more than an hour old.
--
Martin
martin-/WQNf7Fk/[email protected] http://www.cse.dmu.ac.uk/~mward/ Erdos number: 4
G.K.Chesterton web site: http://www.cse.dmu.ac.uk/~mward/gkc/
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword