I've got only a small LTSP (4 Clients), but i do have to restart the server
every 2-5 days!!
Why? After this period of time, i get "Too many retransmissions", and the
clients can't connect.
I read the FAQ, where this problem is "solved" via a cronjob, but i am not
really satisfied with this:
----------------------------------------------------------------------------
#kill old leftover processes - all of them
users=$(awk -F":" '{if ( $3 >= 500 ) print $1}' /etc/passwd | grep -v -e smb
-e ^nfs )
for user in $users do#kill old leftover processes - all of them
users=$(awk -F":" '{if ( $3 >= 500 ) print $1}' /etc/passwd | grep -v -e smb
-e ^nfs )
for user in $users do
processes=$(ps -ef | grep ^"$user " | grep -e Jan[0-9] -e Feb[0-9]
-e Mar[0-9] -e Apr[0-9] -e May[0-9] -e Jun[0-9] -e Jul[0-9] -e Aug[0-9] -e
Sep[0-9] -e Oct[0-9] -e Nov[0-9] -e Dec[0-9] |awk '{print $2}')
for process in $processes
do
kill -9 $process
done
done
processes=$(ps -ef | grep ^"$user " | grep -e Jan[0-9] -e Feb[0-9]
-e Mar[0-9] -e Apr[0-9] -e May[0-9] -e Jun[0-9] -e Jul[0-9] -e Aug[0-9] -e
Sep[0-9] -e Oct[0-9] -e Nov[0-9] -e Dec[0-9] |awk '{print $2}')
for process in $processes
do
kill -9 $process
done
done
----------------------------------------------------------------------------
WHY are theese processes leftover? And which processes are killed exactly with
this script? EVERY process? Am i right?
And if yes, what can i do, if i want a terminalserver that runs 24 hours?
Because then, i can't kill all processes in between, i would kill active
users in that moment...
So, how can i solve this professionally for a 24h/7d-Server?
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_____________________________________________________________________
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