<?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: Traceback of a detached process in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687717#M40533</link>
    <description>I've turned on SET PROC/DUMP for all subprocesses and await their expected demises. All our processes declare exit handlers.  However, the exit handlers do not resignal.  Does that mean the dumps will not report a traceback?</description>
    <pubDate>Fri, 17 Sep 2010 13:01:57 GMT</pubDate>
    <dc:creator>Elli M Barasch</dc:creator>
    <dc:date>2010-09-17T13:01:57Z</dc:date>
    <item>
      <title>Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687710#M40526</link>
      <description>How can I get a traceback of a crashing detached subprocess? It is launched via SYS$CREPRC from a detached process that launched via LOGINOUT (i.e. it has a CLI).</description>
      <pubDate>Thu, 16 Sep 2010 19:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687710#M40526</guid>
      <dc:creator>Elli M Barasch</dc:creator>
      <dc:date>2010-09-16T19:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687711#M40527</link>
      <description>Assuming you built the crashing image with traceback, I would have thought that the traceback would have appeared in the subprocess's SYS$ERROR.  If you did not specify the ERROR parameter in your call to $CREPRC, then perhaps it goes to SYS$OUTPUT of the parent process.&lt;BR /&gt;&lt;BR /&gt;But just a wild guess.&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Sep 2010 19:59:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687711#M40527</guid>
      <dc:creator>RBrown_1</dc:creator>
      <dc:date>2010-09-16T19:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687712#M40528</link>
      <description>The parent's sys$output and sys$error files don't contain any traces.&lt;BR /&gt;&lt;BR /&gt;While the subprocess is running, it holds a file open called [defaultdir].;N   But at rundown, the file seems to disappear.  &lt;BR /&gt;&lt;BR /&gt;VMS 7.3-2 Alpha, btw.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Sep 2010 20:06:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687712#M40528</guid>
      <dc:creator>Elli M Barasch</dc:creator>
      <dc:date>2010-09-16T20:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687713#M40529</link>
      <description>And yes, it is not built with /NOTRACEBACK. (Default /TRACEBACK is implied.)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Sep 2010 20:07:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687713#M40529</guid>
      <dc:creator>Elli M Barasch</dc:creator>
      <dc:date>2010-09-16T20:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687714#M40530</link>
      <description>Elli,&lt;BR /&gt;&lt;BR /&gt;  Sounds suspiciously like the process hasn't been given sufficient quotas to send the output to a file. What does your PQL look like? Note this is a very tricky parameter to get right, and often critically important.&lt;BR /&gt;&lt;BR /&gt;  Maybe it would be best to post your whole $CREPRC call for the parent, and the code which starts the subprocess.&lt;BR /&gt;&lt;BR /&gt;  At the very least you should have the final status in the accounting log.</description>
      <pubDate>Thu, 16 Sep 2010 20:44:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687714#M40530</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-09-16T20:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687715#M40531</link>
      <description>You may also wish to enable process dump for that process</description>
      <pubDate>Fri, 17 Sep 2010 12:21:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687715#M40531</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2010-09-17T12:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687716#M40532</link>
      <description>One interesting error shows up in the SYS$OUTPUT file:&lt;BR /&gt;&lt;BR /&gt;Error activating command interpreter SYS$SYTEM:DCL&lt;BR /&gt;Process quota exceeded&lt;BR /&gt;&lt;BR /&gt;Now to figure out which PQL?&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Sep 2010 12:26:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687716#M40532</guid>
      <dc:creator>Elli M Barasch</dc:creator>
      <dc:date>2010-09-17T12:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687717#M40533</link>
      <description>I've turned on SET PROC/DUMP for all subprocesses and await their expected demises. All our processes declare exit handlers.  However, the exit handlers do not resignal.  Does that mean the dumps will not report a traceback?</description>
      <pubDate>Fri, 17 Sep 2010 13:01:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687717#M40533</guid>
      <dc:creator>Elli M Barasch</dc:creator>
      <dc:date>2010-09-17T13:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687718#M40534</link>
      <description>Another option is to use Availability Manager to monitor quotas and focus in on which quota is the issue.  &lt;BR /&gt;&lt;BR /&gt;Availability Manager also allows for on the fly changes to quotas.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Sep 2010 15:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687718#M40534</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2010-09-17T15:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687719#M40535</link>
      <description>Availability Manager is a good tool for looking at process quota issues.&lt;BR /&gt;&lt;BR /&gt;Do you specify quotas in the $CREPRC or use the default values from the PQL_ parameters?</description>
      <pubDate>Fri, 17 Sep 2010 15:06:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687719#M40535</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2010-09-17T15:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687720#M40536</link>
      <description>Elli,&lt;BR /&gt;&lt;BR /&gt;  Unless you specify a PQL in your CREPRC call, you will get system defaults and minima (see SYSGEN parameters PQL_Dxxx and PQL_Mxxx).&lt;BR /&gt;&lt;BR /&gt;  My general rule is to always specify a complete PQL with "reasonable" values, as the defaults are usually too low to do anything useful.&lt;BR /&gt;&lt;BR /&gt;  Be careful with alignment when defining your PQL, it's a very poorly designed structure and very easy to get wrong.&lt;BR /&gt;&lt;BR /&gt;  Your error indicates PRCLM.</description>
      <pubDate>Sun, 19 Sep 2010 21:28:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687720#M40536</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-09-19T21:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687721#M40537</link>
      <description>@Ian: The former.  We don't supply PQLs in the $CREPRC call.</description>
      <pubDate>Mon, 20 Sep 2010 16:34:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687721#M40537</guid>
      <dc:creator>Elli M Barasch</dc:creator>
      <dc:date>2010-09-20T16:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687722#M40538</link>
      <description>&amp;gt;We don't supply PQLs in the $CREPRC call.&lt;BR /&gt;&lt;BR /&gt;But you're adding that into your code, because that omission could otherwise lead to odd and server-specific and potentially transient instabilities within the code, right? &lt;BR /&gt;&lt;BR /&gt;Some debugging-related topics:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/803" target="_blank"&gt;http://labs.hoffmanlabs.com/node/803&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/800" target="_blank"&gt;http://labs.hoffmanlabs.com/node/800&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Worst-practices:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1077" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1077&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Defensive Coding Practices:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_1661.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_1661.html&lt;/A&gt;</description>
      <pubDate>Mon, 20 Sep 2010 18:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687722#M40538</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-09-20T18:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687723#M40539</link>
      <description>Unfortunately, right now - (lots of history here) - I am debugging crashes of legacy code that I've inherited. Pragmatically, I must work around the problems at this time by setting  environment variables, but at the same time I recognize that supplying PQLs at CREPRC call time is preferable.&lt;BR /&gt;&lt;BR /&gt;The symptoms are that this code has been migrated from V7.2-1/UCX 5.1 to a V7.3-2/UCX 5.4 ECO 7 environment.  Crashes are abundant now. As far as we can tell, all SYSGEN and SYSUAF environment quotas are identical.  Memory configurations are similar.</description>
      <pubDate>Mon, 20 Sep 2010 18:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687723#M40539</guid>
      <dc:creator>Elli M Barasch</dc:creator>
      <dc:date>2010-09-20T18:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687724#M40540</link>
      <description>The crashes are quite possibly arising because the code is broken in any of various ways.  Failing to have a PQL specification is a good one, and spot on for detached-process errors.  These sorts of weird bugs and race conditions and synchronization errors and quota problems are fairly typical of coding errors; bad code can leave you chasing bugs all over the place.&lt;BR /&gt;&lt;BR /&gt;You're in a no-win right now.  Talk to your boss.   That'll help this case move toward resolution, whether that's fixes to help solidify the code, or no changes here (quite possibly in preparation for a migration, or as a prerequisite part of the justification of some managerial expenditure), or dusting off and updating your skills and your resume and performing a self-migration.</description>
      <pubDate>Mon, 20 Sep 2010 18:56:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687724#M40540</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-09-20T18:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Traceback of a detached process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687725#M40541</link>
      <description>Elli,&lt;BR /&gt;&lt;BR /&gt;  If you really can't change the code, your only option is to adjust SYSGEN PQL parameters to give your processes sufficient quota. This is NOT a good solution, as it will potentially affect other, completely unrelated processes on your system. It can be a useful thing to do on a test system as proof of concent and to determine appropriate values for the various quotas. Once you know what they should be, restore SYSGEN values, and update the source.</description>
      <pubDate>Mon, 20 Sep 2010 21:13:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/traceback-of-a-detached-process/m-p/4687725#M40541</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-09-20T21:13:57Z</dc:date>
    </item>
  </channel>
</rss>

