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: ngtech1...@gmail.com <mailto:ngtech1...@gmail.com> Web: https://ngtech.co.il/ My-Tube: https://tube.ngtech.co.il/ From: squid-users <squid-users-boun...@lists.squid-cache.org> On Behalf Of Francesco Chemolli Sent: Tuesday, 2 August 2022 11:28 To: Frank Ansari <nabil1...@gmail.com> Cc: Squid Users <squid-users@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 <nabil1...@gmail.com <mailto:nabil1...@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@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@lists.squid-cache.org <mailto:squid-users@lists.squid-cache.org> http://lists.squid-cache.org/listinfo/squid-users -- Francesco
_______________________________________________ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users