Public bug reported: Recently upgraded to Ubuntu 22.04.5 with all packages updated to latest, including squid
squid/jammy-updates,jammy-security,now 5.9-0ubuntu0.22.04.2 amd64 [installed] Full featured Web Proxy cache (HTTP proxy GnuTLS flavour) During initial testing the system appeared to be operating as expected went to bed only to wake up to user complaints of no internet. A quick restart of squid returned it to service (though prior to that systemctl status squid showed it as online). Started seeing these errors: Sep 25 08:47:26 squid-brk-ad squid[5961]: Squid Parent: squid-3 process 8903 exited due to signal 6 with status 0 Sep 25 08:47:26 squid-brk-ad squid[5961]: Squid Parent: squid-3 process 8903 will not be restarted for 3600 seconds due to repeated, frequent failures Some additional research and I think this is related to this Squid issue: https://bugs.squid-cache.org/show_bug.cgi?id=5154 Which from the last comment implies the bug was resolved in v6 but not back ported to 5.9 The current work around is to disable ipv6 on the host using systctl.conf: # disabling ipv6 to (hopefully) solve a squid issue net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 followed by sysctl -p So far that seems to have resolved the issue as Squid now fails to ping the localhost on ipv6 and so does not attempt to retrieve content via ipv6 endpoints. I don't know if a Squid v6 is in the near future for Ubuntu, but if possible the current version of Squid could either be compiled with --disable-ipv6 or patched based on that commit. Happy to provide more details, let me know what you need. $ lsb_release -rd Description: Ubuntu 22.04.5 LTS Release: 22.04 $ apt-cache policy squid squid: Installed: 5.9-0ubuntu0.22.04.2 Candidate: 5.9-0ubuntu0.22.04.2 Version table: *** 5.9-0ubuntu0.22.04.2 500 500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 100 /var/lib/dpkg/status 5.2-1ubuntu4 500 500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages ** Affects: squid (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2081994 Title: squid 5.9 crash during ipv6 requests To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid/+bug/2081994/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs