SDBM

Martin.Hepworth martinh at solidstatelogic.com
Wed Nov 21 15:06:59 GMT 2007


Jules

Yeah I saw the messages about that - did it, does seem to be working quicker even for my small system (6-7k messages processed a day on a 2.8Ghz P Iv/1.5GB ram, so plenty of horsepower spare!).

--
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 Julian Field
> Sent: 21 November 2007 14:57
> To: MailScanner discussion
> Subject: Re: SDBM
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> You probably have a huge bayes_seen like I did. You can safely delete
> this file. It's the bayes_toks that's the important one. You only need
> the bayes_seen data if you ever "unlearn" a message by calling sa-learn
> directly from the command line.
>
> I hit this exact same problem yesterday, see earlier comments in this
> thread.
>
> Jules.
>
> Martin.Hepworth wrote:
> > Tried it and my box ground to a halt after 30 mins of trying to do the
> sa-learn --restore.
> >
> > Must be semaphores or something....couldn't even login a the console.
> Luckily a CTRL-C on the sa-learn brought everthing back.
> >
> > My bayes seems to be 330MB so that's kinda large, and the SDBM was
> growing slowly and had got to 260MB when it all ground to a halt....maybe
> my 2.8Piv and 1.5GB ram ain't enough ;-)
> >
> > --
> > 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 Rick Chadderdon
> >> Sent: 20 November 2007 17:31
> >> To: MailScanner discussion
> >> Subject: Re: Minimum hardware capacity for 35k e-mail scans/day
> >>
> >> Julian Field wrote:
> >>
> >>> I'm testing it out now. If it's as good as it is reckoned to be, how
> >>> about I make it the default in new installations? (i.e. change
> >>> mailscanner.cf to use it)
> >>>
> >> SDBM has been criticized (and rejected for several projects) for having
> >> a small (1Kbyte or 2Kbytes, depending on where I look) maximum record
> >> size.  I do not know enough about the SA database to say whether this
> >> will be a potential factor in using SDBM with SpamAssassin, but perhaps
> >> someone with more knowledge can use this information.  If we can count
> >> on SA always keeping the records smaller than SDBM's max, this sounds
> >> like a good way to increase performance.  On the other hand, it's the
> >> kind of thing that SA could cause to break with a relatively simple
> >> change in what they store in the DB
> >>
> >> Rick
> >> --
> >> 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
> > **********************************************************************
> >
> >
>
> Jules
>
> - --
> Julian Field MEng CITP
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
>
> MailScanner customisation, or any advanced system administration help?
> Contact me at Jules at Jules.FM
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> For all your IT requirements visit www.transtec.co.uk
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Desktop 9.7.0 (Build 867)
> Comment: Use Thunderbird's Enigmail Add-on to verify this message
> Charset: ISO-8859-1
>
> wj8DBQFHREc+EfZZRxQVtlQRAthWAJ9JWL+gc3G29YxjxFU12Aw0IyJqtQCgg8vZ
> Az+8eJWf0VIMdt+UiR7bDRg=
> =rgv0
> -----END PGP SIGNATURE-----
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> --
> 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
**********************************************************************



More information about the MailScanner mailing list