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

--- Comment #6 from Kevin A. McGrail <[email protected]> 2011-10-30 16:17:42 
UTC ---
(In reply to comment #4)
> I don't want to post -D output as it contains too much personal info and does
> not contain timestamps anyway.
> 
> I did a time of spamassassin --add-to-blacklist with a file of only 7 From:
> lines (nothing else), and it takes:
> 
> 11.49user 0.10system 0:11.63elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+296outputs (0major+10152minor)pagefaults 0swaps
> 
> A single spamassassin --add-addr-to-blacklist= takes:
> 
> 2.15user 0.07system 0:02.40elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+40outputs (0major+10098minor)pagefaults 0swaps
> 
> The backend is a gdbm db of 10MB.  The system is unloaded, and the results are
> very reproducable even when everything is in the cache.
> 
> So it looks like my results are comparable to yours, it is just that you
> consider it normal and I consider it slow.

I can only recommend you upgrade as I just used time spamassassin -D
--add-to-blacklist < tmp.lst to add 278 addresses listed with one From: line
after another as you described in a total of 3.590 seconds.

And more so, I have timestamps in my -D output.

Oct 30 11:57:20.033 [8389] dbg: auto-whitelist: adding address to blacklist:
removed
Oct 30 11:57:20.033 [8389] dbg: auto-whitelist: DB addr list: untie-ing and
unlocking
Oct 30 11:57:20.035 [8389] dbg: auto-whitelist: DB addr list: file locked,
breaking lock
Oct 30 11:57:20.036 [8389] dbg: locker: safe_unlock: unlink
/root/.spamassassin/auto-whitelist.lock
Oct 30 11:57:20.036 [8389] dbg: locker: mode is 384
Oct 30 11:57:20.036 [8389] dbg: locker: safe_lock: created
/root/.spamassassin/auto-whitelist.lock.devel.pccc.com.8389
Oct 30 11:57:20.036 [8389] dbg: locker: safe_lock: trying to get lock on
/root/.spamassassin/auto-whitelist with 0 retries
Oct 30 11:57:20.036 [8389] dbg: locker: safe_lock: link to
/root/.spamassassin/auto-whitelist.lock: link ok
Oct 30 11:57:20.037 [8389] dbg: auto-whitelist: tie-ing to DB file of type
DB_File R/W in /root/.spamassassin/auto-whitelist

In short, I can't replicate and I have no technical information to work with.

Recommend you try a newer version, look at the debug log or email the users
list and see if anyone has ideas.

Regards,
KAM

-- 
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