because there is active discussion, here my 2 ct:

* we mirror repositories internally and had this issue with lighttpd and
per default active KTLS[1]. Since disabling KTLS, apt works fine again.

* before we tried to mitigate the problem on each client with:

ss --tcp state CLOSE-WAIT '( dport = 443 and dst <IP of repo-server )'
-p | grep 'pid=' | cut -d'=' -f 2 | cut -d',' -f 1 | xargs -r -t kill

[1] https://delthas.fr/blog/2023/kernel-tls/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2003851

Title:
  occasional hanging 'apt-get update' from daily cronjob since Jammy
  22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2003851/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to