I'll repost this, as it may help

It may be worth you checking your milter code for timing issues, as
optimising the milter can make big differences

if you import Time Hi-Res

use Time::HiRes qw( usleep ualarm gettimeofday tv_interval );

and then at the start of each sub within the filter do

sub filter_xxx ($) {
my $t0 = [gettimeofday];

........
Your Code
and then at the end of the sub
.......

my $elapsed = tv_interval ( $t0, [gettimeofday]);
md_syslog('warning',"TC : filter_xxx  : $elapsed");
}

you will be able to get an idea if things are taking a little long, and thus
slowing performance down dramtically and enabling you to make changes to
your mimedefang-filter accordingly




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: 19 September 2005 15:06
To: mimedefang
Subject: [Mimedefang] mail server performence declain


Hi,

I got a new debian serge 3.1 installed on a server with intel xeon 2.40GHz &
1Gb
mem.
I got sendmail 8.13.4 + mimedefang 2.51 + sa 3.0.3 + perl 5.8.4.

ever since i install mimedefang the delivery of mail got very slow!
if i use an asp form to send mail it take too long.
i also notice it filter both incoming and outgoing mail, when my intension
were
to scan only incoming mail.

How do i test latancy?? how can i minimize scan time? and avoid scanning
outbound mail??

Thanks alot,

Meni

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

This Email Has Been Anti-Virus Scanned

_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to