Virtual memory configuration and statistics are not available from either the Guardian Operating System procedures nor MEASURE. To work around this limitation, MOMI starts a copy of NSKCOM and periodically parses its text output to determine the amount of virtual memory available, the highest usage (i.e. high water mark), and the current usage.
Some users have reported that they were unable to alter the virtual memory on their system due to NSKCOM reporting:
"... ZSYSCFG is locked by another user..."
Note: The file in question is really $SYSTEM.SYSTEM.KMSFLOCK
They corrected this problem by stopping MOMI, making changes via NSKCOM and then restarting MOMI.
MOMI does not make any changes to virtual memory but just uses NSKCOM for 'reading' virtual memory status. However, we believe this situation may occur if a delete of a swapfile is pending after a system cold-load and if the NSKCOM started by MOMI is the first instance of this utility after a cold-load of the system.
The suggested work-around is to start an NSKCOM, under a Super.Group User ID or better, rather early in your system startup files a) after all processors have been loaded, but b) before MOMI is started. The purpose of this NSKCOM is to cleanup any pending swapfile operations after a cold-load. It is possible that the pending operation may take some time if a great deal of cleanup is involved. The recommended command to consider in your system startup file is:
comment == start NSKCOM, allow any
comment == pending cleanup then exit
NSKCOM EXIT
Update รจAs of MOMI Server version 5.00 and later the NSKCOM used by MOMI is restarted after the initial request of swapfile information. This restart should prevent, or at least automatically correct, a locked configuration file. Note that pending changes to the swapfile may keep the initial instance of NSKCOM 'busy' for a while. This may delay the initial report swapfile information within MOMI. If your site changes the swapfile often, placing an NSKCOM EXIT in your startup files, as described above, is still recommended.