Bayes disk space usage fast increase

Fabien GARZIANO fabien.garziano at caliseo.com
Wed May 16 16:17:58 IST 2007


Hi Martin, 

Bayes dir equals to 60% of my /var FS (the MailScanner working and spool directory)
[root at califw3 var]# du -h /var/spool/MailScanner/
794M    /var/spool/MailScanner/spamassassin
4.0K    /var/spool/MailScanner/quarantine
4.0K    /var/spool/MailScanner/incoming/27432
4.0K    /var/spool/MailScanner/incoming/27537
4.0K    /var/spool/MailScanner/incoming/27518
4.0K    /var/spool/MailScanner/incoming/27523
4.0K    /var/spool/MailScanner/incoming/27578
564K    /var/spool/MailScanner/incoming
795M    /var/spool/MailScanner/

But it has never been so much ... 


> -----Message d'origine-----
> De : mailscanner-bounces at lists.mailscanner.info 
> [mailto:mailscanner-bounces at lists.mailscanner.info] De la 
> part de Martin.Hepworth
> Envoyé : mercredi 16 mai 2007 11:48
> À : MailScanner discussion
> Objet : RE: Bayes disk space usage fast increase
> 
> Fabien
> 
> Where's the file space use in /var? it is in the bayes area?
> 
> --
> Martin Hepworth
> Snr Systems Administrator
> Solid State Logic
> Tel: +44 (0)1865 842300
> 
> > -----Original Message-----
> > From: mailscanner-bounces at lists.mailscanner.info 
> [mailto:mailscanner- 
> > bounces at lists.mailscanner.info] On Behalf Of Fabien GARZIANO
> > Sent: 16 May 2007 10:39
> > To: MailScanner discussion
> > Subject: Bayes disk space usage fast increase
> >
> > Hi,
> >
> > I'm stuck on an issue with my MailScanner mail gateway, 
> actually with 
> > the bayesian database. I don't use any database so my bayesian files
> are
> > on my /var FS. Since 2 days, disk space usage is fastly 
> increasing and 
> > I'll soon be short of disk space. As far as I can see in 
> logs, I don't 
> > find any explanation about this. I've looked in the FAQ on the
> website,
> > and I don't see any thing like this.
> > I've checked
> > http://wiki.apache.org/spamassassin/BayesFaq?highlight=%28bayes%29
> > I've also tried to look in the mail archive but without success.
> >
> > My baysian files are in the default dir => 
> > /var/spool/MailScanner/spamassassin
> >
> > [root at califw3 spamassassin]# pwd
> > /var/spool/MailScanner/spamassassin
> > [root at califw3 spamassassin]# du -h
> > 731M    .
> >
> > [root at califw3 MailScanner]# spamassassin -D --lint
> > debug: SpamAssassin version 3.0.5
> > [...]
> > debug: bayes: 19794 tie-ing to DB file R/O 
> > /root/.spamassassin/bayes_toks
> > debug: bayes: 19794 tie-ing to DB file R/O 
> > /root/.spamassassin/bayes_seen
> > debug: bayes: found bayes db version 3
> > debug: bayes: Not available for scanning, only 0 spam(s) in 
> Bayes DB < 
> > 200
> > debug: bayes: 19794 untie-ing
> > debug: bayes: 19794 untie-ing db_toks
> > debug: bayes: 19794 untie-ing db_seen
> >
> > Now, that's weird, cause I received some spam this morning, 
> and bayes 
> > scored them.
> >
> > For information :
> > [root at califw3 MailScanner]# MailScanner -v Running on Linux 
> > califw3.caliseo.fr 2.6.16-1.2108_FC4 #1 Thu May 4 23:52:01 EDT
> > 2006 i686 i686 i386 GNU/Linux
> > This is Fedora Core release 4 (Stentz) This is Perl version 
> 5.008006 
> > (5.8.6) This is MailScanner version 4.53.8
> >
> > Is this behaviour usual ? I've been runnig this gateway for 1 year
> now,
> > and that's the first time I got something like this. Anyone 
> met this 
> > behaviour already ?
> > Is there a way to limit bayes space usage ?
> >
> > Thanks !
> > --
> > MailScanner mailing list
> > mailscanner at lists.mailscanner.info
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
> > Before posting, read http://wiki.mailscanner.info/posting
> >
> > Support MailScanner development - buy the book off the website!
> 
> 
> 
> 
> **********************************************************************
> Confidentiality : This e-mail and any attachments are 
> intended for the addressee only and may be confidential. If 
> they come to you in error you must take no action based on 
> them, nor must you copy or show them to anyone. Please advise 
> the sender by replying to this e-mail immediately and then 
> delete the original from your computer.
> 
> Opinion : Any opinions expressed in this e-mail are entirely 
> those of the author and unless specifically stated to the 
> contrary, are not necessarily those of the author's employer.
> 
> Security Warning : Internet e-mail is not necessarily a 
> secure communications medium and can be subject to data 
> corruption. We advise that you consider this fact when e-mailing us. 
> 
> Viruses : We have taken steps to ensure that this e-mail and 
> any attachments are free from known viruses but in keeping 
> with good computing practice, you should ensure that they are 
> virus free.
> 
> Red Lion 49 Ltd T/A Solid State Logic
> Registered as a limited company in England and Wales (Company 
> No:5362730) Registered Office: 25 Spring Hill Road, Begbroke, 
> Oxford OX5 1RU, United Kingdom
> **********************************************************************
> 
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website! 
> 


More information about the MailScanner mailing list