List Info

Thread: Debugging SA time used




Debugging SA time used
country flaguser name
Norway
2007-12-18 04:36:17
I'm using external network tests but lately TIMING has
increased to 
about 4k ms and I assume one (or more) of them are having
latency 
issues. To help the problem (by setting up an rsync version
or similar) 
I'd like to know which one. Is it possible for amavisd-maia
to report 
how long each test of SA is taking? I've tried to enable
$sa_debug and 
increasing $log_level to 5 without success.

-- 
Erik Weber
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: Debugging SA time used
country flaguser name
United States
2007-12-18 12:55:12
I also had this problem... Attached is the list of urls I
use to rsync  
all the DNSBL lists I can find.  I set the score of the rest
of them  
to 0. I also setup a local DCC server, and turned off razor.
 This  
helped a lot.  Also make sure the problem is really in SA,
my times  
were high with most of the time (80-90%) in SA check, it
turns out it  
was a mysql issue and tuning the sql server helped more then
the  
network tests...  If you are using network bayes test, try
pruning  
those or just clearing them and starting over and seeing if
that helps  
speed things up.

Here are my dnsbl lists...

rsync rsync://rsync.sorbs.net/combined/dnsbl.sorbs.net .
rsync -t rsync.dsbl.org::dsbl/rbldns-list.dsbl.org .
rsync rsync://rsync.cbl.abuseat.org/cbl/list.txt .
rsync rsync://rsync.cbl.abuseat.org/cbl/cbl-rbldnsd.extras
.
rsync -vaL rsync.njabl.org::njabl/rbldnsd/ njabl/
rsync -va rsync://ns0.rfc-ignorant.org/rfcirbl/fulldom.rfc-

ignorant.org .
fetch http://www.dn
swl.org/data/rbldnsd-dnswl

As for your real question, no there is no good way to know
what tests  
are taking the longest.  You can run a msg through SA using
-D and  
watch for lines like... (Might be slightly diff, this is
from an old  
version of SA that I have not altered)

debug: URIDNSBL: query for tbtf.com took 5 seconds to look
up  
(multi.surbl.org.:tbtf.com)
debug: URIDNSBL: query for slashdot.org took 5 seconds to
look up  
(multi.surbl.org.:slashdot.org)
debug: URIDNSBL: query for sitescooper.org took 5 seconds to
look up  
(multi.surbl.org.:sitescooper.org)
debug: URIDNSBL: queries completed: 12 started: 16

Also look for all of these lines..

dns: checking RBL list.dnswl.org., set dnswl-firsttrusted
dns: checking RBL list.dsbl.org., set dsbl-lastexternal

And make sure they are all valid lists still.  If you are
using an old  
version of SA or outdated rules could be some old stuff left
over.

On Dec 18, 2007, at 2:36 AM, Erik Weber wrote:

> I'm using external network tests but lately TIMING has
increased to
> about 4k ms and I assume one (or more) of them are
having latency
> issues. To help the problem (by setting up an rsync
version or  
> similar)
> I'd like to know which one. Is it possible for
amavisd-maia to report
> how long each test of SA is taking? I've tried to
enable $sa_debug and
> increasing $log_level to 5 without success.
>
> -- 
> Erik Weber
> _______________________________________________
> Maia-users mailing list
> Maia-usersrenaissoft.com
> http://www.renaissoft.com/mailman/listinfo/maia-users

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )