On Mon, Jul 15, 2024 at 02:13:26PM +0200, Linus Lüssing wrote: > Since an "apt-get update && apt-get dist-upgrade" on Debian Sid about > one or two months ago starting GNU screen or any new tab within hangs > for about 10-15 seconds. During that time the SCREEN process is seen > with 100% CPU usage in htop. > > I could narrow the issue down to the "unlimit" line at the very start of > my ~/.zshrc. I think I had added this one (plus "limit stack 8192" and > "limit core 0" a long time ago to enable coredumps of crashing > processes with systemd-coredump / coredumpctl. However this issue only > appeared after the update in the last one or two months.
I ran into the same issue and to me it looks like upstream bug about a large RLIMIT_NOFILE https://savannah.gnu.org/bugs/?55618 > Removing the "unlimit" line from my ~/.zshrc fixes the problem. indeed, e.g. ulimit -n 8192 worked for me to get screen to work