1833196 Members
3064 Online
110051 Solutions
New Discussion

Memory become 100 %

 
SOLVED
Go to solution
dinlok
Occasional Contributor

Memory become 100 %

HI,
Advice me, my TEST server having sap running with 2GB physical memory.Going to 100% on real time Advice.
Advice command that will show me pertucular process taking how much memory stack?

Regrs
Dinesh Loke
CyberTech
6 REPLIES 6
Piergiacomo Perini
Trusted Contributor

Re: Memory become 100 %

hi,

try with "top" or "glance"
(for option and command see man top or man glance).

hth
regards
pg
spex
Honored Contributor
Solution

Re: Memory become 100 %

Hi,

The top five processes by vsz (core image size, in kbytes):

# UNIX95= ps -ef -o "vsz,pid,args" | sort -rn -k1 | head -n 5

PCS
Bill Hassell
Honored Contributor

Re: Memory become 100 %

2Gb and SAP: you will *always* have performance problems. It really doesn't matter which program takes the most memory -- your SAP and database have been configured to use a lot more than you have. Look at the swap Util line and you'll see a long line of U________U which means your system is paging (swap). Take a look at the Memory Report, specifically the Kb Paged Out. Numbers larger than 10 are not good, larger than 50 are bad.

To reduce the amount of memory being used, you must reconfigure SAP and Oracle to use much smaller amounts of RAM. This will take quite a bit of time to get below the 2Gb limit. Note that performance will now be even worse. The correct fix is to add 4Gb or more RAM so you have at least 6Gb, 8Gb would be better.


Bill Hassell, sysadmin
ITlearner
Frequent Advisor

Re: Memory become 100 %

Hi,

Check with top ,glance and vmstat -in commands.
If possible try killing some processes .
we can also create a swap memory on a disk which can decrease some memory load.
Regards.
ITLearner.
Reshma Malusare
Trusted Contributor

Re: Memory become 100 %

Hi Dinlok,
If memory is 100% utilized, then
1. Try to find out processes running using top & glance command.see whether you can close some applications.
2. If you find some large files,which you can zip.then try to zip them.
3. Try to kill some processes which you dont require.
3. Check for files which are not being accessed from last many days & if they are
of no use & unnecessarily eating space,then you can delete them.
4. You can increse swap memory to decrease stress on physical memory.
4. If you are facing this problem again & again over a period of time,then go for higher RAM.
TwoProc
Honored Contributor

Re: Memory become 100 %

Wayyyyy back in the late 90's I ran Oracle databases standard with 4G minimum on production servers. It's now almost 10 years later, and you're at 1/2 of that number.

From where you are right now, in regards to performance on an Oracle database server, ram is by far and away your cheapest "go faster" equipment you can buy.
We are the people our parents warned us about --Jimmy Buffett