Unable to resume screen session following accidental disconnection
From:
Samir Unni
Subject:
Unable to resume screen session following accidental disconnection
Date:
Wed, 2 Jul 2008 11:27:28 -0500
Hi,
I was using screen, and my session was disconnected while outputting a lot of text (presumably due to a router choking---the upwidth for the remote box is pretty low, only about 13 kB/s). When the line was back up, I attempted to resume my screen session, but it was already attached (presumably because the connection was dropped unexpectedly). However, none of the commands I try, including screen -r [pid], screen -d [pid], screen -R [pid], screen -D [pid], screen -rD [pid], screen -RD [pid], screen -rd [pid], and screen -Rd [pid] will reattach this session. I tried running an strace on the pid, and it says that it's still outputting text. After waiting a while, I somehow managed to get the sesion to reattach---I'm not sure how. The problem occured again shortly afterwards, and I can't figure out how to actually fix it. Any ideas?