I've got a low traffic mail server running Debian Woody with backports
for SA and Exim:

  Exim: 4.34-7.amwoody.1 0
  SA: 3.0.2-1 
  Perl: 5.6.1

Again, low traffic.  I rotate daily, so:

  $ wc -l /var/log/exim4/mainlog.1
     2467 /var/log/exim4/mainlog.1


I just upgraded a few days ago to 3.0 from 2.6.4.  The machine is a P4
with 1/2G RAM.

I'm seeing lots of these in my logs:

   kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
   VM: killing process spamd

You can see here how I run spamd and how there's one child that is a
bit of a memory hog:

ps -aux | grep spamd
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root     16610  0.0  0.1 92440  732 ?        S    Jan05   0:04 /usr/sbin/spamd 
--max-children 5 -d --pidfile=/var/run/spamd.pid
root     25927  1.7 26.6 439648 137676 ?     S    Jan09  23:23 spamd child
root      5931  0.1 13.2 98728 68588 ?       S    05:46   0:17 spamd child
root      8734  0.0 13.2 98280 68456 ?       S    08:41   0:05 spamd child
root      8755  0.0 13.1 97652 67852 ?       S    08:45   0:05 spamd child
root      8785  0.1 13.6 100148 70552 ?      S    08:49   0:06 spamd child
root     10432  0.0  0.0  1332  428 pts/6    R    10:33   0:00 grep spamd

I run spamd via exiscan-acl version of Exim

    warn  message = X-Spam-Score: $spam_score ($spam_bar)
          spam = nobody:true

    warn  message = X-Spam-Report: $spam_report
          spam = nobody:true

    deny   message = This message scored $spam_score spam points.
           spam = nobody:true
           condition = ${if >{$spam_score_int}{100}{1}{0}}

I suspect --max-conn-per-child is a good protection.  Any
recommendation on what to set it to?

Is this a known issue?


-- 
Bill Moseley
[EMAIL PROTECTED]

Reply via email to