[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [vps-mail] sa-learn gets Out of memory!



Brian,
I had the Out of Memory message when I had a huge file. I tried the
'unlimit' command that someone suggested but that didn't work. It also
didn't help that one of the emails it was trying to learn had a 26 meg
attachment that one of my novice clients had sent <mumble>. When I saw that,
I removed that from the batch before unsuccessfully running it again. I
finally divided the emails into two files and did them one at a time and
that took care of it.

Regarding the other problem, I'm sorry I can't help. I've gotten as far as
being able to successfully run the SA-learn but can't get beyond that to use
the learned files. Part of the problem may be that when I do SA-learn and
put the path to my database files, it still adds the learned info to the
root folder instead. Possibly because of that, I'm also not able to get my
SA to use the Bayes tokens in any filtering capability. I guess that can be
my New Year's resolution :).

Regards,

Jim Smith

"Lots of tokens and my subway won't leave the station."

 --------------------------------------------------------
           Jim Smith, Blarneystone, LLC.
  Website Design, Hosting, Development & Enhancement
   E-MAIL:      jimsmith@xxxxxxxxxxxxxxxx
   WEBSITE:     http://www.blarneystone.com
 --------------------------------------------------------


> -----Original Message-----
> From: owner-vps-mail@xxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxx]On
> Behalf Of Brian Haines
> Sent: Wednesday, December 31, 2003 9:09 AM
> To: vps-mail@xxxxxxxxxxxx
> Subject: [vps-mail] sa-learn gets Out of memory!
>
>
> I am starting to get "Out of memory!" messages when I run
> sa-learn and now I
> get "Cannot open bayes_path //.spamassassin/bayes R/W: File
> exists" for the
> first time. Any ideas?
>
> Brian Haines
>
> -----Original Message-----
> From: owner-vps-mail@xxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxx] On
> Behalf Of Jim Smith
> Sent: Tuesday, December 30, 2003 9:34 AM
> To: vps-mail@xxxxxxxxxxxx
> Subject: RE: [vps-mail] sa-learn --spam
>
>
> Brian,
> I believe that would be because some are already in it's
> database. When I'm
> 'teaching', I add new emails to the ones already in the spam file so if I
> have 150 spams but 130 were in there last time I did sa-learn, it
> indicates
> that it learned 20 out of 150 (for example). HTH.
>
> Jim Smith
>
>  --------------------------------------------------------
>            Jim Smith, Blarneystone, LLC.
>   Website Design, Hosting, Development & Enhancement
>    E-MAIL:      jimsmith@xxxxxxxxxxxxxxxx
>    WEBSITE:     http://www.blarneystone.com
>  --------------------------------------------------------
>
>
> > -----Original Message-----
> > From: owner-vps-mail@xxxxxxxxxxxx
> > [mailto:owner-vps-mail@xxxxxxxxxxxx]On
> > Behalf Of Brian Haines
> > Sent: Tuesday, December 30, 2003 7:44 AM
> > To: vps-mail@xxxxxxxxxxxx
> > Subject: [vps-mail] sa-learn --spam
> >
> >
> > Why might it be that when I run:
> > virtual sa-learn --spam --mbox <<mailbox>>
> >
> > It usually learns from the same number of messages in the mailbox, but
> > sometimes learns from less. I just had it learn from 5 messages, but
> > there are 8 in the mailbox.
> >
> > Brian Haines
> > One Park Place
> > Your Address on the Web
> >

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: