[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Detached screens disappear - help debugging?

From: Leinartas, Michael
Subject: RE: Detached screens disappear - help debugging?
Date: Fri, 18 Dec 2009 14:08:55 -0600

My screen sockets are actually in /var/run/screen/S-<user>/

I can't find anything that would be clearing it (checked crons, logrotate, 
etc).  When these screens disappear, both the SCREEN process and the socket are 
gone. It seems almost like screen shuts itself down for some reason. If it were 
shutting down uncleanly (say a crash or a kill -9) it'd leave behind a socket, 

-----Original Message-----
From: Pandurangan R S [mailto:address@hidden 
Sent: Wednesday, December 16, 2009 9:29 PM
To: Leinartas, Michael
Cc: address@hidden
Subject: Re: Detached screens disappear - help debugging?

>> After detaching, my screen session will disappear some time after.

Is the screen process dead (check using ps) or you are not just able
to attach to the screen.

If the screen process is alive and "screen -ls" tells "No sockets found"
then it may the case that your sockdir (usually /tmp/uscreens/<user>)
is getting cleaned up!

My admin was wiping off the entire /tmp when diskspace was low and
this was causing me a similar issue.


On Wed, Dec 16, 2009 at 11:06 AM, Leinartas, Michael
<address@hidden> wrote:
> I've had a problem with screen on my home computer for quite some time
> that's been driving me crazy.  After detaching, my screen session will
> disappear some time after.  Sometimes an hour later it's there, sometimes
> it's not.  It's nearly always gone if I leave it overnight.  I never have
> any problems if I'm attached - if I say, leave a screen session on the
> console open for 3 days, it'll be fine. It also doesn't seem to matter how
> many terminals are in the session or whether they're idle at a prompt or
> running something.
> So where can I start figuring out what's causing these sessions to die?  It
> doesn't  seem to be anything obvious like an oom killer (nothing in dmesg).
>  I've checked the system crons in /etc/cron.* and it doesn't look like
> there's anything wiping stuff in /var/run or anything.
> Some system details incase it matters to anyone:
> Screen 4.0.3
> Debian squeeze (same problem when I was on lenny) amd64 arch
> linux-2.6.32 (vanilla)
> AMD quad core (Phenom II)
> 4gb ram
> I'd appreciate any help on this because it's driving me nuts.
> michael
> _______________________________________________
> screen-users mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]