Hey folks, I'm running SpamAssassin 3.0.2 on an OpenBSD 3.6-STABLE machine, on an AMD64 3000+ with 2GB of RAM. I have yet to see this machine even touch the second gig of RAM, and it's never been into swap.
This is a new server, so I'm trying to train Bayes using a corpus I've been saving for a while. Unfortunately, I seem to have found an issue with sa-learn (or perhaps sa-learn and OpenBSD): [EMAIL PROTECTED] ~]$ sa-learn --showdots --spam --dir /home/benny/Maildir/.SPAM.corpus.2004.archive15/cur/ ................................................................... ................................................................... ......Out of memory! This failure is reproducable every time, on the exact same message. When sa-learn fails in this manner, it also fails to clean up its lock file (although, I suppose that's to be expected if it's the OS that's killing it), presenting a minor DoS situation for future sa-learn runs. I have increased my limits to the same level as system daemons and root, to no effect. As a test, I tried running the exact same command as root, and got the same "Out of memory!" error. I went through the SpamAssassin source, and I don't find this error, so I'm thinking it's OpenBSD clamping down on sa-learn for some reason. I have gone through several thousand mails, and randomly picked twenty that cause sa-learn to fail every time. They can be found at: http://www.bennyvision.com/temp/sa/ I have included twenty emails that cause it to fail (broken*), the same twenty emails with the SpamAssassin 2.64 markup removed (stripped/broken*.stripped), as well as the output of 'perl -V' and the output of 'cat broken1 | spamassassin -D' to show the debug output and actual error. I asked a related question over on the OpenBSD misc list, asking what limits I might adjust to get around this, but I haven't found a solution yet. What is sa-learn doing that's even being limited as _root_?!? If someone could help me out with this, it would be GREATLY appreciated. Thanks much! Benny -- "I'm on the Zoloft to keep from killing y'all." -- Mike Tyson