Subject: spamassassin vs 2.0_beta
To: None <port-sparc@NetBSD.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: port-sparc
Date: 08/05/2004 21:42:16
my 2x CPU sparc 20 has been up for 57 days now running

NetBSD radbug 2.0_BETA NetBSD 2.0_BETA (GENERIC.MP) #0: Thu Apr 29 14:07:17 UTC 2004 autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/sparc/OBJ/autobuild/netbsd-2-0/src/sys/arch/sparc/compile/GENERIC.MP sparc

with spamassassin-2.63nb1 and perl-5.8.4.

the last few days spamassassin has been flailing wildly giving me out of
memory messages:

sbrk: grow 372736 failed, error = 12

and leaving me with piles of unfiltered spam.

it doesn't seem to be a ulimit issue; I have an i386 with even less
memory, configured with a week-older kernel version, the same versions
of spamassassin and perl.   given the same data files, and the same
ulimits, it doesn't run out of memory.

the issue appears to be sparc-specific.  since this has only cropped up
over the last couple days, as spamassassin was running fine previously,
I'm wondering if there's not some memory fragmentation issue.

compiling up a new kernel I get

--- ip_nat.o ---
virtual memory exhausted: Cannot allocate memory

does this look familiar to anybody?

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
  "someday the industry will have throbbing frontal lobes and will be able
  to write provably correct software.  also, I want a pony." -- Zach Brown