<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SPAWNed process termination causes runaway in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188968#M26669</link>
    <description>This works fine on my system. Did you install the latest UPDATE patchkit?&lt;BR /&gt;&lt;BR /&gt;Jur.&lt;BR /&gt;</description>
    <pubDate>Thu, 23 Jul 2009 06:40:43 GMT</pubDate>
    <dc:creator>Jur van der Burg</dc:creator>
    <dc:date>2009-07-23T06:40:43Z</dc:date>
    <item>
      <title>SPAWNed process termination causes runaway</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188966#M26667</link>
      <description>We have an Itanium running OpenVMS v8.3-1H1. The heart of the matter situation is this ...&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;             $ SPAWN&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Anyone have any ideas / experiences ?&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Jul 2009 19:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188966#M26667</guid>
      <dc:creator>Allan Large</dc:creator>
      <dc:date>2009-07-22T19:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: SPAWNed process termination causes runaway</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188967#M26668</link>
      <description>I just tried this on my rx2660 running VMS 8.3-1H1 with MultiNet and it did exactly as you described.  The spawned subprocess consumes a full CPU.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;I'd call this a bug, and you should log a support call with HP.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jeremy Begg</description>
      <pubDate>Thu, 23 Jul 2009 06:34:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188967#M26668</guid>
      <dc:creator>Jeremy Begg</dc:creator>
      <dc:date>2009-07-23T06:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: SPAWNed process termination causes runaway</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188968#M26669</link>
      <description>This works fine on my system. Did you install the latest UPDATE patchkit?&lt;BR /&gt;&lt;BR /&gt;Jur.&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jul 2009 06:40:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188968#M26669</guid>
      <dc:creator>Jur van der Burg</dc:creator>
      <dc:date>2009-07-23T06:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: SPAWNed process termination causes runaway</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188969#M26670</link>
      <description>Jeremy:&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jur:&lt;BR /&gt;&lt;BR /&gt;The problem occurs with the initial release of V8.3-1h1 and after each of the 6 updates for this version.&lt;BR /&gt;&lt;BR /&gt;I thought I would post here before logging a call to HP as I am surprised that it has not already been reported.&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jul 2009 11:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188969#M26670</guid>
      <dc:creator>Allan Large</dc:creator>
      <dc:date>2009-07-23T11:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: SPAWNed process termination causes runaway</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188970#M26671</link>
      <description>If the only thing in the command procedure is SPWAN then can I ask why you bother doing that at all?&lt;BR /&gt;&lt;BR /&gt;If you want to use AUTHORIZE why not just type: &lt;BR /&gt;&lt;BR /&gt;$ MCR AUTHORIZE&lt;BR /&gt;&lt;BR /&gt;Craig A&lt;BR /&gt;(who is obviously missing something)</description>
      <pubDate>Thu, 23 Jul 2009 12:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188970#M26671</guid>
      <dc:creator>Craig A</dc:creator>
      <dc:date>2009-07-23T12:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: SPAWNed process termination causes runaway</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188971#M26672</link>
      <description>Craig:&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jul 2009 12:23:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188971#M26672</guid>
      <dc:creator>Allan Large</dc:creator>
      <dc:date>2009-07-23T12:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: SPAWNed process termination causes runaway</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188972#M26673</link>
      <description>Allan&lt;BR /&gt;&lt;BR /&gt;OK. Sounds like some user edjumacation is required. &lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;&lt;BR /&gt;Craig A.</description>
      <pubDate>Thu, 23 Jul 2009 12:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188972#M26673</guid>
      <dc:creator>Craig A</dc:creator>
      <dc:date>2009-07-23T12:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: SPAWNed process termination causes runaway</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188973#M26674</link>
      <description>OK ... I found my answer. It was a known problem in DCL:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Patch kit  VMS831H1I_DCL-V0100 says&lt;BR /&gt;&lt;BR /&gt;5.2.4  Looping In Loginout During Terminal Hangup&lt;BR /&gt;&lt;BR /&gt;    5.2.4.1  Problem Description:&lt;BR /&gt;&lt;BR /&gt;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&lt;BR /&gt;goes into a loop with 100% CPU utilization.&lt;BR /&gt;&lt;BR /&gt;               Images Affected:&lt;BR /&gt;&lt;BR /&gt;                -  [SYSEXE]DCL.EXE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks guys !!!</description>
      <pubDate>Thu, 23 Jul 2009 13:59:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188973#M26674</guid>
      <dc:creator>Allan Large</dc:creator>
      <dc:date>2009-07-23T13:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: SPAWNed process termination causes runaway</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188974#M26675</link>
      <description>See above....</description>
      <pubDate>Thu, 23 Jul 2009 14:00:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188974#M26675</guid>
      <dc:creator>Allan Large</dc:creator>
      <dc:date>2009-07-23T14:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: SPAWNed process termination causes runaway</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188975#M26676</link>
      <description>Allan,&lt;BR /&gt;&lt;BR /&gt;  experiences...&lt;BR /&gt;&lt;BR /&gt;  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 &lt;ETC...&gt;".&lt;BR /&gt;&lt;BR /&gt; A week or so later... the disk was full!&lt;BR /&gt;&lt;BR /&gt;  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. &lt;BR /&gt;&lt;BR /&gt;  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.&lt;BR /&gt;&lt;BR /&gt;  Bottom line is you have to be very careful when executing remote commands.&lt;/ETC...&gt;</description>
      <pubDate>Thu, 23 Jul 2009 21:53:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/spawned-process-termination-causes-runaway/m-p/5188975#M26676</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2009-07-23T21:53:14Z</dc:date>
    </item>
  </channel>
</rss>

