<?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: FREE_RSN on alpha ? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369727#M64295</link>
    <description>Wim,&lt;BR /&gt;&lt;BR /&gt;Yes, I know the "fun" with Sybase. There is some kind of memory leak, so however big you give it quota (and you do that in the startup, because it is started with RUN/NOUAF/&lt;VARIOUS-PARAMS&gt;) you WILL run out.&lt;BR /&gt;We decided to simply restart it each night (we blame it on ported, badly written U*X software).&lt;BR /&gt;&lt;BR /&gt;Now, IF you hang in MUTEX caused by BYTLM exhausted, AND you want to free it, AND you are sure you can do this WITHOUT typo's, then SDA &amp;amp; DELTA can help you out.&lt;BR /&gt;&lt;BR /&gt;It is DEFINITELY at your own risk, but we have on occasion been VERY glad with it.&lt;BR /&gt;(In a previous life, working with ICL DME, there was a utility with similar functionallity. It was named DYNAMITE just to make you aware what you were playing with. Would also have been a better name for DELTA).&lt;BR /&gt;&lt;BR /&gt;Okay, now, if you want to try it anyway:&lt;BR /&gt;&lt;BR /&gt;1. &lt;BR /&gt;Get PID of offending process.&lt;BR /&gt;2. &lt;BR /&gt;STOP /ID  it. This will have no visible effect, but it delivers to the process the request ( = order ) to commit suicide as its first action, whenever 'first' may arrive.&lt;BR /&gt;3. &lt;BR /&gt;ANAL/SYST&lt;BR /&gt;sda&amp;gt; set proc/id=&lt;PID&gt;&lt;BR /&gt;sda&amp;gt; show proc.&lt;BR /&gt;look for Event flag wait mask  &amp;amp;  JIB address.&lt;BR /&gt;If they are NOT the same, then stop, this will not help you, the problem can NOT be helped with this&lt;BR /&gt;4.&lt;BR /&gt;sda&amp;gt; read sys$loadable_images:sysdef&lt;BR /&gt;5.&lt;BR /&gt;sda&amp;gt; format JIB&lt;BR /&gt;look at the field JIB$B_FLAGS&lt;BR /&gt;if your problem is unsufficient bytlm, the value should be "01"&lt;BR /&gt;if not: STOP!!! the problem is NOT what this procedure can cure.&lt;BR /&gt;6. Note the fields JIB$L_ORG_BYTLM, JIB$L_BYTLM, and JIB$L_BYTCNT.&lt;BR /&gt;Note the hex address &amp;amp; the hex value for them.&lt;BR /&gt;7. In your notes, increase each of them by the same, eg. hex 10000.&lt;BR /&gt;Those are the values we're gonna deposit, in the above order. Wrong order may well lead to system crash.&lt;BR /&gt;&lt;BR /&gt;8.spawn &lt;BR /&gt;  run DELTA&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;  you are now looking at the raw internal memory!&lt;BR /&gt;&lt;BR /&gt;type EXACTLY&lt;BR /&gt;00010001:1;m  &lt;BR /&gt;(that is 3 Zeroes, a One, 3 Zeroes, a One, a Colon, a One, a Semicolon, a One) &lt;BR /&gt;&lt;BR /&gt;response will be 00000001&lt;BR /&gt;&lt;BR /&gt;Now DELTA is in WRITE MODE. ANY typo may well corrupt internal data structures.&lt;BR /&gt; &lt;BR /&gt;Examine the contents of an address by typing  FFFFFFFF ( 8 F's) followed by the address followed by a slash  "/"&lt;BR /&gt;(8 F's on AXP only, that's the extra 32 bits) &lt;BR /&gt;DELTA will respond with the contents of that address&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;  do NOT use the return key!!!!&lt;BR /&gt;&lt;BR /&gt;Now enter your calculated new hex value for this field.&lt;BR /&gt;&lt;BR /&gt;Repeat this for the 3 fields in the correct order.&lt;BR /&gt;&lt;BR /&gt;EXIT&lt;BR /&gt;&lt;BR /&gt;8.&lt;BR /&gt;Logout   (of spawned proc)&lt;BR /&gt;sda&amp;gt;show proc    will show added BUFIO count/limit&lt;BR /&gt;9.&lt;BR /&gt;'release' the process, the execute its next instruction ( DELPRC)&lt;BR /&gt;Almost anything will do, eg&lt;BR /&gt;sda&amp;gt; sho proc/chan&lt;BR /&gt;&lt;BR /&gt;sda&amp;gt;sho proc   --  probably already gone.&lt;BR /&gt;&lt;BR /&gt;But: let me finish be warning again!&lt;BR /&gt;ANY typo in DELTA can cause ANY unwanted effect!!&lt;BR /&gt;&lt;BR /&gt;but the again:&lt;BR /&gt;there were several times when I was very glad to be able to do this!&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Jan&lt;BR /&gt;&lt;BR /&gt;&lt;/PID&gt;&lt;/VARIOUS-PARAMS&gt;</description>
    <pubDate>Thu, 02 Sep 2004 04:24:20 GMT</pubDate>
    <dc:creator>Jan van den Ende</dc:creator>
    <dc:date>2004-09-02T04:24:20Z</dc:date>
    <item>
      <title>FREE_RSN on alpha ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369722#M64290</link>
      <description>Does anyone has the program free_rsn for alpha ? Or something equivallent that can free programs in MUTEX state ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 01 Sep 2004 04:25:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369722#M64290</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-09-01T04:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: FREE_RSN on alpha ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369723#M64291</link>
      <description>when a process is shown in MUTEX state on show system it can be for various reasons most of which are nothing to do with MUTEXes. The commonest reason is waiting for a pooled quota. &lt;BR /&gt;&lt;BR /&gt;SDA sometimes shows a more accurate display of the state and can certainly be be used to determine what the problem is. &lt;BR /&gt;&lt;BR /&gt;AMDS/Availability manager can be also used to determine the cause and (in the case of quota waits) may be able to fix it. &lt;BR /&gt;&lt;BR /&gt;You may also find my SDA extention at&lt;BR /&gt;&lt;A href="http://eisner.encompasserve.org/~miller/pwait$sda008.zip" target="_blank"&gt;http://eisner.encompasserve.org/~miller/pwait$sda008.zip&lt;/A&gt;&lt;BR /&gt;helpful (hopefully :-).&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Sep 2004 05:28:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369723#M64291</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-09-01T05:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: FREE_RSN on alpha ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369724#M64292</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;I have all things in place to monitor the quota and yes in my case, it is bytlm.&lt;BR /&gt;I have amds but when the process is inmutex, the increase of the quota is not coming thru.&lt;BR /&gt;(sybase server)&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 01 Sep 2004 05:31:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369724#M64292</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-09-01T05:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: FREE_RSN on alpha ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369725#M64293</link>
      <description>is AMDS successfully changing the quota?&lt;BR /&gt;RMDRIVER can report problems via OPCOM messages on the target system.</description>
      <pubDate>Wed, 01 Sep 2004 05:41:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369725#M64293</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-09-01T05:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: FREE_RSN on alpha ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369726#M64294</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;Yep. Opcom reported "process xxx modified".&lt;BR /&gt;But the quota remained the same.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Sep 2004 05:43:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369726#M64294</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-09-01T05:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: FREE_RSN on alpha ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369727#M64295</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;Yes, I know the "fun" with Sybase. There is some kind of memory leak, so however big you give it quota (and you do that in the startup, because it is started with RUN/NOUAF/&lt;VARIOUS-PARAMS&gt;) you WILL run out.&lt;BR /&gt;We decided to simply restart it each night (we blame it on ported, badly written U*X software).&lt;BR /&gt;&lt;BR /&gt;Now, IF you hang in MUTEX caused by BYTLM exhausted, AND you want to free it, AND you are sure you can do this WITHOUT typo's, then SDA &amp;amp; DELTA can help you out.&lt;BR /&gt;&lt;BR /&gt;It is DEFINITELY at your own risk, but we have on occasion been VERY glad with it.&lt;BR /&gt;(In a previous life, working with ICL DME, there was a utility with similar functionallity. It was named DYNAMITE just to make you aware what you were playing with. Would also have been a better name for DELTA).&lt;BR /&gt;&lt;BR /&gt;Okay, now, if you want to try it anyway:&lt;BR /&gt;&lt;BR /&gt;1. &lt;BR /&gt;Get PID of offending process.&lt;BR /&gt;2. &lt;BR /&gt;STOP /ID  it. This will have no visible effect, but it delivers to the process the request ( = order ) to commit suicide as its first action, whenever 'first' may arrive.&lt;BR /&gt;3. &lt;BR /&gt;ANAL/SYST&lt;BR /&gt;sda&amp;gt; set proc/id=&lt;PID&gt;&lt;BR /&gt;sda&amp;gt; show proc.&lt;BR /&gt;look for Event flag wait mask  &amp;amp;  JIB address.&lt;BR /&gt;If they are NOT the same, then stop, this will not help you, the problem can NOT be helped with this&lt;BR /&gt;4.&lt;BR /&gt;sda&amp;gt; read sys$loadable_images:sysdef&lt;BR /&gt;5.&lt;BR /&gt;sda&amp;gt; format JIB&lt;BR /&gt;look at the field JIB$B_FLAGS&lt;BR /&gt;if your problem is unsufficient bytlm, the value should be "01"&lt;BR /&gt;if not: STOP!!! the problem is NOT what this procedure can cure.&lt;BR /&gt;6. Note the fields JIB$L_ORG_BYTLM, JIB$L_BYTLM, and JIB$L_BYTCNT.&lt;BR /&gt;Note the hex address &amp;amp; the hex value for them.&lt;BR /&gt;7. In your notes, increase each of them by the same, eg. hex 10000.&lt;BR /&gt;Those are the values we're gonna deposit, in the above order. Wrong order may well lead to system crash.&lt;BR /&gt;&lt;BR /&gt;8.spawn &lt;BR /&gt;  run DELTA&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;  you are now looking at the raw internal memory!&lt;BR /&gt;&lt;BR /&gt;type EXACTLY&lt;BR /&gt;00010001:1;m  &lt;BR /&gt;(that is 3 Zeroes, a One, 3 Zeroes, a One, a Colon, a One, a Semicolon, a One) &lt;BR /&gt;&lt;BR /&gt;response will be 00000001&lt;BR /&gt;&lt;BR /&gt;Now DELTA is in WRITE MODE. ANY typo may well corrupt internal data structures.&lt;BR /&gt; &lt;BR /&gt;Examine the contents of an address by typing  FFFFFFFF ( 8 F's) followed by the address followed by a slash  "/"&lt;BR /&gt;(8 F's on AXP only, that's the extra 32 bits) &lt;BR /&gt;DELTA will respond with the contents of that address&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;  do NOT use the return key!!!!&lt;BR /&gt;&lt;BR /&gt;Now enter your calculated new hex value for this field.&lt;BR /&gt;&lt;BR /&gt;Repeat this for the 3 fields in the correct order.&lt;BR /&gt;&lt;BR /&gt;EXIT&lt;BR /&gt;&lt;BR /&gt;8.&lt;BR /&gt;Logout   (of spawned proc)&lt;BR /&gt;sda&amp;gt;show proc    will show added BUFIO count/limit&lt;BR /&gt;9.&lt;BR /&gt;'release' the process, the execute its next instruction ( DELPRC)&lt;BR /&gt;Almost anything will do, eg&lt;BR /&gt;sda&amp;gt; sho proc/chan&lt;BR /&gt;&lt;BR /&gt;sda&amp;gt;sho proc   --  probably already gone.&lt;BR /&gt;&lt;BR /&gt;But: let me finish be warning again!&lt;BR /&gt;ANY typo in DELTA can cause ANY unwanted effect!!&lt;BR /&gt;&lt;BR /&gt;but the again:&lt;BR /&gt;there were several times when I was very glad to be able to do this!&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Jan&lt;BR /&gt;&lt;BR /&gt;&lt;/PID&gt;&lt;/VARIOUS-PARAMS&gt;</description>
      <pubDate>Thu, 02 Sep 2004 04:24:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369727#M64295</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-09-02T04:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: FREE_RSN on alpha ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369728#M64296</link>
      <description>Thanks Jan but seems to risky to execute in production. If we have the problem in test I will try it.&lt;BR /&gt;&lt;BR /&gt;On the Sybase level I think you are wrong.&lt;BR /&gt;I investigated it too and found that the documentation is no longer valid.&lt;BR /&gt;&lt;BR /&gt;I found new rules (never implemented because Sybase team is not interested in solving the problem).&lt;BR /&gt;&lt;BR /&gt;DIOLM : add the number_of_user_connections to the old formula&lt;BR /&gt;BYTLM : add the number_of_user_connection * 20000 to the old formula&lt;BR /&gt;&lt;BR /&gt;And above all : check with lexicals that you got what you asked (or more, but how is Sybase handling that ?).&lt;BR /&gt;&lt;BR /&gt;Restarting every night is not an option on out site.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Sep 2004 04:32:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369728#M64296</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-09-02T04:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: FREE_RSN on alpha ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369729#M64297</link>
      <description>The procedure with SDA &amp;amp; DELTA does work but is only worth doing on a system without AMDS due to the possibility of error. &lt;BR /&gt;&lt;BR /&gt;I'm curious about the previous statement &lt;BR /&gt;"Opcom reported "process xxx modified".&lt;BR /&gt;But the quota remained the same."&lt;BR /&gt;&lt;BR /&gt;This appears to be saying the AMDS fix did not change the BYTLM quota which is curious.&lt;BR /&gt;&lt;BR /&gt;What FREE_RSN.MAR appears to do for processes in a MWAIT state waiting for BYTLM is add the value of the system parameter MAXBUF to the BYTLM quota limit and remaining amount. You are doing a similar thing with AMDS.</description>
      <pubDate>Thu, 02 Sep 2004 05:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/free-rsn-on-alpha/m-p/3369729#M64297</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-09-02T05:04:04Z</dc:date>
    </item>
  </channel>
</rss>

