Problem
CMS ("Code Management System") may become very slow in guest OS (VMS) on certain fast CHARON-VAX hosts. The cause of the problem is design of CMS system itself, since CMS tends to put itself in Hibernation mode for some unknown reason. Apparently this was known to CMS team, and instead of fixing it, they made a workaround by sending a wakeup signal to CMS itself every second. So, the faster the hosting server is (CHARON-VAX), faster CMS gets into Hibernation state, and stays longer there.
Solution
To workaround this problem a special utility "FRCWAK" ("Forced Wakup") has been developed by Stromasys. It sends a wakeup command to CMS 10 times a second to prevent its going to Hibertation state.
- Download zip archive containing a disk image with "FRCWAK" utility executable.
- Unzip the archive.
- Mount this disk image under host OS (VMS) and copy the utility to "sys$sysdevice:[frcwak]" folder.
Use it in the following way:
$ run /process='f$getjpi("","PID")' sys$sysdevice:[frcwak]frcwak
$ < ... CMS operations ... >
$ stop 'f$getjpi("","PID")'
Note that PID of the process which needs wakeup is passed to "FRCWAK" utility through name of the process running the utility. This is to bypass nightmare passing parameters to another process.
In certain situations the provided executable of "FRCWAK" utility has to be re-compiled. Use its source code for that (this source code is also available on the utility's disk image - see above):
$ cc/list frcwak.c
$ link frcwak
Attachments
Related articles
Readers/approval
- Your approval is needed for this document Bruno Miretti (Deactivated)
- Your approval is needed for this document Gregory Reut
- Your approval is needed for this document Vadim Model