<?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: %SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT with /NOSORT in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020787#M12547</link>
    <description>Can you post &lt;BR /&gt;$ mc sysgen sh virtualp&lt;BR /&gt;$ sh mem/phy&lt;BR /&gt;and the pgflquota of the process doing the sort ?</description>
    <pubDate>Fri, 15 Jun 2007 05:34:07 GMT</pubDate>
    <dc:creator>labadie_1</dc:creator>
    <dc:date>2007-06-15T05:34:07Z</dc:date>
    <item>
      <title>%SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT with /NOSORT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020786#M12546</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I did a CONVERT on an indexed file and got in the log the following message:&lt;BR /&gt;%SORT-W-SYSERROR, system service error       &lt;BR /&gt;-LIB-F-INSVIRMEM, insufficient virtual memory&lt;BR /&gt;%SORT-W-SYSERROR, system service error       &lt;BR /&gt;-LIB-F-INSVIRMEM, insufficient virtual memory&lt;BR /&gt;&lt;BR /&gt;Seems to be a sort system error or warning due to insufficient virtual memory. This is strange because I did the CONVERT with the /NOSORT qualifier why do I get this message then. The converted, output file seems to be O.K. This convert is done rarely and if the sort is meaningless here and this is just a warning, then can I just ignore it? I havent yet replaced the file. The convert command is something like:&lt;BR /&gt;CONVERT/FDL=&lt;FDL file=""&gt; &lt;INPUT file="" specification="" /&gt; &lt;OUTPUT file="" specification=""&gt; /STAT/NOSORT.&lt;BR /&gt;The machine is VAX 4500A and the OS is VMS version 5.5. If I do SHOW PROCESS/QUOTAS/MEMORY I get:&lt;BR /&gt;CPU limit:                      Infinite  Direct I/O limit:       240      &lt;BR /&gt; Buffered I/O byte count quota:     82000  Buffered I/O limit:     240      &lt;BR /&gt; Timer queue entry quota:              50  Open file quota:        200      &lt;BR /&gt; Paging file quota:                 90999  Subprocess quota:         2      &lt;BR /&gt; Default page fault cluster:           64  AST quota:               48      &lt;BR /&gt; Enqueue quota:                       999  Shared file limit:        0      &lt;BR /&gt; Max detached processes:                0  Max active jobs:          0      &lt;BR /&gt;                                                                            &lt;BR /&gt;Process Dynamic Memory Area                                                 &lt;BR /&gt;  Current Size (bytes)    51200    Current Total Size (pages)     100&lt;BR /&gt;  Free Space (bytes)      42512    Space in Use (bytes)          8688&lt;BR /&gt;  Size of Largest Block   42048    Size of Smallest Block           8&lt;BR /&gt;  Number of Free Blocks       4    Free Blocks LEQU 32 Bytes        1&lt;BR /&gt;&lt;BR /&gt;So in short, can just ignore this message and replace the file? Thanks for the answers.&lt;BR /&gt;Yaron.&lt;BR /&gt;&lt;/OUTPUT&gt;&lt;/FDL&gt;</description>
      <pubDate>Fri, 15 Jun 2007 05:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020786#M12546</guid>
      <dc:creator>yaron1</dc:creator>
      <dc:date>2007-06-15T05:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: %SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT with /NOSORT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020787#M12547</link>
      <description>Can you post &lt;BR /&gt;$ mc sysgen sh virtualp&lt;BR /&gt;$ sh mem/phy&lt;BR /&gt;and the pgflquota of the process doing the sort ?</description>
      <pubDate>Fri, 15 Jun 2007 05:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020787#M12547</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2007-06-15T05:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: %SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT with /NOSORT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020788#M12548</link>
      <description>&amp;gt;&amp;gt; Seems to be a sort system error or warning due to insufficient virtual memory. &lt;BR /&gt;&lt;BR /&gt;Correct. It is 'just a warning'. It means that sort was led to believe it had a certain amount of virtual memory to play with (looking at WSEXTEND and PAGFILQUO notably). Make sure that the working set extent is no more than one third of the page file quota.&lt;BR /&gt;&lt;BR /&gt;Sort calls LIB$GET_VM to request the virtual memory needed.  If this request to LIB$GET_VM exceeds the virtual memory limits of the process, LIB$GET_VM returns an INSVIRMEM error. The Sort Utility signals the INSVIRMEM error, but tries to recover by decreasing the request until the LIB$GET_VM call succeeds.  It sizes the request down by 7/8 in each iteration.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; This is strange because I did the CONVERT with the /NOSORT qualifier why do I get this message then.&lt;BR /&gt;&lt;BR /&gt;The FDL must have requested one or more Alternate key. The /NOSORT only tells convert that the PRIMARY key needs no sorting. To really get no sort, you need to tell convert to RMS directly through /NOFAST (and/or /MERGE)&lt;BR /&gt;&lt;BR /&gt;BTW If there is more than 1 alternate key, please make a test with /SECONDARY=x to avoid creating one CONVWORK files per alternate key.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; The converted, output file seems to be O.K.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; PROCESS/QUOTAS/MEMORY I get:&lt;BR /&gt;&amp;gt;&amp;gt; Paging file quota: 90999&lt;BR /&gt;&lt;BR /&gt;We'll need a $SHOW WORK output as well.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; So in short, can just ignore this message and replace the file? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein van den Heuvel (at gmail dot com)&lt;BR /&gt;HvdH Performance Consulting&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jun 2007 06:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020788#M12548</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-06-15T06:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: %SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT with /NOSORT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020789#M12549</link>
      <description>Thanks for the answers.&lt;BR /&gt;Here is  SHOW WORKING_SET&lt;BR /&gt;Working Set      /Limit= 8192   /Quota= 16000    /Extent= 65500        &lt;BR /&gt;Adjustment enabled    Authorized Quota= 16000  Authorized Extent= 65500</description>
      <pubDate>Fri, 15 Jun 2007 07:12:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020789#M12549</guid>
      <dc:creator>yaron1</dc:creator>
      <dc:date>2007-06-15T07:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: %SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT with /NOSORT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020790#M12550</link>
      <description>And is that wsextent significantly lower than pagfilquo is I replied it should be?  No. &lt;BR /&gt;So you get the warning as deserved.&lt;BR /&gt;Grow pagfilquo (2x or 3x wsextent) or shrink wsextent (1/2 or 1/3 of pagfilquo)?and be happy!&lt;BR /&gt;&lt;BR /&gt;;-)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.</description>
      <pubDate>Fri, 15 Jun 2007 09:21:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020790#M12550</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-06-15T09:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: %SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT with /NOSORT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020791#M12551</link>
      <description>As Hein says:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Grow pagfilquo (2x or 3x wsextent) or shrink wsextent (1/2 or 1/3 of pagfilquo)?and be happy!&lt;BR /&gt;&lt;BR /&gt;  Typically Virtual Memory size (limited by PGFLQUOTA) should be significantly larger than Physical Memory size (limited by WSEXTENT). &lt;BR /&gt;&lt;BR /&gt;  The most common reason for an unexpected imbalance is PQL_MWSEXTENT being set to WSMAX by AUTOGEN. Generally the best solution is to increase PGFLQUOTA, BUT you need to make sure you have enough pagefile to cover the allocation. &lt;BR /&gt;&lt;BR /&gt;Consider that your PGFLQUOTA listed above is 90999 - not much more than 40MB (yes MEGA bytes).&lt;BR /&gt;&lt;BR /&gt;  Consider the cost of that much disk space, weighed against he cost of dealing with this ONE instance of this error.&lt;BR /&gt;&lt;BR /&gt;  Please give this system adequate resources to do the work you're asking of it!&lt;BR /&gt;&lt;BR /&gt;(maybe we should start the SPCV? "Society for Prevention of Cruelty to VMS systems" The poor machines are trying to work under such tight constraints, all those INSVIRMEM's must be painful, yet it's so cheap and simple to give them enough room to move)&lt;BR /&gt;    &lt;BR /&gt;</description>
      <pubDate>Sun, 17 Jun 2007 18:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sort-w-syserror-and-lib-f-insvirmem-in-a-convert-with-nosort/m-p/4020791#M12551</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-06-17T18:22:43Z</dc:date>
    </item>
  </channel>
</rss>

