- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Memory leak in CMS
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
Forums
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
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
тАО03-02-2011 08:38 AM
тАО03-02-2011 08:38 AM
There is a fairly large memory leak in all CMS commands that use the CMS DIF functionality. (CMS VERIFY, CMS DIF, CMS REPLACE/IF....). The memory is restored on completion of the CMS task.
My current workaround is to only use these commands on individual elements in DCL.
I'm not having much luck finding a proper contact to send this information.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2011 09:10 AM
тАО03-02-2011 09:10 AM
SolutionI don't know off-hand if CMS 4.6 is current or if there are patches for it. The support center would know, and would know if there are patches for CMS that haven't been generally released.
If you don't have a support contract, then you can try submitting a reproducer for the bug to the OpenVMS programs office Openvms.programs@hp.com and posting a copy of the reproducer somewhere on the 'net for other folks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2011 12:30 PM
тАО03-02-2011 12:30 PM
Re: Memory leak in CMS
I'm not sure I understand your problem.
>The memory is restored on completion of
>the CMS task.
This isn't the usual definition of "leak". If the memory is restored, it hasn't leaked.
What is the symptom you're experiencing which makes you think there's a problem?
Are you sure the commands aren't just using more memory than you expect? Perhaps you could fix the issue by increasing quotas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2011 12:32 PM
тАО03-02-2011 12:32 PM
Re: Memory leak in CMS
I think perhaps he meant the memory is restored on image rundown - i.e., if each CMS command is an individual DCL verb, then all is well.
But if you enter CMS and work from the CMS> prompt then you will hit the memory limit at some point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2011 02:19 PM
тАО03-02-2011 02:19 PM
Re: Memory leak in CMS
For example, from DCL:
$ CMS VERIFY
This command by default will work on all elements within the library, if there is a reference copy, then the command will use the CMS internal dif routine for each element. For me, after about 50 elements I get this:
%CMS-F-BUG, there is something wrong with CMS or something it calls
-CMS-F-SYSFAIL, SYS$CRETVA system service request failed
-SYSTEM-F-EXPGFLQUOTA, exceeded pagefile quota
Its been fun running this command while watching the process with PROCMON. Sure boosting my page file quota will increase the number of elements processed, but it doesn't fix the underlying problem (nor the fact that one of my CMS libraries has 4000 elements in it).
so the way around this for me is to create a COM file like so:
CMS SHOW ELE *.* /FORMAT="$ CMS VERIFY #E" /OUT=CMSV.COM.
In this way, I'm freeing the memory with every call, which CMS isn't doing with each iteration when using the wildcards. This is slower, but it at least will complete.
Very few commands use the diff CMS call routine. CMS DIF is "okay" because it doesn't allow wildcarded elements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2011 12:03 AM
тАО03-03-2011 12:03 AM
Re: Memory leak in CMS
I had similar issues with CMS 4-6 but these showed up with LIB$FREE_VM. The case number is 4616365989 (if that is any help) which was raised sometime round September last year. I don;t know if the fix is available yet, I may have look around and see if can find a recent patch kit.
cheers
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2011 01:47 AM
тАО03-03-2011 01:47 AM
Re: Memory leak in CMS
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2011 02:10 AM
тАО03-03-2011 02:10 AM