- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Serious Sys Mem Problem
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
09-29-2005 04:53 AM
09-29-2005 04:53 AM
Serious Sys Mem Problem
I have two L3000 boxes with MC/SG. One of the two has an issue. The boxes should be pretty close to being the same.
One of the boxes slowly has the sys memory go up until the point the system is unusable, e.g. there is no real or swap memory left for user processes.
The other box does not have this issue. On the box with the problem it takes several months for all the memory to get used up and then we have to reboot.
Right now glance shows that sys mem is 4.5GB, user mem is 207MB and phys mem is 5GB.
I have used the following command but it does not account for all the sys memory (or even close) that is in use.
UNIX95= ps -eo vsz,ruser,pid,args | sort -rn | head -50
I have attached a screen print from glance and also running ipcs.
I have tried using different command to see what is using all the system memory but I can't seem to figure out what is going on. Any ideas on how to track this down?
Thanks so much,
- Justin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 05:00 AM
09-29-2005 05:00 AM
Re: Serious Sys Mem Problem
Can you say memory leak?
I knew you could.
The best cure I've seen for this malady is a Louisville Slugger liberally waved at the developers.
What you need to do is scan the PIDs for memory "growth" over time.
Short of that, you're not going to be able to do much about it.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 05:05 AM
09-29-2005 05:05 AM
Re: Serious Sys Mem Problem
The difference in load can be due to difference in packages running in both nodes. How many packages are there ?
Have you tried swaping packages in between them and see the utilization?
Is there something else running out of MC Service Guard?
Also "swapinfo -atm" will give memory utilization details.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 05:07 AM
09-29-2005 05:07 AM
Re: Serious Sys Mem Problem
UNIX95= ps -eo vsz,ruser,pid,args | sort -rn | head -50
I am assuming there is some sort of shared memory usage that is not being released but I don't know for sure or how to track it down if that is what is happening.
- Justin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 05:18 AM
09-29-2005 05:18 AM
Re: Serious Sys Mem Problem
There are only 2 packages running on this box and 1 package running on the box that's ok. The applications are very similar, one is for production and two are semi-production.
I have not swapped which servers they run on long enough to see if it's the packages or the node, but I might have to.
The swapinfo command does not really tell me much:
(ifback)root# swapinfo -atm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 1097 2999 27% 0 - 1 /dev/vg00/lvol2
reserve - 1036 -1036
memory 3881 3881 0 100%
total 7977 6014 1963 75% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 05:23 AM
09-29-2005 05:23 AM
Re: Serious Sys Mem Problem
The "virtual" (vsz) can be misleading.
Try using ps -efl & try sorting on the 10th column. That's the "resident" size which is the "truer" usage size.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 05:31 AM
09-29-2005 05:31 AM
Re: Serious Sys Mem Problem
These issues are almost always caused by poor programming, though I advise against any kind of violence. :=)
Linking a good set of data collection tools.
http://www.hpux.ws/system.perf.sh
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 05:45 AM
09-29-2005 05:45 AM
Re: Serious Sys Mem Problem
Notice I said wave - not thump. ;~))
Shalom, my friend.
Cheers,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 06:36 AM
09-29-2005 06:36 AM
Re: Serious Sys Mem Problem
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 06:45 AM
09-29-2005 06:45 AM
Re: Serious Sys Mem Problem
I was hoping to not open a case with HP (trying not to bother them) but sounds like I need to so I can get a copy of kmeminfo. I will do that shortly. Thanks,
- Justin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 06:49 AM
09-29-2005 06:49 AM
Re: Serious Sys Mem Problem
Never ever think twice about opening a support call with HP. If you have a support contract, that is what you pay for. You might as well get your moneys worth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 07:38 AM
09-29-2005 07:38 AM
Re: Serious Sys Mem Problem
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 02:58 AM
10-11-2005 02:58 AM
Re: Serious Sys Mem Problem
I have not placed a call to HP yet. I don't see any patches related to Ignite and memory leaks on the itrc. I am thinking I might just upgrade Ignite and see what happens. I am not sure how that could be related to the TSM nightly backup using system memory and not giving it back.
Very strange as the same version of Ignite is loaded on our other box and it's not having the same issue.
- Justin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 03:19 AM
10-11-2005 03:19 AM
Re: Serious Sys Mem Problem
Run
/usr/contrib/Q4/bin/kmeminfo
and post the output.
Q: I assume that the swapinfo output you posted is about box memory was exhausted, doesn't it?
Please, post the swapinfo output when box has no memory problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 03:26 AM
10-11-2005 03:26 AM
Re: Serious Sys Mem Problem
We are running HPUX 11.11 on rp4440s.
Attached is the out put from swapinfo and the kmeminfo command. There is no memory problem other then each day or at least every week more system memory is used up and not released.
- Justin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 03:41 AM
10-11-2005 03:41 AM
Re: Serious Sys Mem Problem
If backup might be the problem, I'd run the command
vmstat 2 count # substitue 'count' for the number of times the vmstat will print a line ENOUGH to monitor the memory for the time the backup is running. For example, if backup session last 1 hour, count should be 60 x 60 / 2 = 1800
The goal is to monitor the values of "avm", "free", "po" and "sr" columns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 06:11 AM
10-11-2005 06:11 AM