1837343 Members
4983 Online
110116 Solutions
New Discussion

MEMORY USAGE

 
SOLVED
Go to solution
CSA-PROD
Occasional Contributor

MEMORY USAGE

I have a server k570 with hp-ux 11.0 and total physical memory 1024 Mb.
User mem is 300 Mb.Is it normal that without any particular process the memory usage (user mem) is so hight?
I have already done some controls with glance, gpm, ps, top, perfview but there is nothing strange.
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: MEMORY USAGE



"user" memory is not limited to not root processes, meaning that root processes can be "user" processes. I haven't played enough with glance to quantify exacty what is system and what is "user". Is your "min" buffer cache set to no more than 20%?

http://docs.hp.com/hpux/onlinedocs/os/11i/mem_mgt.html

live free or die
harry
Live Free or Die
Steven Gillard_2
Honored Contributor

Re: MEMORY USAGE

Its hard to say whether you have a problem or not without knowing what processes are using the memory. Can you post output from the following command:

$ UNIX95= ps -eo 'vsz args' | sort -nr | head

That will print the top 10 memory using processes.

Regards,
Steve
CSA-PROD
Occasional Contributor

Re: MEMORY USAGE

Hi,
about the buffer cache we have a dinamic one,value is:
dbc_max_pct=20
dbc_min_pct=5
In attachment the output of "ps -e 'vsz args' | sort -nr|head"
Thanks
Steven Gillard_2
Honored Contributor
Solution

Re: MEMORY USAGE

From the ps output it doesn't look like you have any processes with memory leaks (at least none that appear in the given output). I guess if you look at the entire process list on your machine it will all add up to the 300Meg, although I must agree that it does sound a little high if you have nothing else running.

Still as they say, high memory usage on unix is not a problem, so long as there is not too much page out activity. Chances are this is normal and not indicative of a problem.

Regards,
Steve
Roger Baptiste
Honored Contributor

Re: MEMORY USAGE

hi,

You wouldnt need to worry about memory usage, unless there is lot of swapping and paging going on. That can be checked by running
vmstat -n and look for the value correspondign to po (pageout). This should ideally be zero.
Swapinfo -mt gives you swap usage.

Also, use glance and check memory load.

HTH
raj
Take it easy.
Krishna Prasad
Trusted Contributor

Re: MEMORY USAGE

I wouldn't be concerned with 30% of your memory being used by user process.

I worry about the % of user process for cpu. It is normal for % of user to be high for memory.
Positive Results requires Positive Thinking