You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by SDE <co...@gmail.com> on 2006/10/30 17:16:11 UTC

spamd process 100% 1 user

I'm running SA 3.1.7/Exim on CentOS.  
spamd start command: /usr/bin/spamd -d -c -m 10

Problem: I consistently have 1 user locking up the spamd process at 100%.  I
notice this when the system responds slow, so I will run a top command and
see user xxx spamd at 100%.

Any ideas what would cause this?  I wrote a script that reads maillog for SA
activity and this user only gets about a tenth of the email highest users
get on my system.

Any ideas what might be causing this?

Here is the SA related pieces of my exim.conf file:

# Spam Assassin
begin transports

spamcheck:
  driver = pipe
  batch_max = 100
  command = /usr/sbin/exim -oMr spam-scanned -bS
  current_directory = "/tmp"
  group = mail
  home_directory = "/tmp"
  log_output = true
  message_prefix =
  message_suffix =
  return_fail_output
  no_return_path_add
  transport_filter = /usr/bin/spamc -u
${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}

  use_bsmtp
  user = mail
  # must use a privileged user to set $received_protocol on the way back in!



# Spam Assassin
spamcheck_director:
  driver = accept
  condition = "${if and { \
                        {!def:h_X-Spam-Flag:} \
                        {!eq {$received_protocol}{spam-scanned}} \
                        {!eq {$received_protocol}{local}} \
                       
{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}}
\
                        {exists{/etc/virtual/${domain}/passwd}} \
                        {\
                        or \
                                { \
                                        {!eq
{}{${lookup{$local_part}lsearch{/etc/virtual/${domain}/passwd}}}} \
                                {eq {$local_part}
{${lookup{$domain}lsearch{/etc/virtual/domainowners}}}}  \
                            } \
                        } \
                } {1}{0}}"
  retry_use_local_part
  transport = spamcheck
  no_verify

-- 
View this message in context: http://www.nabble.com/spamd-process-100--1-user-tf2540379.html#a7077530
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.