[squid-users] Squid crash - 3.5.21
hindsight1
suxikang1 at hisilicon.com
Sun Nov 10 12:13:09 UTC 2019
Hi,Alex
When running Squid4.8 on the arm using SMP. And setting 4 or 7,9 worker
,the same error occurred in the log.
>> Received Bus Error...dying,
Debugging the core file with gdb found that the address was not aligned.
Does it consider the case where only address-aligned access is supported on
arm
The question is, why is the type of Item in the PageStack class using
uint32_t, can it be replaced with uint64_t or size_t? When I change to
uint64_t, the problem disappears.
I tried another way to ensure that the theCapacity parameter passed in to
an even number also solves this problem.
Kind Regards,
hindsight
Alex Rousskov wrote
> On 10/03/2016 04:50 AM, Jasper Van Der Westhuizen wrote:
>> This morning I had some problems with some of our proxies. 2 Proxies in
>> cluster A crashed with the below errors. The shortly afterwards 4 in
>> cluster B did the same. Both clusters are configured to run their cache
>> in memory with SMP and 4 workers configured.
>>
>> FATAL: Received Bus Error...dying.
>
>
> There are at least two possible reasons:
>
> 1. A bug in Squid and
> 2. Memory overallocation by the OS kernel.
>
> To fix the former, the developers will need a stack trace (at least). I
> recommend filing a bug report after getting that trace and excluding
> reason #2. Squid wiki and various system administration guides explain
> how to make Squid dump core files.
>
> To check for memory overallocation, you can temporary start Squid v4.0
> with "shared_memory_locking on". Unfortunately, that squid.conf
> directive is not available in Squid v3. You may be able to emulate it
> using some OS-specific sysctl or environment variables, but doing so may
> be far from trivial, and I do not have instructions.
>
>
> HTH,
>
> Alex.
>
> _______________________________________________
> squid-users mailing list
> squid-users at .squid-cache
> http://lists.squid-cache.org/listinfo/squid-users
--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
More information about the squid-users
mailing list