- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Runaway processes on disconnect
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2013 09:59 AM
тАО10-21-2013 09:59 AM
Runaway processes on disconnect
Hi,
We use Esker's Smarterm app to emulate VT420 terminals on our Open/VMS Ingerity system. I'll admit that we do have training issue here, however when our staff disconnect from VMS by clicking the "X" on the terminal emulation app, without logging off VMS first, we get runaway processes that chew up a very high percentage of our CPU.
We have devised a script to kill these runaway processes,but we would prefer not to get them in the first place.
Would appreciate any insights into what might be causing this and what we might do to prevent this from happening.
We are also working with Esker to try to add a script that send a logoff command when the app is closed.
Thanks
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2013 10:15 AM
тАО10-21-2013 10:15 AM
Re: Runaway processes on disconnect
Brian,
what images are running in these 'looping' processes ? Use SHOW PROC/CONT/ID=<pid> against some of those.
What typically happens, is that an image is sitting on a prompt, reading from the terminal. If the TELNET session gets terminated, there could very well be an IO error reading from the terminal. And the application might just re-try in case of an IO error when reading from the terminal. As fas as I remember, All-in-1 was some of those applications, which kept re-trying on failed terminal reads...
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2013 10:50 AM
тАО10-21-2013 10:50 AM
Re: Runaway processes on disconnect
Just to follow up on what Volker said, it's likely not the terminal emulator but the application the user is running, which may well have an exit handler that tries really hard to get confirmation from the user that they want to exit. Such an exit handler really ought to confirm the terminal is still there, probably by calling $GETJPI with DVI$_AVL.
When I saw this problem it was in a discontinued third-party app with no prospect of getting the exit handler fixed. So I wrote a program that periodically scanned all the interactive processes on the system and killed any with the terminal in an offline status. Kind of a big hammer but it worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2013 12:27 PM
тАО10-21-2013 12:27 PM
Re: Runaway processes on disconnect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2013 08:10 PM
тАО10-21-2013 08:10 PM
Re: Runaway processes on disconnect
Are the users running the same image via the terminal emulator or different images? If it's the same image then could that image be at fault?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2013 08:17 PM
тАО10-21-2013 08:17 PM
Re: Runaway processes on disconnect
Maybe I should have explained teh reason for my question... Years ago I had a client with a big problem that had been there for months. It was running a pay-TV application on VMS being accessed from PCs. Every time the PC session was terminated - either just the session or the PC switched off - the VMS system would go to 100% CPU for about 10 minutes.
The reason was simple. The exit handler in the pay-TV software wasn't working correctly and the database beneath it was rolling back after any abnormal termination of a connected VMS process. After the pay-TV software was corrected the problem disappeared.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2013 03:45 AM
тАО10-22-2013 03:45 AM
Re: Runaway processes on disconnect
Using the SDA MAP command with the values obtained with a working process utilizing the same softare should provide clues.
Contact me directly if you need more assistance.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2013 06:25 AM
тАО11-06-2013 06:25 AM
Re: Runaway processes on disconnect
Dan - Thanks for the info.
The tools you reference are not known to me, but I mucked about in VMS help and I think I was able to generate some data.
I will take you up on your office for assistance via private email.
Thanks!
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2013 12:23 PM
тАО11-13-2013 12:23 PM
Re: Runaway processes on disconnect
We also use SmarTerm and we get these runaway processes once in a while. It happens whenever the user X's out of SmarTerm without logging off. I looked into this deeply back in 2007. At first I looked at tcp/ip, and eventually came to the conclusion that somehow it was FMS that was the culprit. Do you use FMS? Anyway, the bottom line is we ended up writing a DCL program that monitors the system and automatically kills these runaway processes since we couldn't get FMS fixed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2013 04:49 AM
тАО11-14-2013 04:49 AM
Re: Runaway processes on disconnect
A solution is usually easy. It is the tracing of the exact problem that is tricky.
Dan