You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/07/30 23:31:37 UTC

[Bug 3637] spamd child in a loop

http://bugzilla.spamassassin.org/show_bug.cgi?id=3637

dallase@nmgi.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |blocker



------- Additional Comments From dallase@nmgi.com  2004-07-30 14:31 -------
okay guys.. after about a week of fighting spamd hangups, i've finally was able 
to obtain a copy of the message that does it.  

i have debugged it out, and come to the conclusion the problem lies in the 
header test UNRESOLVED_TEMPLATE.

i added 

        dbg ( "rule is '.$rulename.'" );

to the evalstr2 code in PerMsgStatus.pm so i could see what head_test it 
stopped on.  my spamd -m1 -D output shows...

debug: rule is __OUTLOOK_DOLLARS_OTHER
debug: rule is RATWARE_DIFFOND
debug: rule is __OE_MSGID_1
debug: rule is __OE_MSGID_2
debug: rule is __BAT_BOUNDARY
debug: rule is __CTYPE_MULTIPART_ALT
debug: rule is ADDR_FREE
debug: rule is HELO_DYNAMIC_TELIA
debug: rule is UNRESOLVED_TEMPLATE

and then nothing more happens.  after setting  
echo "score UNRESOLVED_TEMPLATE 0" >> /etc/mail/spamassassin/local.cf
and restarting spamd, everything is just peachy.

i will attach the message in question in just a sec.  removing the 1200 or so 
Bcc lines will also allow this message to be scanned.   

Also, with those 1200 BCC lines in there, and UNRESOLVED_TEMPLATE not running, 
the message still takes nearly 10 seconds scan.  And removing those 1200 lines, 
it only take 0.2 seconds

I guess Dprof will show what the slow tests still are, but my Dprof segfaults 
everytime on perl 5.6.1 :)   can someone else please dprof it and see what 
other than UNRESOLVED_TEMPLATE may be slow here?  



dallas








------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.