----- Original Message -----
From: "Victor Duchovni" <victor.ducho...@morganstanley.com>
To: <postfix-users@postfix.org>
Sent: Monday, March 23, 2009 5:57 PM
Subject: Re: Mail drop
On Mon, Mar 23, 2009 at 05:54:07PM -0400, Brandon Hilkert wrote:
dkim-milter is one program that you are asking to sign lots of
messages in parallel. To implement parallelism, dkim-milter uses
mutiple threads in one process. To keep the threads from tripping
over each other, dkim-milter uses locks. With a bit of bad luck,
your DKIM requests are blocking each other.
Is there nothing I can do to either improve or prevent this?
MEASURE! Find out what is slowing it down. When you know what that
is, ask the question again.
Here's a snapshot of top during a peak testing period
top - 08:45:55 up 4 days, 23:47, 1 user, load average: 2.75, 1.70, 0.73
Tasks: 93 total, 1 running, 92 sleeping, 0 stopped, 0 zombie
Cpu(s): 32.2%us, 10.4%sy, 0.0%ni, 47.3%id, 6.8%wa, 0.5%hi, 2.8%si,
0.0%st
Mem: 2075040k total, 810116k used, 1264924k free, 35368k buffers
Swap: 2650684k total, 0k used, 2650684k free, 612544k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2191 dkim-fil 20 0 98472 3420 1516 S 19 0.2 3:29.90
dkim-filter
2182 dk-filte 20 0 72536 2936 1236 S 11 0.1
2:33.44 dk-filter
From atop:
CPU | sys 19% | user 64% | irq 5% | idle 96% | wait
16% |
cpu | sys 11% | user 31% | irq 3% | idle 45% | cpu001 w
9% |
cpu | sys 8% | user 33% | irq 2% | idle 50% | cpu000 w
7% |
CPL | avg1 4.30 | avg5 2.84 | avg15 1.37 | csw 184548 | intr
22650 |
MEM | tot 2.0G | free 1.2G | cache 627.7M | buff 19.6M | slab
130.4M |
SWP | tot 2.5G | free 2.5G | | vmcom 214.5M | vmlim
3.5G |
DSK | sda | busy 33% | read 0 | write 3602 | avio 0
ms |
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.