Hi All,

According to http://www.openbsd.org/spamd/ I have added a couple of new
blacklists to my original spamd.conf, previously I had only spews1,
china, and korea, and there was no problem. But now pfctl gives me an
error:

# /usr/libexec/spamd-setup -d
Getting http://www.openbsd.org/spamd/spews_list_level1.txt.gz
blacklist spews1 14482 entries
Getting http://www.openbsd.org/spamd/spews_list_level2.txt.gz
blacklist spews2 18103 entries
Getting http://www.openbsd.org/spamd/chinacidr.txt.gz
blacklist china 431 entries
Getting http://www.openbsd.org/spamd/koreacidr.txt.gz
blacklist korea 270 entries
Getting http://www.openbsd.org/spamd/traplist.gz
blacklist uatraplist 45380 entries
Getting http://www.openbsd.org/spamd/nixspam.gz
blacklist nixspam 39983 entries
# pfctl: Cannot allocate memory.

I know that there's not much shared memory in my system (and it's a slow
machine), but there is plenty of swap area. While this command was
running, I've been watching shared memory and swap usages with top, I
see that kernel starts swapping, and frees up as much as 20MB shared
memory, so spamd-setup fetches the lists successfully, but pfctl
complains at the end (probably kernel cannot swap anything out anymore).

To test if shared memory is the problem, if I stop httpd running on the
same system, thus free at least 30MB RAM, spamd-setup (and pfctl at the
end) runs without any problem, all the blacklists enabled.

To avoid this issue I have to disable uatraplist and nixspam, which are
obviously very large lists.

Is there anything I can do in this case? (Other than, stopping httpd for
example, during each spamd-setup run, or installing more RAM, which is
out of the question.)

Relevant head of dmesg may be:

OpenBSD 4.0 (GENERIC) #1107: Sat Sep 16 19:15:58 MDT 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 166 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
cpu0: F00F bug workaround installed
real mem  = 100233216 (97884K)
avail mem = 83529728 (81572K)

OT: btw, I'm using www.openbsd.org to download these lists, because I've
checked at least a couple of mirrors, they don't have them. I hope
that's ok.

Reply via email to