-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

Since I updated to 10.3, I find spamd/spamc sluggish. My mail fetching setup is:

  fetchmail --> postfix --> procmail --> spamc/spamd

A mail is scanned, then it stops for some seconds (almost no cpu usage) then it continues. It takes around 8 seconds per single email to check. I think it is querying some of the network databases that is slow.

The other detail is that it only processes two mails at a time, I mean, postfix spawns two children only:

root      /usr/lib/postfix/master
postfix    \_ qmgr -l -t unix -u
postfix    \_ local -t unix
cer        |   \_ /usr/bin/procmail
cer        |       \_ /usr/bin/procmail
cer        |           \_ /usr/bin/spamc -s 350000
postfix    \_ local -t unix
cer        |   \_ /usr/bin/procmail
cer        |       \_ /usr/bin/procmail
cer        |           \_ /usr/bin/spamc -s 350000
postfix    \_ pickup -l -t unix -u
postfix    \_ showq -t unix -u


I believe this is controlled in /etc/postfix/master.cf by this line:

local     unix  -       n       n       -       4       local


or perhaps this one:


procmail  unix  -       n       n       -       5       pipe
  flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} 
${recipient}



but according to that, I should get 4 (or 5) children... so I must be missing something. My idea is that if could get more emails to be processed simultaneously (while one waits another is scanned) then throughput would be faster.



- -- Cheers,
       Carlos Robinson

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHjQuntTMYHG2NR9URAl3JAKCHy0dg+J212A0Zjsy6bCum7eEyhACcC0jc
9A2qAi5Pz67sjSKVmvcm6VM=
=2bqH
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to