- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- %SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 10:25 PM
тАО06-14-2007 10:25 PM
I did a CONVERT on an indexed file and got in the log the following message:
%SORT-W-SYSERROR, system service error
-LIB-F-INSVIRMEM, insufficient virtual memory
%SORT-W-SYSERROR, system service error
-LIB-F-INSVIRMEM, insufficient virtual memory
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:
CONVERT/FDL=
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 10:34 PM
тАО06-14-2007 10:34 PM
Re: %SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT with /NOSORT
$ mc sysgen sh virtualp
$ sh mem/phy
and the pgflquota of the process doing the sort ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 11:24 PM
тАО06-14-2007 11:24 PM
SolutionCorrect. 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.
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.
>> This is strange because I did the CONVERT with the /NOSORT qualifier why do I get this message then.
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)
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.
>> The converted, output file seems to be O.K.
>> PROCESS/QUOTAS/MEMORY I get:
>> Paging file quota: 90999
We'll need a $SHOW WORK output as well.
>> So in short, can just ignore this message and replace the file?
Yes.
Regards,
Hein van den Heuvel (at gmail dot com)
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2007 12:12 AM
тАО06-15-2007 12:12 AM
Re: %SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT with /NOSORT
Here is SHOW WORKING_SET
Working Set /Limit= 8192 /Quota= 16000 /Extent= 65500
Adjustment enabled Authorized Quota= 16000 Authorized Extent= 65500
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2007 02:21 AM
тАО06-15-2007 02:21 AM
Re: %SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT with /NOSORT
So you get the warning as deserved.
Grow pagfilquo (2x or 3x wsextent) or shrink wsextent (1/2 or 1/3 of pagfilquo)?and be happy!
;-)
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2007 11:22 AM
тАО06-17-2007 11:22 AM
Re: %SORT-W-SYSERROR and LIB-F-INSVIRMEM, in a CONVERT with /NOSORT
>Grow pagfilquo (2x or 3x wsextent) or shrink wsextent (1/2 or 1/3 of pagfilquo)?and be happy!
Typically Virtual Memory size (limited by PGFLQUOTA) should be significantly larger than Physical Memory size (limited by WSEXTENT).
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.
Consider that your PGFLQUOTA listed above is 90999 - not much more than 40MB (yes MEGA bytes).
Consider the cost of that much disk space, weighed against he cost of dealing with this ONE instance of this error.
Please give this system adequate resources to do the work you're asking of it!
(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)