Re: [squid-users] Debugging slow access

2015-01-07 Thread Eliezer Croitoru
Hey Steve, First of all thanks for all the notes. You made it possible to look at the bug before I understood how to reproduce it. I would like for the record to make sure we can reproduce it just for the tests list that I will add later to newer releases. Can you give me the details about any

Re: [squid-users] Debugging slow access

2015-01-06 Thread Steve Hill
On 06.01.15 12:15, Steve Hill wrote: Alternatively, A->absorb(B) could be altered to remove any notes from A that have the same keys as B's notes, before using appendNewOnly() to merge them? I've implemented this for now in the attached patch and am currently testing it. Initial results sugg

Re: [squid-users] Debugging slow access

2015-01-06 Thread Steve Hill
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

Re: [squid-users] Debugging slow access

2015-01-06 Thread Steve Hill
On 05.01.15 18:15, Amos Jeffries wrote: Can you try making the constructor at the top of src/HelperReply.cc look like this and see if it resolves the problem? HelperReply::HelperReply(char *buf, size_t len) : result(HelperReply::Unknown), notes(), whichServer(NULL) {

Re: [squid-users] Debugging slow access

2015-01-05 Thread Eliezer Croitoru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Did you had the chance to take look at bug 3997: http://bugs.squid-cache.org/show_bug.cgi?id=3997 The issue is being tested and there is something that causing it and from my understanding squid does something wrong but I cannot confirm it as the sour

Re: [squid-users] Debugging slow access

2015-01-05 Thread Steve Hill
On 05.01.15 16:35, Eliezer Croitoru wrote: Can you share the "squid -v" output and the OS you are using? Scientific Linux 6.6, see below for the squid -v output. I've now more or less confirmed that this is the cause of my performance problems - every so often I see Squid using all the CPU w

Re: [squid-users] Debugging slow access

2015-01-05 Thread Eliezer Croitoru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey Steve, Can you share the "squid -v" output and the OS you are using? Eliezer On 01/05/2015 06:29 PM, Steve Hill wrote: > On 10.12.14 17:09, Amos Jeffries wrote: > >>> I'm looking for advice on figuring out what is causing >>> intermittent high

Re: [squid-users] Debugging slow access

2015-01-05 Thread Steve Hill
On 10.12.14 17:09, Amos Jeffries wrote: I'm looking for advice on figuring out what is causing intermittent high CPU usage. It appears that the connections gradually gain more and more notes with the key "token" (and values containing Kerberos tokens). I haven't been able to reproduce the p

[squid-users] Debugging slow access

2014-12-10 Thread Steve Hill
I'm looking for advice on figuring out what is causing intermittent high CPU usage. I'm seeing this on multiple servers - most of the time everything is fine and I see the Squid workers using maybe 20% CPU each, but every so often all the workers sit at the top of the process list in "top",