Operating System - HP-UX
1833417 Members
3421 Online
110052 Solutions
New Discussion

Re: high utilization of memory

 
Shah Gaurang B.
Frequent Advisor

high utilization of memory

Hi,

I have one E55 model server with 11.11 hp-ux version. there are no extra patches or programs inside it. Due to some reason utilization of memory is too high when only one or to users are login utilization is around 60% to 70% . what could be the reason.

9 REPLIES 9
Kent Ostby
Honored Contributor

Re: high utilization of memory

Shah ... a lot will depend on what you are running and also on how you have swap configured.

HP recommends 2xRAM worth of swap. Another issue is what you have for a setting of dbc_max_pct. If this is set to "0" then it defaults in the kernel to 50%.

Set this value so that you are using at most 30% of your memory and that might help the pressure.

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Steven E. Protter
Exalted Contributor

Re: high utilization of memory

Shalom,

I am amazed that this system actually does anytyhing with 11i installed.

Simply booting is going to utilize most of the system memory in a box that old.

I would suggest that your strategy for running the machine requires revision. You should patch the system up the latest quarterly release. This may make the utilization decrease because a substantial portion of the patch set deals with performance issues.

I woule then search for sd/ux and peformance related patches, create another patch set and install that.

On this box, I'd expect these two patch installations to take the better part of a day.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ninad_1
Honored Contributor

Re: high utilization of memory

Hi,

This depends on so many things -
what applications are running - e.g. databases will require some memory set aside - SGA/PGA as shared memory segment.
Also what are your kernel params - dbc_max_pct / bufpages [ dynamic/static] buffer page allocation. If you are having a large amount of memory and the dbc_max_pct is default vaule of 50% - this will reserve 50% of your mem straight away for the cahce - so you may decide to decrease the param.
Then see which processes are using max memory

UNIX95= ps -e -o "pid,vsz,args" | sort -nr -k 2 | more

[Note the space between = and ps]

Regards,
Ninad
Shah Gaurang B.
Frequent Advisor

Re: high utilization of memory

thanks for prompt reply to all, i set dbc_max_pct in kernel parameter but situation is not improved . Memory utilization increased slowly as per observation. It increased 26% to 60% even though only one user is connected. What could be the reason. Is there any tools or way to observe and diagnose that .

Ninad_1
Honored Contributor

Re: high utilization of memory

Gaurang,

What appliations are running on your server ?
Did you try the UNIX95= ... command to see which are the max memory consuming processes ?
Are there any run-away processes which have consumed memory ? See if there are zombie processes -
ps -eafl | awk '{print $2,$3,$4,$NF}' | grep "^Z"

Are latest patches applied ?

Regards,
Ninad
Shah Gaurang B.
Frequent Advisor

Re: high utilization of memory

ninad , can u give me link of downloading latest patch of 11.11 0/s kernel . The server model is E55 old hp9000 .
Darrel Louis
Honored Contributor

Re: high utilization of memory

Shah,

Do you have any Java or Database related applications running on the server?

Link for patches:
http://www4.itrc.hp.com/service/patch/crumbRequest.do?crumb=patch.breadcrumb.main&BC=

Darrel
Ninad_1
Honored Contributor

Re: high utilization of memory

Gaurang,

The above link will give you individual patches which you can search, or you can find patch bundles here
http://www4.itrc.hp.com/service/patch/releaseIndexPage.do

Regards,
Ninad
Steve Steel
Honored Contributor

Re: high utilization of memory

Hi

ftp://eh:spear9@hprc.external.hp.com/memory.htm


Will allow you to plot memory usage


Old machine with 11i is a recipe for memory usage


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)