Mailinglist Archive: opensuse (1213 mails)

< Previous Next >
Re: [opensuse] Slow mail processing
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Wed, 25 Apr 2012 13:35:21 +0200 (CEST)
  • Message-id: <alpine.LNX.2.00.1204251326280.13495@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Tuesday, 2012-04-24 at 11:27 +0200, Carlos E. R. wrote:

On 2012-04-24 11:18, Per Jessen wrote:

local_destination_concurrency_limit - default is 2.

Right! I forgot about that one.

And it works, I get about 2 mails per second. I can process emails nearly as fast as I can download them.


Every 1,0s: ps afxu|grep 'amavis\|spam\|postfix\|vscan'|grep -v 'grep'; echo - ; mailq | grep Requests. Wed Apr 25 13:25:30 2012

vscan 4141 0.0 1.7 283716 141220 ? Ssl Apr18 1:01 /usr/sbin/clamd
vscan 4542 0.0 0.0 47312 1600 ? Ss Apr18 0:10
/usr/bin/freshclam -d
vscan 15648 0.0 0.1 146032 13264 ? Ss Apr22 0:01 amavisd
(master)
vscan 19342 0.0 0.3 147968 27912 ? S Apr24 0:00 \_ amavisd
(ch15-avail)
vscan 19620 0.0 0.3 147924 27676 ? S Apr24 0:00 \_ amavisd
(ch19-avail)
vscan 30233 2.5 0.3 147684 25660 ? S 13:25 0:00 \_ amavisd
(ch5-avail)
vscan 30254 2.7 0.3 147816 27916 ? S 13:25 0:00 \_ amavisd
(ch4-avail)
vscan 30255 2.6 0.3 147844 28024 ? S 13:25 0:00 \_ amavisd
(ch4-avail)
root 12928 0.0 0.8 144080 65636 ? Ss Apr23 0:09
/usr/sbin/spamd -d -c --max-children=7 -r /var/run/spamd.pid
cer 12948 0.0 0.9 158224 80424 ? S Apr23 0:20 \_ spamd child
cer 12949 0.0 1.3 187800 110324 ? R Apr23 0:37 \_ spamd child
cer 30286 6.4 0.8 147260 69744 ? S 13:25 0:00 \_ spamd child
cer 30287 7.8 0.8 147456 69936 ? S 13:25 0:00 \_ spamd child
cer 30288 8.1 0.8 147388 69836 ? S 13:25 0:00 \_ spamd child
cer 30307 5.3 0.8 147084 69084 ? S 13:25 0:00 \_ spamd child
root 29972 0.1 0.0 20568 1528 ? Ss 13:24 0:00
/usr/lib/postfix/master
postfix 29986 0.0 0.0 20532 1340 ? S 13:24 0:00 \_ pickup -l
-t fifo -u
postfix 29987 0.0 0.0 20904 2124 ? S 13:24 0:00 \_ qmgr -l -t
fifo -u
postfix 29994 0.0 0.0 20600 1468 ? S 13:24 0:00 \_ showq -t
unix -u
postfix 30084 0.1 0.0 40880 4000 ? S 13:25 0:00 \_ smtpd -n
smtp -t inet -u -o stress= -s 4
postfix 30085 0.0 0.0 20532 1348 ? S 13:25 0:00 \_ proxymap
-t unix -u
postfix 30086 0.1 0.0 21676 2932 ? S 13:25 0:00 \_
trivial-rewrite -n rewrite -t unix -u
postfix 30094 0.2 0.0 27956 2992 ? D 13:25 0:00 \_ cleanup -z
-t unix -u
postfix 30095 0.0 0.0 37808 2852 ? S 13:25 0:00 \_ lmtp -n
smtp-amavis -t unix -u -o lmtp_data_done_timeout=1200 -o lmtp_send_xforwa
postfix 30099 0.0 0.0 40756 3900 ? S 13:25 0:00 \_ smtpd -n
localhost:10025 -t inet -u -s 2 -o content_filter=
postfix 30100 0.0 0.0 20980 2340 ? S 13:25 0:00 \_ local -t
unix
cer 30320 0.0 0.0 19288 1092 ? S 13:25 0:00 |
\_ /usr/bin/spamc -s 2500000
postfix 30124 0.0 0.0 20980 2344 ? S 13:25 0:00 \_ local -t
unix
cer 30300 0.0 0.0 19288 1088 ? S 13:25 0:00 |
\_ /usr/bin/spamc -s 2500000
postfix 30141 0.0 0.0 20980 2136 ? S 13:25 0:00 \_ local -t
unix
cer 30149 0.0 0.0 19288 1096 ? S 13:25 0:00 |
\_ /usr/bin/spamc -s 2500000
postfix 30159 0.2 0.0 27956 2988 ? S 13:25 0:00 \_ cleanup -z
-t unix -u
postfix 30160 0.0 0.0 20980 2136 ? S 13:25 0:00 \_ local -t
unix
cer 30170 0.0 0.0 19288 1092 ? S 13:25 0:00 |
\_ /usr/bin/spamc -s 2500000
postfix 30161 0.0 0.0 37808 2848 ? S 13:25 0:00 \_ lmtp -n
smtp-amavis -t unix -u -o lmtp_data_done_timeout=1200 -o lmtp_send_xforwa
postfix 30163 0.0 0.0 20532 1340 ? S 13:25 0:00 \_ scache -l
-t unix -u
postfix 30172 0.0 0.0 40756 3900 ? S 13:25 0:00 \_ smtpd -n
localhost:10025 -t inet -u -s 2 -o content_filter=
postfix 30173 0.0 0.0 20980 2140 ? S 13:25 0:00 \_ local -t
unix
cer 30181 0.0 0.0 19288 1092 ? S 13:25 0:00 |
\_ /usr/bin/spamc -s 2500000
postfix 30191 0.0 0.0 40756 3904 ? S 13:25 0:00 \_ smtpd -n
localhost:10025 -t inet -u -s 2 -o content_filter=
postfix 30205 0.0 0.0 40756 3900 ? S 13:25 0:00 \_ smtpd -n
localhost:10025 -t inet -u -s 2 -o content_filter=
postfix 30267 0.0 0.0 40756 3900 ? S 13:25 0:00 \_ smtpd -n
localhost:10025 -t inet -u -s 2 -o content_filter=
postfix 30289 0.0 0.0 20980 2136 ? S 13:25 0:00 \_ local -t
unix
cer 30305 0.0 0.0 19288 1092 ? S 13:25 0:00 |
\_ /usr/bin/spamc -s 2500000
postfix 30308 0.0 0.0 20980 2136 ? S 13:25 0:00 \_ local -t
unix
cer 30324 0.0 0.0 19288 1088 ? S 13:25 0:00
\_ /usr/bin/spamc -s 2500000
- -
- -- 246 Kbytes in 38 Requests.



So the throtling process is "local". In the master.cf file the line is:

local unix - n n - - local

So perhaps instead of adjusting "local_destination_concurrency_limit" globally I can adjust instead the line to:

local unix - n n - 7 local




- -- Cheers,
Carlos E. R.
(from 11.4 x86_64 "Celadon" at Telcontar)

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

iEYEARECAAYFAk+X4YEACgkQtTMYHG2NR9U1lgCdEhcropwp2klgNwoOc4Wl8HkP
3yIAn3FvmXaI0Ri4N21oQwAI3jyr++lm
=zZyP
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups