Hi Matthias,
Verify if your /etc/resolv.conf is correct. If a nameserver service is closed,
qmail-send spent some time to delivery a email and maybe cause a timeout to resolve MX
domain.
Verify if you have a network problem with qmail-tcpto to verifiy conection
timeouts and "qmail-qread|grep remote|grep -v done|sort" to see the queue.
[]s
[Sandro]
----- Original Message -----
From: "Matthias Blaser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 12:22 PM
Subject: very slow preprocessing of queued messages
> hi,
>
> we have some problems with our qmail-ldap server (patch 20030301 + smtp
> auth, but also with older revisions) and preprocessing of messages...
>
> the concurrencyremote is set to 100 but there are no more than about 5-10
> slots used, cause there only non-preprocessed messages in the queue and
> they slowly get preprocessed (about half an hour for 1k messages). first we
> didn't use the external todo patch, but also with it the preprocessing time
> didn't speed up...
>
> but the server isn't under heavy load (load average 7), and both processors
> (1.2 ghz pIII) are idle most of the time... i don't think disk i/o is a
> problem here, they are mirrored (raid 1) scsi disks and iostat and mpstat
> don't show high values (see below)
>
> what can i do to increase the pre-processing performance or test for other
> possible bottlenecks?
>
> cya,
> matthias
>
> slartibartfast root # mpstat 20
> Linux 2.4.19-gentoo-r9 (slartibartfast.adfinis.com) 03/05/03
>
> 16:05:09 CPU %user %nice %system %idle intr/s
> 16:05:29 all 2.38 0.00 1.93 95.70 399.00
> 16:05:49 all 3.17 0.00 2.20 94.62 501.25
> 16:06:09 all 3.23 0.00 1.60 95.17 289.40
> 16:06:29 all 2.55 0.00 1.60 95.85 309.55
> 16:06:49 all 3.55 0.00 1.82 94.62 360.15
> 16:07:09 all 2.73 0.00 1.80 95.47 232.35
> 16:07:29 all 1.90 0.00 1.40 96.70 260.25
> 16:07:49 all 2.27 0.00 1.65 96.08 282.70
> 16:08:09 all 3.30 0.00 1.55 95.15 435.55
> 16:08:29 all 1.60 0.00 1.85 96.55 292.90
> 16:08:49 all 2.02 0.00 0.95 97.03 254.75
> 16:09:09 all 1.82 0.00 0.85 97.33 190.00
> 16:09:29 all 1.10 0.00 0.80 98.10 212.25
> 16:09:49 all 3.92 0.00 0.90 95.17 259.80
> 16:10:09 all 9.20 0.00 2.45 88.35 249.10
> 16:10:29 all 0.93 0.00 1.15 97.92 259.90
> 16:10:49 all 1.23 0.00 1.38 97.40 337.00
> 16:11:09 all 2.35 0.00 1.15 96.50 338.35
> 16:11:29 all 0.68 0.00 0.90 98.42 303.40
> 16:11:49 all 0.78 0.00 0.78 98.45 260.55
> 16:12:09 all 2.33 0.00 1.23 96.45 282.20
> 16:12:29 all 0.85 0.00 0.88 98.28 236.10
> 16:12:49 all 1.12 0.00 1.02 97.85 280.65
> 16:13:09 all 2.20 0.00 0.75 97.05 211.20
>
> slartibartfast root # iostat -c 20
> Linux 2.4.19-gentoo-r9 (slartibartfast.adfinis.com) 03/05/03
>
> avg-cpu: %user %nice %sys %idle
> 2.03 0.00 0.72 47.95
> avg-cpu: %user %nice %sys %idle
> 2.27 0.00 1.00 96.72
> avg-cpu: %user %nice %sys %idle
> 3.35 0.00 0.70 95.95
>