tracing bottlenecks ?
Matus UHLAR - fantomas
uhlar at fantomas.sk
Sat Oct 30 19:02:40 CEST 2021
>On Fri, October 29, 2021 9:18 pm, Matus UHLAR - fantomas wrote:
>> hard to say, maybe you could feed the file into spamassassin -D which
>> could show you more.
On 30.10.21 12:31, lists at sbt.net.au wrote:
>do you mean feed such an email file that took long time ?
>is it like:
>spamassassin -D < mail.file
precisely. You should do that as amavis user, redirecting error output so
something like
su amavis -c 'spamassassin -D' < /tmp/input >/tmp/output 2>&1
>just guessing when I'm seeing load average touching ~1.5/2
>top - 12:27:13 up 11 days, 16:26, 1 user, load average: 1.30, 1.12, 1.03
>Tasks: 306 total, 3 running, 303 sleeping, 0 stopped, 0 zombie
>%Cpu(s): 54.5 us, 0.0 sy, 0.0 ni, 45.5 id, 0.0 wa, 0.0 hi, 0.0 si,
>0.0 st
>KiB Mem : 3880496 total, 337576 free, 2619396 used, 923524 buff/cache
>KiB Swap: 4063228 total, 3628284 free, 434944 used. 781004 avail Mem
with 4G of RAM, I wouldn't use more than 5 concurrent amavisd processes.
YMMV
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows. -- Matthew D. Fuller
More information about the amavis-users
mailing list