<?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: Endless loop in SYS$EXIT (7.2-1) in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/endless-loop-in-sys-exit-7-2-1/m-p/3322234#M2928</link>
    <description>Thanks for your help!&lt;BR /&gt;&lt;BR /&gt;Priority is indeed set to 0.&lt;BR /&gt;&lt;BR /&gt;EXAMINE /COND R0 &lt;BR /&gt;gave the following response:&lt;BR /&gt;%SYSTEM-F-NODELETE, object cannot be deleted&lt;BR /&gt;&lt;BR /&gt;The NODELETE flag is set in the PCB.&lt;BR /&gt;This is done (temporarily) to prevent other users from killing the process when doing certain database transactions.&lt;BR /&gt;</description>
    <pubDate>Mon, 05 Jul 2004 01:43:42 GMT</pubDate>
    <dc:creator>Peter Hofman</dc:creator>
    <dc:date>2004-07-05T01:43:42Z</dc:date>
    <item>
      <title>Endless loop in SYS$EXIT (7.2-1)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/endless-loop-in-sys-exit-7-2-1/m-p/3322230#M2924</link>
      <description>We are having a strange problem. We do not currently know the exact scenario, but for some reason a process got into an endless loop in SYS$EXIT, and cannot be stopped with STOP/ID=&lt;PID&gt;.&lt;BR /&gt;The process takes up all CPU on one of the 2 available CPUs.&lt;BR /&gt;&lt;BR /&gt;The instruction the process hangs at is:&lt;BR /&gt;&lt;BR /&gt;SYS$EXIT_C+520  BR R31, #xFFFFFF&lt;BR /&gt;&lt;BR /&gt;This sets back the PC to the same instruction.&lt;BR /&gt;&lt;BR /&gt;The problem occurs in OpenVMS 7.2-1, but we know that the code above is also in OpenVMS 7.1-2.&lt;BR /&gt;&lt;BR /&gt;What I am wondering about is: &lt;BR /&gt;- Why would you want to have an endless loop in system service?&lt;BR /&gt;- Is there a way to stop the process other than rebooting?&lt;BR /&gt;&lt;BR /&gt;Since OpenVMS 7.2-1 is not really supported anymore, I suppose it is no use sending a crash dump to HP for analysis.&lt;/PID&gt;</description>
      <pubDate>Sat, 03 Jul 2004 06:44:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/endless-loop-in-sys-exit-7-2-1/m-p/3322230#M2924</guid>
      <dc:creator>Peter Hofman</dc:creator>
      <dc:date>2004-07-03T06:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Endless loop in SYS$EXIT (7.2-1)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/endless-loop-in-sys-exit-7-2-1/m-p/3322231#M2925</link>
      <description>check the process carefully. You may find an outstanding I/O or other incomplete activity.&lt;BR /&gt;At what scheduling priority is the process looping?</description>
      <pubDate>Sun, 04 Jul 2004 08:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/endless-loop-in-sys-exit-7-2-1/m-p/3322231#M2925</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-07-04T08:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Endless loop in SYS$EXIT (7.2-1)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/endless-loop-in-sys-exit-7-2-1/m-p/3322232#M2926</link>
      <description>Is there some way that this could be a screwy inner-mode exit handler? I'm not wise enough to tell you how (or whether) that's possible, but perhaps this will tip off someone smarter than me...</description>
      <pubDate>Sun, 04 Jul 2004 13:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/endless-loop-in-sys-exit-7-2-1/m-p/3322232#M2926</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2004-07-04T13:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Endless loop in SYS$EXIT (7.2-1)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/endless-loop-in-sys-exit-7-2-1/m-p/3322233#M2927</link>
      <description>The code you're most likely looping in looks like this:&lt;BR /&gt;&lt;BR /&gt;$DELPRC_S&lt;BR /&gt;PUSHL R0&lt;BR /&gt;$SETPRI_S PRI=#0&lt;BR /&gt;POPL R0&lt;BR /&gt;25$: BRB 25$&lt;BR /&gt;&lt;BR /&gt;The $DELPRC is supposed to kill the process and never return, but if it returns, the process will set its priority down to 0 and loop.&lt;BR /&gt;&lt;BR /&gt;Why? Well, it's defensive programming. The $DELPRC shouldn't return, but just in case it does, we put the process into a "harmless" state. There are other possibilities, like $HIBER, but what if that fails too? The BRB is pretty much foolproof and is has the secondary benefit that the system manager is more likely to see a rogue COM state process than a HIB.&lt;BR /&gt;&lt;BR /&gt;Note that the status from the failed $DELPRC is saved, so you should be able to look at it from SDA. Set process then:&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; EXAMINE R0&lt;BR /&gt;SDA&amp;gt; EXAMINE/CONDITION R0&lt;BR /&gt;&lt;BR /&gt;Of all the documented condition values, I'd guess SS$_INSFMEM.&lt;BR /&gt;&lt;BR /&gt;Since the process is at priority 0, it shouldn't really hurt much, just consume a process slot and some memory. There is no way to get rid of it other than rebooting.&lt;BR /&gt;&lt;BR /&gt;Not a lot of point in sending the crash dump to your CSC. As well as the support status for V7.2-1, about the only thing of interest is the value in R0. Why send a whole crash dump when a longword will do?</description>
      <pubDate>Sun, 04 Jul 2004 22:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/endless-loop-in-sys-exit-7-2-1/m-p/3322233#M2927</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-07-04T22:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Endless loop in SYS$EXIT (7.2-1)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/endless-loop-in-sys-exit-7-2-1/m-p/3322234#M2928</link>
      <description>Thanks for your help!&lt;BR /&gt;&lt;BR /&gt;Priority is indeed set to 0.&lt;BR /&gt;&lt;BR /&gt;EXAMINE /COND R0 &lt;BR /&gt;gave the following response:&lt;BR /&gt;%SYSTEM-F-NODELETE, object cannot be deleted&lt;BR /&gt;&lt;BR /&gt;The NODELETE flag is set in the PCB.&lt;BR /&gt;This is done (temporarily) to prevent other users from killing the process when doing certain database transactions.&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jul 2004 01:43:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/endless-loop-in-sys-exit-7-2-1/m-p/3322234#M2928</guid>
      <dc:creator>Peter Hofman</dc:creator>
      <dc:date>2004-07-05T01:43:42Z</dc:date>
    </item>
  </channel>
</rss>

