For a while now I've been using Byobu to manage screen sessions for me. However I've run into a strange issue: The session keeps locking. By locking I mean that I can't type anything, and only if I wait a few minuites does unlock and do everything I typed in before.
Currently its getting worse. The session keeps locking every minute or so. Even when I've restarted Putty, switched from Private Key auth to password auth, and even changed Putty installations, it still freezes. Its gotten to the point where I'll login and the current window is frozen but I'm able to switch to another window, only for that to freeze in a few seconds.
Another new development is that sometimes when I first login Byobu won't even come up, it will just sit there after the "Last login" line. One time I got a WriteMessage: Broken pipe
error and it dropped to normal shell without byobu.
Strangely the tunnel's I've opened up still work. I was able to check the CPU graphs and saw that the server wasn't under any load, meaning that the session didn't freeze because it had other things to do.
Any suggestions on how to fix this?
reset
, although I don't think it work work as changing windows is also frozen.top
to see if it's taking CPU time. Runstrace -p1234
(where 1234 is thescreen
PID) to see what it's doing, and ditto for theSCREEN
process. You'll need to be running ascreen
that's not setuid or setgid, or runstrace
as root.