[squid-users] Debugging slow access

Steve Hill steve at opendium.com
Tue Jan 6 12:41:43 UTC 2015


On 05.01.15 20:11, Eliezer Croitoru wrote:

> Did you had the chance to take look at bug 3997:
> http://bugs.squid-cache.org/show_bug.cgi?id=3997

This could quite likely be the same issue.  See my other post this 
morning for details, but I've pretty much tracked this down to the 
Negotiate tokens being appended to user cache records in an unbounded 
way.  Eventually you end up with so many tokens (several thousand) that 
the majority of the CPU time is spent traversing the tokens.  A quick 
look at the NTLM code suggests that this would behave in the same way.

The question now is what the "correct" way is to fix it - we could 
specifically avoid appending "token" notes in the Negotiate/NTLM code, 
or we could do something more generic in the absorb() method.  (My 
preference is the latter unless anyone can think why it would be a bad 
idea).

-- 
  - Steve Hill
    Technical Director
    Opendium Limited     http://www.opendium.com

Direct contacts:
    Instant messager: xmpp:steve at opendium.com
    Email:            steve at opendium.com
    Phone:            sip:steve at opendium.com

Sales / enquiries contacts:
    Email:            sales at opendium.com
    Phone:            +44-1792-824568 / sip:sales at opendium.com

Support contacts:
    Email:            support at opendium.com
    Phone:            +44-1792-825748 / sip:support at opendium.com


More information about the squid-users mailing list