1830350 Members
1825 Online
110001 Solutions
New Discussion

System Memory over 50%

 
ian Dennison
Regular Advisor

System Memory over 50%

I have a slight problem, in that my N4000 with 8 GB of memory has run out. Running Glance shows the following memory allocations,...

Total VM : 1.89gb Sys Mem : 5.73gb User Mem: 1.43gb Phys Mem: 8.00gb
Active VM: 1.25gb Buf Cache: 825.9mb Free Mem: 37.4mb

System Memory is amazingly large, at 5.73GB.

I am familiar with Glance, but cannot track down the culprit, or even identify if this is 'normal'. Any hints?

Also, have yet to figure out the relationship between the 4 memory regions, and the 'System', 'User' and 'Buffer' areas presented on Glance.

Thanks, Ian Dennison

Lets do it to them before they do it to us! www.fred.net.nz
9 REPLIES 9
harry d brown jr
Honored Contributor

Re: System Memory over 50%

IAN,

What "kind" of applications are you running? Java, web servers, databases...?

Also, you can usually safely reduce your "max buffer" cache from 10 to 5 and your min to 2. THat'll give you a max of 400mb to buffering.

And what was the last patch bundle installed, as dec 2001 is available.

live free or die
harry
Live Free or Die
ian Dennison
Regular Advisor

Re: System Memory over 50%

Harry,

Am running OmniBack 4.0, 3 x Oracle Database Instances and 1 x Progress Instance.

I suspect that we are over-speccing the SGAs a little, but am finding it difficult to analyse which is causing the problem. Suspect I am focussing too much on the System Memory component, and not looking at the whole memory situation.

Will definitely drop Buffer Cache down to 400MB, to free up some more memory. Thanks for pointing that out. Looks like IOU a couple more points.

Share and Enjoy! Ian
Lets do it to them before they do it to us! www.fred.net.nz
ian Dennison
Regular Advisor

Re: System Memory over 50%

HP-UX 11.11 June 2001 patch set installed, Dec 2001 on order.

Cheers, Ian
Lets do it to them before they do it to us! www.fred.net.nz
harry d brown jr
Honored Contributor

Re: System Memory over 50%

Your SGA's must be reporting as "system memory". How big are your sga's?

live free or die
harry
Live Free or Die
ian Dennison
Regular Advisor

Re: System Memory over 50%

Harry,

SID1 & SID2 = 153MB SGA
SID3 = 1012MB SGA

This tallys with the 'ipcs -ma' command, showing approx. the same amounts to each Userid for each SID. Totalling up these segment sizes gives me about 1.5GB.

Cheers, Ian Dennison
Lets do it to them before they do it to us! www.fred.net.nz
harry d brown jr
Honored Contributor

Re: System Memory over 50%

Ian,

Using glance, the gpm graphical version, go to the "application list" and sort on the virtual memory column. If you have any filters, disable them all.

Now you should be able to see all of the app's that are pigs. Drill into them to determine what the biggest pig is.

live free or die
harry
Live Free or Die
ian Dennison
Regular Advisor

Re: System Memory over 50%

Harry,

My Applications are not set up well, so I am getting similar results from Glance Application List as I do from 'ipcs -ma'.

Summary as follows,...
ResMem VirtMem
1 other 1.43gb 2.57gb
2 network 22.3mb 72.0mb
3 memory_management 232kb 820kb
4 other_user_root 110.6mb 369.5mb

Seeing as it is Friday, I am asking for an outage this weekend to set Buffer Cache to 400MB. I will set up my Applications in the Measureware Agent definition, take note of the output of various commands (ipcs -ma, ps -elf, glance, top), then look again on Monday to see if the problem re-appears.

Thanks for your assistance in looking at this. Cheers, Ian Dennison

Lets do it to them before they do it to us! www.fred.net.nz
harry d brown jr
Honored Contributor

Re: System Memory over 50%

Ian,

That memory doesn't add up. Interesting, I'm wondering if you got a memory leakage going on there. When do you expect to get your dec 2001 patch bundle? To bad not before the week end.Check with Oracle and Progress to see if they have any application patche that might address memory leaks.

live free or die
harry
Live Free or Die
Ian Dennison_1
Honored Contributor

Re: System Memory over 50%

Harry,

Finally got the server down and rebooted, problems all gone away! Must have been a memory leak; good call on your part!!

Thanks for your assistance. Cheers, Ian
Building a dumber user