[squid-dev] Memory error

William Lima william.lima at hscbrasil.com.br
Wed May 24 18:34:24 UTC 2017


Hi Alex!

I started with no cache to try and the errors (assert) still occurs.

William Lima

----- Original Message -----
From: "Alex Rousskov" <rousskov at measurement-factory.com>
To: "William Lima" <william.lima at hscbrasil.com.br>
Cc: squid-dev at lists.squid-cache.org
Sent: Wednesday, May 24, 2017 2:35:07 PM
Subject: Re: [squid-dev] Memory error

On 05/24/2017 11:29 AM, William Lima wrote:
> 
> Sharing a single cache_dir (diskd) entry for a multiple worker setup is a valid approach, right?

No, it is not valid. Diskd is not SMP-aware. Using a single diskd
cache_dir with multiple workers results in undefined behavior which may
include stuck transactions, wrong content served, assertions, core
dumps, etc.

The same applies to all other cache_dirs except for rock.

Alex.


> ----- Original Message -----
> From: "Amos Jeffries" <squid3 at treenet.co.nz>
> To: "William Lima" <william.lima at hscbrasil.com.br>, squid-dev at lists.squid-cache.org
> Sent: Wednesday, May 24, 2017 10:13:53 AM
> Subject: Re: [squid-dev] Memory error
> 
> On 24/05/17 06:00, William Lima wrote:
>> Hi,
>>
>> I'm saw errors like these below:
>>
>> 2017/05/23 14:35:34 kid2| helperHandleRead: unexpected reply on channel 0 from redirector #Hlpr2 '220543.35796293814'
>> 2017/05/23 14:35:34 kid2| helperHandleRead: unexpected reply on channel 0 from redirector #Hlpr2 '3380'
>> 2017/05/23 14:35:34 kid2| helperHandleRead: unexpected reply on channel 0 from redirector #Hlpr2 '2'
>> 2017/05/23 14:35:34 kid2| helperHandleRead: unexpected reply on channel 0 from redirector #Hlpr2 'd'
>> 2017/05/23 14:35:34 kid2| helperHandleRead: unexpected reply on channel 0 from redirector #Hlpr2 'null"'
>>
>> It seems like a memory corruption, since sometimes the srv->rbuf data shows some HTML content not related to a valid reply.
>> I'm currently using squid 3.5.25.
>>
>> Any clue?
>>
> 
> Any other data available?
>   for example what the helper is being passed by Squid and what it 
> thinks is being sent back to Squid?
> 
> Amos
> 
> 
> _______________________________________________
> squid-dev mailing list
> squid-dev at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-dev
> 



More information about the squid-dev mailing list