- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Memory Error on Tru64
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
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
тАО01-02-2007 01:45 PM
тАО01-02-2007 01:45 PM
Re: Memory Error on Tru64
Personally I would prefer to 'see' the old setting/problem first with ps -o vss,rss but I appreciate that may be hard if a program exits upon failure. You can also just turn the know and hope for the best, then run ps -o afterwards while it works.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2007 02:32 PM
тАО01-02-2007 02:32 PM
Re: Memory Error on Tru64
Rebooted and we re-ran with no luck.
Tried twice with ulimit -d and -v both set to 10G and then 8G.
Should we be changing another kernel param?
Another ulimit setting? -m?
Previous realloc() comment has me thinking if that is doubling memory usage do to shuffling of old and new pages.
Will examine memory some more during next tests. SysAdmin had said that only 7.5 of 12G of RAM was being used.
Programmer felt that only 2.5 G had been allocated for linked lists. Even doubled for overhead that would be just 5G. Host has 12G RAM/51G swap. Can't see why it would run out. Also, it ran out at same amount of data where it did on Dev server with per_proc_address_space set to 4G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2007 11:02 PM
тАО01-02-2007 11:02 PM
Re: Memory Error on Tru64
Check the data limit?
Sorry for not pointing that out immmediately.
per_proc_data_size = 4294967296
max_per_proc_data_size = 8589934592
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2007 03:19 PM
тАО01-14-2007 03:19 PM
Re: Memory Error on Tru64
Turns out those that mentioned realloc were correct. It leaves holes in memory. A tech from HP did a test and found out that if you do the following:
ptr = realloc(1K);
ptr = realloc(2K);
ptr = realloc(4K);
ptr = realloc(8K);
You might think you were only using 8K of RAM. No instead you will of used 23K - the 8K you want plus 15K of holes in RAM that don't get reused by the OS.
He advised our library programmer to change how he was allocating memory. He did and we have been running in production successfully since.
Thanks to every one for your timely advice!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2007 03:22 PM
тАО01-14-2007 03:22 PM
Re: Memory Error on Tru64
- « Previous
-
- 1
- 2
- Next »