- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Memory usage 99%
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
тАО06-12-2008 07:00 AM
тАО06-12-2008 07:00 AM
#glance
CPU Util | 1% 1% 1%
Disk Util F FV V | 12% 12% 12%
Mem Util S SU UB B | 99% 99% 99%
Swap Util U UR R | 84% 84% 84%
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2008 08:13 AM
тАО06-12-2008 08:13 AM
Solutionkmtune | grep dbc
on both servers and if the values on secondary shows up larger than the primary node (usually dbc_max_pct is set to 50), you found your culprit. If this is the case, you need to rebuild your kernel, which means down time, despite how short it is.
Hope this helps.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2008 08:51 AM
тАО06-12-2008 08:51 AM
Re: Memory usage 99%
>> Anyway to identify what is causing this problem?
Is it a problem?
99 is a pretty number!
Rick, the itrc formatting caused the relative sizes if "S SU UB B" to be lost.
If you reply, please replace spaces by "-" or 'retain formatting' or both.
Which hp-ux version?
Mel,
I respectfully disagree.
dbc_max_pct allows the cache to grow, if there is no contention for memory. This is goodness.
dbc_min_pct on the other hand might reserve memory which could be better used elsewhere.
As Rick is using a recent RP system, he might be using 11iV3 in that case the filecache_min / max params could be use, but possibly should not be used and defaults accepted.
See "man dbc_max_pct" --> obsoleted.
$ /usr/sbin/kctune | grep -E 'filecache|Changes'
Tunable Value Expression Changes
filecache_max 8160403456 Default Auto
filecache_min 816037888 Default Auto
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2008 10:28 AM
тАО06-12-2008 10:28 AM
Re: Memory usage 99%
primary:
# kmtune | grep dbc
dbc_max_pct 5 - 5
dbc_min_pct 2 - 2
Secondary:
dbc_max_pct 50 - 50
dbc_min_pct 5 - 5
Is there a reason to set this way? If the primary server works fine with the current setting, is there a reason I should not set the same on the seconary?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2008 10:40 AM
тАО06-12-2008 10:40 AM
Re: Memory usage 99%
So, yes, you can make them the same, but if you are not experiencing a performance problem on your secondary server, do you really need to take the server down ? Of course if this is an idle member of the cluster, waiting for a failure to happen, i.e., there are no packages running on it, it is a different story.
But for the heart of the matter, yes you can do it and if you want to do it or not is upto you. All my 60+ hpux servers have these parameters tuned to 7-8% for the _max and 5% for the _min parameters.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2008 01:32 PM
тАО06-12-2008 01:32 PM
Re: Memory usage 99%
Resetting these parameters resolved the problem. Why is it a problem? If one database is started up, the memory is already in 99% on the O/S, the other database instances will experience memory contention. Besides my Oracle 10g installation failed to link files due to OUT OF MEMORY. After reset the parameters, I rebooted the box and started up 3 databases along with associated applications, the memory usage is staying at 68%. Good it is my test environment so I can reboot it quickly.
Thank you all for your great help!
Rck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2008 06:24 PM
тАО06-12-2008 06:24 PM
Re: Memory usage 99%
Actually, this is not a memory problem, it is a swap space problem. HP-UX is a virtual memory system so RAM is not the limiting factor, it is the RAM + swap space that limits your available space. You need to double of triple the total swap space. In glance, you can see this where swap space is 84% allocated.
The buffer cache is dynamic and even though the (bad) default of 50% was specified, this space should move down towards the min_pct value to make room for processes, albeit fairly slowly. And note that when you do indeed reach 100% RAM used, then paging starts and that can have a massive impact on performance. The best metric for low memory is the page out rate in Glance (or po column in vmstat).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 04:59 AM
тАО06-13-2008 04:59 AM
Re: Memory usage 99%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 04:40 PM
тАО06-13-2008 04:40 PM
Re: Memory usage 99%
Bill Hassell, sysadmin