[squid-users] xcalloc error when installing squid in container on CentOS 9 host

ngtech1ltd at gmail.com ngtech1ltd at gmail.com
Tue Aug 2 12:17:27 UTC 2022


I will try to publish a CentOS 9 version later on to make sure it will work on a VM.
 
Thanks,
Eliezer
 
----
Eliezer Croitoru
NgTech, Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd at gmail.com <mailto:ngtech1ltd at gmail.com> 
Web: https://ngtech.co.il/
My-Tube: https://tube.ngtech.co.il/
 
From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of Francesco Chemolli
Sent: Tuesday, 2 August 2022 11:28
To: Frank Ansari <nabil1385 at gmail.com>
Cc: Squid Users <squid-users at lists.squid-cache.org>
Subject: Re: [squid-users] xcalloc error when installing squid in container on CentOS 9 host
 
Hi Frank,
  could you share what does your configuration look like (minus any confidential bits)? And I assume you're running the version of squid packaged by the distros?
 
 
On Tue, Aug 2, 2022 at 9:22 AM Frank Ansari <nabil1385 at gmail.com <mailto:nabil1385 at gmail.com> > wrote:
Hi,
 
I have found a weird issue with CentOS 9.
 
So far I had squid running on a CentOS 8 system within an Alpine Linux Container and this has worked.
 
Now I installed CentOS 9 and also latest Alpine Linux with squid 5.5.
 
Squid refuses to start and when I run "squid -z" I get this error:
 
[root at 324ae7d5e4db /]# 2022/08/01 08:01:47| FATAL: xcalloc: Unable to allocate 1073741816 blocks of 432 bytes!

2022/08/01 08:01:47| Squid Cache (Version 5.5): Terminated abnormally. 
CPU Usage: 0.002 seconds = 0.000 user + 0.002 sys
Maximum Resident Size: 31744 KB
Page faults with physical i/o: 0
 
My question: has anybody the same issue? Why is squid asking for 432 GB?
 
This seems to have nothing to do with my squid.conf. Whatever I change there has no effect at all.
 
The CentOS 9 VM is running on Proxmox and has 4 GB RAM.
 
I also tried to install Debian 11 and Ubuntu 20 and 22 containers and similar errors.
 
My last try was to install a CentOS 9 conatiner on the CentOS 9 host and also this gives the same error.
 
I have now installed squid 5.5 directly on the OS but I still curios why it refuses to run in any kind of container.
 
 
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org <mailto:squid-users at lists.squid-cache.org> 
http://lists.squid-cache.org/listinfo/squid-users


 
-- 
    Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20220802/d64ffaf5/attachment-0001.htm>


More information about the squid-users mailing list