1837893 Members
3461 Online
110122 Solutions
New Discussion

Memory leaks

 
Hans Hendriks_1
Frequent Advisor

Memory leaks

We have 2 MC/SG 11.16 clusters with 3 nodes each, running HP-UX 11.11. One cluster consists of 3 L2000's with 3 GB memory, the other of 3 N4000's with 10 GB memory. All 6 nodes run Oracle 8.1.7 databases.
We are experiencing memory leaks on all 6 machines. At random times, 60 MB leaks away from the System Memory area. The occurrences are not related to starting or stopping databases, nor can I relate them to other events. I applied the Jun2004 HP-UX patch bundles and also a lot of other patches solving memory leaks.

What can I do to find out what exactely is causing these memory leaks, and more important, what can I do about them?
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: Memory leaks


Have you applied any Oracle patches?

live free or die
harry d brown jr
Live Free or Die
Hans Hendriks_1
Frequent Advisor

Re: Memory leaks

Harry,

Our DBA confirms me that we are on patchlevel 8.1.7.4.0 and that we have not applied any other Oracle patches.
Bill Hassell
Honored Contributor

Re: Memory leaks

Memory leaks are not a kernel issue, but programs that are requesting memory. Perhaps they were supposed to return extra memory after a while, but a programming error prevents this return. You need to monitor the size of the programs, and also the size of shared memory:

UNIX95= ps -eo vsz,ruser,pid,args | sort -rn | head -50
ipcs -bmop

Run these commands on a regular basis and compare the results. When you find the offending program(s), call the programmer and get the code fixed.


Bill Hassell, sysadmin