https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6407

           Summary: Updating the AWL is very slow
           Product: Spamassassin
           Version: 3.2.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamassassin
        AssignedTo: [email protected]
        ReportedBy: [email protected]


When using "spamassassin --add-addr-to-blacklist=xxx" to add an entry to
the AWL, it takes several seconds to do the update, consuming a lot of CPU
time.

Even when using "spamassassin --add-to-blacklist" to add a number of addresses
taken from a file like this:

From: <addr1>
From: <addr2>
... etc

it still takes well over a second per address processed.  The lines of output
SpamAssassin auto-whitelist: adding address to blacklist: 
appear very slowly.

This is on a not-so-new machine, CPU is a Intel(R) Pentium(R) 4 CPU 2.40GHz.

I could understand some overhead for starting a large perl script for adding
a single address, but when adding multiple addresses I would expect this
overhead to occur only once.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to