Keith wrote:
Hi there LTSPers,We run an ubuntu 8.10 / LTSP 5.0 classroom at our school. We have a quad-core server with 8G RAM and 26 clients. Gigabyte switches. So, on paper, it should cope with ease When the classes logout hundreds of processes are left open.So by trial and error I have come up with the following script (very simplistic and elementary but what the heck, it works!!) When I check htop: the 4 processors are down to nearly zero (0,6%, 0,6%, 0% and 0%) and the Mem is down to around 350/8094. Nice and clean.If anyone has a more efficient method let me know!
I wrote a little perl daemon for my system that watches for logins and logouts and cleans up the remaining processes. I've heard recommendations for gnome-watchdog, but since I started out with xfce instead of gnome I went this route instead. Earlier versions of LTSP5 wouldn't show users in the normal log files, so this keeps a log of that as well.
There are probably more efficient ways to do this, but it works so far. -Steve
ltsp_login_tracker.tgz
Description: application/compressed-tar
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_____________________________________________________________________
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
