Search squid archive

Re: Too many ERROR: Collapsed forwarding queue overflow for kid2 at 1024 items

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/15/21 7:43 AM, Loučanský Lukáš wrote:

> 2021/11/14 10:13:30 kid2| assertion failed: Transients.cc:221: "old == e"
> 2021/11/15 08:37:36 kid2| assertion failed: Transients.cc:221: "old == e"
> 2021/11/15 11:54:14 kid1| assertion failed: Transients.cc:221: "old == e"
> 2021/11/15 12:16:27 kid1| assertion failed: Transients.cc:221: "old == e"

I recommend ignoring queue overflows until the above assertions are
fixed because worker deaths cause queue overflows. Your Squid is buggy,
and those bugs essentially cause queue overflows.

The assertion itself is known as Bug 5134:
https://bugs.squid-cache.org/show_bug.cgi?id=5134

That bug has a speculative fix (master/v6 commit 5210df4). Please try it
if you can.


HTH,

Alex.


> -----Original Message-----
> From: Alex Rousskov [mailto:rousskov@xxxxxxxxxxxxxxxxxxxxxxx] 
> Sent: Friday, November 12, 2021 5:24 PM
> To: Loučanský Lukáš; squid-users@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Too many ERROR: Collapsed forwarding queue overflow for kid2 at 1024 items
> 
> On 11/11/21 10:19 AM, Loučanský Lukáš wrote:
> 
>> recently I'm facing too many ERROR: Collapsed forwarding queue 
>> overflow for kid2 at 1024 items lines in my Squid 5.2 log files.
> 
> We see those overflows when kids die. Do you see any FATAL messages, assertions, or similar deadly errors in cache.log?
> 
> 
>> Could someone elaborate how the queue is filled - what is clogging it?
> 
> The sender/writer sends messages faster than the recipient/reader is reading them, eventually exceeding the queue capacity (i.e. 1024 messages). These messages are about Store entries that may need synchronization across workers. Each message is very small.
> 
> 
>> I don't mind too much if I have to turn collapsed forwarding off
> 
> Most likely, the problem is not tied to collapsed forwarding. These queues were used for collapsed forwarding when they were added, but they are used for regular traffic as well in modern SMP Squids. We need to change the queue names (and related code/message text) to reflect the expanded nature of these queues.
> 
> 
> HTH,
> 
> Alex.
> 

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux