- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory leak , where is swap being used
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
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
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
04-10-2001 03:37 AM
04-10-2001 03:37 AM
memory leak , where is swap being used
applications running. This is a C200.
I have installed all March 01 GR patches.
On 10.2 I would go 3 months with reboot, now
I can't go 1 week.
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 768 53 715 7% 0
reserve - 173 -173
memory 269 241 28 90%
total 1037 467 570 45% -
Thanks,
Dale Corrington
Eagle Mold
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2001 04:25 AM
04-10-2001 04:25 AM
Re: memory leak , where is swap being used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2001 04:36 AM
04-10-2001 04:36 AM
Re: memory leak , where is swap being used
If you suspecting a memory leak, log a software support call and see if they'll send a tool to trace where memory is being allocated. I've used some unsupported tools such as keminfo and vmtrace for this.
Regards,
-> Brian Hackley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2001 05:26 AM
04-10-2001 05:26 AM
Re: memory leak , where is swap being used
We ran into something similar when we moved from K boxes on 10.20 to N boxes on 11.00. The HP support center recommended changing the following two kernel parameters:
dbc_min_pct
dbc_max_pct
From my understanding, these parameters determine how much memory is allocated for the kernel's use. Even though the kernel requires a minimal amount of memory, if these parameters are set high, then the kernel will eventually grab more of the memory. We saw the same performance degradation over time that you're probably seeing too. After we changed the values to 2 for dbc_min_pct and 5 for dbc_max_pct, our swap and memory issues went away.
I'm not sure if this is the exact same issue you're having, but hopefully it helps.
Jeff Laux
Precision Strip, Inc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2001 07:50 AM
04-10-2001 07:50 AM
Re: memory leak , where is swap being used
Specifically look at mib2agt (using glance perhaps) It should be using around 800k of memory, but on our system is was consuming 490m. Applying patch PHSS_21046 fixed the problem for us.
Regards,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 12:24 PM
04-11-2001 12:24 PM
Re: memory leak , where is swap being used
The symptoms that you describe seem like a more
severe version of the symptoms that I have seen on
one of our database servers (Sybase).
Although I am still trying to get more information from
HP, here is a summary of what I have learnt so far:
1. Any processes using locked memory may compete
with "pseudo-swap reservations" . (You can run
'swapinfo -tam' and look for 'memory' line to see
your current pseudo-swap reservations.) In
particular, Sybase and Oracle recommend disabling
pseudo-swap on HP-UX systems running their
database engines. NOTE: If you disable
pseudo-swap, you may have to create additional
swap space on disk.
2. Modify the kernel parameter dbc_max_pct so that
your buffer cache is not "too large". The value
of this kernel parameter specifies the maximum
PERCENTAGE of the physical memory that can be
used for buffer cache. You probably do not want
your buffer cache larger than 200-300 Mb.
3. If there is a memory leak, I use GlancePak to isolate
the "leaking process". Some of the reported
Glance/Measureware metrics are incorrect due to
HP-UX kernel bug(s), but even when the process
metrics PROC_MEM_RES and/or PROC_MEM_VIRT
are incorrect, they usually show a gradual increase
over time when there is a memory leak. I also
like to use "application metrics" because I can
usually isolate the problem more quickly. If you use
Glance and/or Measureware, and you would like more
details on this, let me know: mdespic@ugg.com
4. All of the above have helped us manage memory
utilization. The system itself is a lot more stable.
However, I can still observe a slight increase in
the metrics: GBL_SWAP_SPACE_UTIL,
GBL_MEM_UTIL, and GBL_MEM_USER_UTIL,
whereas the sum total of APP_MEM_UTIL for
all of the configured applications does not show
this increase. Is this another bug with HP-UX
kernel? I don't know, but HP has confirmed
the earlier mentioned kernel bug should be
corrected under HP-UX 11i
If anyone has further info on these issues, I would
certainly like to hear about it: mdespic@ugg.com
Thanks,
Mladen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 12:31 PM
04-11-2001 12:31 PM
Re: memory leak , where is swap being used
pseudo-swap is turned on by default under HP-UX
11.00, but not under HP-UX 10.20. Since you have
upgraded from 10.20 to 11.0, this may be a clue.
Mladen