On Mon, Apr 24, 2000 at 04:26:44PM +0530, vipin Aravind wrote
> potential bug . Iam working on a windows m/a and am
> using the linux server by telneting but to my surprise the /etc/utmp and
> the ps -el cribs . my windows 95 m/c crashed and to my surprise I found
> that the ps -el
> still shows the sh ( which corresponded to the tty
> line I opened earlier before the crash). the tty line
> still exists and the utmp entry shows that the process
> isn't dead and is assosciated with the tty .
> Iam sure such a situation won't happen for a dumb terminal in a unix network
> since there is no question of a crash and the only max limit is to switch
> the terminal on and off , in such a situation the getty will be respawned
> and the older tty line is lost and a fresh on eis restarted.
This is pretty normal for a network connection like telnet. When
your Win95 box crashed it didn't signal your server that it was
crashing, it just stopped sending & receiving packets. When
you're using a connection-oriented protocol (like telnet) at
some layer packet acknowledgements will be tracked and
unacknowledged packets resent after a suitable timeout, and
several re-transmissions may occur over a significant amount of
time before the connection is declared dead (otherwise, telnet/ssh
over congested long-haul links would be futile).
With a serial connection there are hardware lines that are
considered reliable (like CD or DTR) that may (or, may not)
be used to monitor the health of the connection more closely.
http://www.mdt.net.au/~john Debian Linux admin & support:technical services
- From: "vipin Aravind" <firstname.lastname@example.org>