- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- SPAWNed process termination causes runaway
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
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
тАО07-22-2009 12:38 PM
тАО07-22-2009 12:38 PM
SPAWNed process termination causes runaway
Using a terminal emulation program, we connect to the system. It doesn't matter whether it is TELNET, SSH or LAT. We then execute a command procedure that all it has in it is:
$ SPAWN
This connects us to the spawned process. From that spawned process we run any program the prompts for input (just try $ MCR AUTHORIZE) and just let it sit there. We then just close the terminal emulation window.
If you then look at the sub-process that was created with the SPAWN, the process is running-away, accumulating CPU about as fast as it can. The working set size ever so slowly creeps up but no other counts/quotas.
We have tested this on Alpha V8.3 and Itanium V8.3 and it works as expected in that the sub-process and its associated main program die when the window is closed.
Anyone have any ideas / experiences ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 11:34 PM
тАО07-22-2009 11:34 PM
Re: SPAWNed process termination causes runaway
Note that entering the SPAWN command at the DCL prompt doesn't have this effect, the CPU loop only happens if the SPAWN command is in a DCL procedure.
I'd call this a bug, and you should log a support call with HP.
Regards,
Jeremy Begg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 11:40 PM
тАО07-22-2009 11:40 PM
Re: SPAWNed process termination causes runaway
Jur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 04:00 AM
тАО07-23-2009 04:00 AM
Re: SPAWNed process termination causes runaway
You are absolutely correct. The original SPAWN must come from a command procedure. Doing the SPAWN from the command line works fine. Additionally, the SPAWNed process must be running a program that is expecting input. Using DCL READ or INQUIRE however won't cause the same problem.
Jur:
The problem occurs with the initial release of V8.3-1h1 and after each of the 6 updates for this version.
I thought I would post here before logging a call to HP as I am surprised that it has not already been reported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 05:13 AM
тАО07-23-2009 05:13 AM
Re: SPAWNed process termination causes runaway
If you want to use AUTHORIZE why not just type:
$ MCR AUTHORIZE
Craig A
(who is obviously missing something)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 05:23 AM
тАО07-23-2009 05:23 AM
Re: SPAWNed process termination causes runaway
There is a bigger picture here. Basically, I presented this issue as bare-bones ... just stating the root of the problem as simply as possible.
We have a command procedure that is basically a menu processor, that allows certain users to SPAWN out of the process to do other things. When the user did a SPAWN and ran any program that prompted for input (I just used AUTHORIZE as an example) and would then just simply close the terminal session, without logging out and going back to the original session, the SPAWNed process would start consuming CPU time at a very rapid rate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 05:58 AM
тАО07-23-2009 05:58 AM
Re: SPAWNed process termination causes runaway
OK. Sounds like some user edjumacation is required.
:-)
Craig A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 06:59 AM
тАО07-23-2009 06:59 AM
Re: SPAWNed process termination causes runaway
Patch kit VMS831H1I_DCL-V0100 says
5.2.4 Looping In Loginout During Terminal Hangup
5.2.4.1 Problem Description:
When a parent process has its nodelete bit set and spawns a subprocess, if the subprocess is still active and the terminal attached to it is closed, the parent process
goes into a loop with 100% CPU utilization.
Images Affected:
- [SYSEXE]DCL.EXE
Thanks guys !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 07:00 AM
тАО07-23-2009 07:00 AM
Re: SPAWNed process termination causes runaway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 02:53 PM
тАО07-23-2009 02:53 PM
Re: SPAWNed process termination causes runaway
experiences...
I once issued an AUTHORIZE command via RSH to a system which didn't have SYSUAF defined. It didn't work, so I repeated the command as "PIPE DEFINE SYSUAF SYS$SYSTEM:SYSUAF ; MCR AUTHORIZE
A week or so later... the disk was full!
The first RSH command didn't terminate. AUTHORIZE looped asking if I wanted to create a new SYSUAF. The prompts ended up in the TCPIP$RSH_RUN.LOG file.
Sounds similar to your case, but I'm not convinced that it's something that DCL can fix, as it depends somewhat on the behaviour of the application.
Bottom line is you have to be very careful when executing remote commands.