On Fri, July 7, 2006 10:38 am, Roy Souther wrote: > A few months ago I posted how I made an IceWM desktop session run under > VNC to give people the ability to logout and keep their desktop running > on the server so they can resume their session again later. This works > great. I have it setup for a few teachers at the school but now I want > to expand it and make it the default desktop for everyone. This will use > a lot of RAM. > > Is there any way to suspend or hibernate a single application, or is > there anyway to force the Linux Kernel to move an application out of RAM > and into swap and then just ignore it until told otherwise? > > If I renice an application to +20 it still continues to use CPU > resources, that's not good enough. I want to pause the program and all > of the sub-processes that it spawned. And then un-pause it or wake it up > again when the user resumes their desktop session. > > Is this possible? Is there a kernel patch to do this? Should there be?
There's no patch that I know of, to take individual processes and suspend them. Only entire systems, like laptops when you hibernate them. If Icewm is still taking resources while idle, it's likely because Icewm by default has a couple of applets running, like the net-monitor and clock on the taskbar. The network-monitor will cause alot of network and cpu resources to be used, and the clock will also do that. If your clock is displaying seconds, it'll do that once every second. In Icewm, it's not hard to change the clock display to only show hours:minutes. That could help alot. Once the application is idle (I mean really idle), then the VM subsystem in the kernel will take care of swapping it out, if it determines that the ram can be better used for something else (other processes, disk buffers, etc). So, basically, figure out what's still running within Icewm, and tell it not to run. That'll make it go idle, and eventually swap out. Jim McQuillan [EMAIL PROTECTED] > > > > Royce Souther > www.SiliconTao.com > Let Open Source help your business move beyond. > > For security this message is digitally authenticated by GnuPG. > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.freenode.net > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
