KpyM Telnet/SSH Server - Forum
Dead sessions
Michael Dead sessions
 
After a few days when I login to the telnet server, I see 10 sessions of dead apps. I usually close them. Are these timed out sessions? Please advise. Thanks.

Michael


Kroum Grigorov
 
Can you give me some more details.
Are you using KTS telnet or ssh?
On what OS?
What do you mean by dead apps? Is the corresponding term.exe(term-ssh.exe) process visible too?

Kroum


Michael Dead Sessions
 
I am using KTS telnet with Windows 2003 Server OS. Clients are hand held scanners with Linux OS. When I login to Windows Server, I see these Windows dialog boxes reporting that a session of my consol app terminated abnormally (like a crash). There is usually 10 of them which might have something to do with trace_level = 10 in my KTS.ini file. Hope this helps. Thanks.

Michael


Kroum Grigorov
 
Since the error messages come from your app, they might be caused by either session timeouts or dropped sessions.
When a session timeouts or connection drops KTS terminates all running apps started within the session. The running session apps are rather "forced" to terminate than "gracefully" closed. Ii is possible that the dialog boxes you see are coming from your app as it detects that it was "forced" to terminate. The best thing you can do is to tell users to exit your console app before closing the connection(hand held scanners client), however if the connection drops abnormaly you have nothing left to do.

Kroum


Michael Dead Sessions
 
Users have been told to exit the App before they disconnect or shut down the hand held device; however, as you know people will do what they do. So I am wondering is there a script, or something where KTS will call when the session is being terminated. All this script will do is a macro that will input commands to a console app to terminate gracefully? Thanks.

Michael


Kroum Grigorov
 
No, there's no "shutdown" script in current version.
I will consider adding this in some of the next releases.

Kroum


 

© 2007 - 2008 Kroum Grigorov
Powered by phpBB © 2001, 2005 phpBB Group