On Apr 8, 2005 2:16 PM, ian sison (mailing list) <[EMAIL PROTECTED]> wrote: > Secondly, there are certain problems associated with deploying LTSP solutions: > > - for one reason or another, there are cases when the remote session > disconnects from the server (power failure? network problems?) So the > desktop is rebooted, but alas, the programs the user was running are > still running on the server. Now the sysad has to kill each program > one by one... There is no 'watchdog' program that takes care of this > yet, at least not to my knowledge. GNOME is also notorious for > leaving behind some programs even though the user has already logged > out. Some say this is may be intentional, I say it's a bug.
Hmm... would be simple to write a shell script which executes at logout (i.e. ~/.bash_logout or similar) that kills all tasks running as that user. But then again, I'm not well-versed with LTSP... ;) > - in the course of running LTSP based systems, it may be that one > user, possibly not intentionally, can take up *a lot* of resources, > both CPU and memory, thus slowing everyone else down. Sometimes, > untrained users (or those who are truly impatient) contribute to this > by repeatedly clicking an icon, thereby launching multiple instances > of a program - bringing the entire network to a crawl.There should be > a way to limit the amount of resources a user can consume, so that > there will be no possibility of an accidental (or intentional) DoS. Isn't this a tunable on all Linux systems? IIRC, can't remember exactly off-hand, something to do with the maximum number of processes you can spawn or what not. Or maybe someone could write a kernel patch to limit the number of processes a user can spawn within a certain time limit (i.e. 10 processes per second at the most, after that the kernel just kills processes?) Of course, disclaimer: I'm not well-versed with LTSP nor have I deployed LTSP. -- JM Ibanez -- A good world needs knowledge, kindliness, and courage; it does not need a regretful hankering after the past or a fettering of the free intelligence by the words uttered long ago by ignorant men. -- Bertrand Russell ----- http://www.livejournal.com/~jmibanez/ http://www.mycgiserver.com/~butiki/ -- Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
