On Wed, 16 Jul 2003 [EMAIL PROTECTED] wrote:
> F. Rustedt,
> Sorry, but GDM just has problems.
>
> It has a problem with dropping sessions that are finished. Keeping
> them around, eventually running out of sessions.
>
> I've never had a problem with XDM or KDM.
> On Wed, 16 Jul 2003, qeldroma wrote:
> > i have made a LTSP with five clients but some errors occured with while
> > running:
> > after about 6 hours with activity, the gdm doesn't accept any more sessions,
> > "Too many retransmissions".
> >
> > I solved this by now with tidy up /tmp, it seems to be a little bit more
> > stable then. But now, after about three days, the same.
> > So i restart the server every night, so it runs again one day.
> >
> > I don't like this solution, because it is dirty and not what i expected from
> > Linux.
> >
> > It seems that gdm/XFS are not stable in handling the sessions, there are often
> > some outdated Kde- /Mcop- or KSocket-directories left, which are from
> > previous sessions but not killed/removed after the next login of the
> > according user.
> >
> > If i logg in and out several times in some minutes interval, i can force this
> > error.
> >
> > GDM is set to 60 sessions, so it should obviously be able to handle this?! The
> > "ping intervall" is set to 1, the "max. waiting time" to 1....
> >
> > Hardware is professional, a server with several switches, all is running in
> > 100MBit-FullDuplex without collisions or errors.
> >
> > The Firewall is in the router to the outer world, so no contact to the LAN. In
> > other words, all is open in the LAN.
> >
> > Any ideas??
Well, F. and Jim, GDM doesn't always clear the sessions gracefully, but
KDM has other "interesting" problems. Here is a qickie solution to what
ails F. - run the following from cron every night and you won't have to
call the doctor in the morning ;-)
#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
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_____________________________________________________________________
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