1836239 Members
3741 Online
110096 Solutions
New Discussion

Memory leak on 10.20

 
Brian Barbour
New Member

Memory leak on 10.20

I am running a 9000 D280 server with 10.20. I am experiecing significant problem with memory "filling up" and then rendering the system non-functional unless I reboot. Swapinfo reveals my memory usage to be around 9% at reboot only to climb over the course of six hours to 78 %. Over the course of the next two weeks it will approach 100% and lock up the server. I was wondering what insight anyone had into this. I have 640 MB of memory and two swap spaces matching that size.

brian
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: Memory leak on 10.20


Do you have your machine up-to-date with patches?

Have you identified what application is causing the issue?

Do you have glance/measureware installed?

live free or die
harry
Live Free or Die
Ken Hubnik_2
Honored Contributor

Re: Memory leak on 10.20

This command will grep on the process and sort by memory usage. Run it several times and see if a process is growing memory.

UNIX95= ps -e -o vsz,ruser,pid,args | sort -rn | head
Martin Johnson
Honored Contributor

Re: Memory leak on 10.20

If you have glance you can check which process is increasing memory usage.

If you don't have glance, you can use top.

HTH
Marty
A. Clay Stephenson
Acclaimed Contributor

Re: Memory leak on 10.20

10.20 is now very stable; I would suspect two things: 1) System needing patching - I would apply the latest General Release patchset 2) Bad application code. You need to identify processes who are growing over time using this command on a periodic basis:

UNIX95= ps -eo vsz,ruser,args | sort -rn

Glance would also be an excellent tool to spot memory leaks.

If it ain't broke, I can fix that.
Bill Hassell
Honored Contributor

Re: Memory leak on 10.20

I know of no significant memory leaks in HP-UX 10.20 so the problem is likely with application programs. This is highly likely since swap usage is growing which means programs are either growing or the number of programs is increasing.


Bill Hassell, sysadmin
Brian Barbour
New Member

Re: Memory leak on 10.20

Thanks for all the input. I was wondering where I can get a copy of "glance" it is not loaded on my server. Also some of you have mentioned that I use ps -e o but my system says the -o option is illegal. Any thoughts?
Pete Randall
Outstanding Contributor

Re: Memory leak on 10.20

Brian,

You can find Glance (the 30 day trial version) on your application CDs.

In order to use the -o option of ps, you need to use the UNIX95 syntax like Ken had it:

UNIX95= ps -e -o vsz,ruser,pid,args | sort -rn | head


Not the space following the = sign.

Pete

Pete
Armin Feller
Honored Contributor

Re: Memory leak on 10.20

Hi Brian,

here a patchlist which fixes all currently known memory leaks in HP-UX 10.20

PHNE_22507 ARPA
PHNE_22877 NFS (
PHNE_22085 Streams PTY PHNE_18870 FDDI
PHNE_2190[34] DLPI
PHKL_2089[01] PM/VM
PHKL_23258 SCSI
PHNE_25501 ATM
PHNE_25619 STREAMS PHNE_23195 100BT
PHNE_18870(?) FDDI
PHNE_12559

If you download and install this your problem should be solved.

;-))) quick and dirty solution ;-)))

Regards,
Armin