From: "Mr. Daniel Browne" <dbrowne@(email surpressed)> Subject: Online idle linux machines Date: Fri, 06 Apr 2012 22:14:26 -0400 |
Msg# 2203 View Complete Thread (4 articles) | All Threads Last Next |
Does anyone have a good technique for automatically onlining a linux machine if a user has left their desktop session logged in after they leave? I'm trying some experiments with a perl script keying off of gnome screensaver activity but I somehow don't think it will work, at least not with the calls I'm using. -Dan ---------- Dan "Doc" Browne System Administrator Evil Eye Pictures dbrowne@(email surpressed) Office: (415) 777-0666 x105 |
From: Greg Ercolano <erco@(email surpressed)> Subject: Re: Online idle linux machines Date: Sat, 07 Apr 2012 12:00:46 -0400 |
Msg# 2205 View Complete Thread (4 articles) | All Threads Last Next |
On 04/06/12 19:14, Mr. Daniel Browne wrote: > [posted to rush.general] > > Does anyone have a good technique for automatically onlining a linux = > machine if a user has left their desktop session logged in after they = > leave? I'm trying some experiments with a perl script keying off of = > gnome screensaver activity but I somehow don't think it will work, at = > least not with the calls I'm using.=20 The trouble with this is you don't want to online the box if the person leaves the machine with interactive renders running. Or consider the situation where the director of the show is doing an onsite visit, and the artist loads up a large, slow to load image playback, and leaves it in 'pause', then runs off to the director's meeting; screensaver kicks in, machine goes online, renders kick in and need the memory, the OOM killer is triggered when the machine starts running out of ram, killing the playback, and when the director comes over to the artist's workstation, the loaded playback has been killed. There's the worse case where the artist leaves a scene loaded up with unsaved work because they take a long phone call, and if the render kicks in and happens to run the machine out of memory triggering the OOM, you again have a case where it may kill the app and the artist looses their work. It's best if the artist logs out if they're really leaving for the day, to ensure nothing is left running. Otherwise your screensaver app might as well auto-log them out, because renders can kill apps or the machine. -- Greg Ercolano, erco@(email surpressed) Seriss Corporation Rush Render Queue, http://seriss.com/rush/ Tel: (Tel# suppressed)ext.23 Fax: (Tel# suppressed) Cel: (Tel# suppressed) |
From: "Mr. Daniel Browne" <dbrowne@(email surpressed)> Subject: Re: Online idle linux machines Date: Mon, 09 Apr 2012 15:21:40 -0400 |
Msg# 2206 View Complete Thread (4 articles) | All Threads Last Next |
We have a form of this script already for our Macs which only onlines between the hours of 10pm and 8am. On Apr 7, 2012, at 9:00 AM, Greg Ercolano wrote: [posted to rush.general] On 04/06/12 19:14, Mr. Daniel Browne wrote: > [posted to rush.general] > > Does anyone have a good technique for automatically onlining a linux = > machine if a user has left their desktop session logged in after they = > leave? I'm trying some experiments with a perl script keying off of = > gnome screensaver activity but I somehow don't think it will work, at = > least not with the calls I'm using.=20 The trouble with this is you don't want to online the box if the person leaves the machine with interactive renders running. Or consider the situation where the director of the show is doing an onsite visit, and the artist loads up a large, slow to load image playback, and leaves it in 'pause', then runs off to the director's meeting; screensaver kicks in, machine goes online, renders kick in and need the memory, the OOM killer is triggered when the machine starts running out of ram, killing the playback, and when the director comes over to the artist's workstation, the loaded playback has been killed. There's the worse case where the artist leaves a scene loaded up with unsaved work because they take a long phone call, and if the render kicks in and happens to run the machine out of memory triggering the OOM, you again have a case where it may kill the app and the artist looses their work. It's best if the artist logs out if they're really leaving for the day, to ensure nothing is left running. Otherwise your screensaver app might as well auto-log them out, because renders can kill apps or the machine. -- Greg Ercolano, erco@(email surpressed) Seriss Corporation Rush Render Queue, http://seriss.com/rush/ Tel: (Tel# suppressed)ext.23 Fax: (Tel# suppressed) Cel: (Tel# suppressed) ---------- Dan "Doc" Browne System Administrator Evil Eye Pictures dbrowne@(email surpressed) Office: (415) 777-0666 x105 |
From: Greg Ercolano <erco@(email surpressed)> Subject: Re: Online idle linux machines Date: Mon, 09 Apr 2012 15:25:12 -0400 |
Msg# 2207 View Complete Thread (4 articles) | All Threads Last Next |
On 04/09/12 12:21, Mr. Daniel Browne wrote: > We have a form of this script already for our Macs which only onlines = > between the hours of 10pm and 8am. I see. I know there are screensavers out there that let you run a shell command when they kick in, but I don't have references to them because they seem to come and go, and seems to sometimes be OS version specific. -- Greg Ercolano, erco@(email surpressed) Seriss Corporation Rush Render Queue, http://seriss.com/rush/ Tel: (Tel# suppressed)ext.23 Fax: (Tel# suppressed) Cel: (Tel# suppressed) |