Jump to content
 English      
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
     Forums advanced search
HP.com Home
IT Resource Center Forums > HP-UX > system administration

Memory pressure. vhand.

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: Memory pressure. vhand.      Add to my favorites
Mario Cárdenas
Nov 4, 2009 20:07:23 GMT   

Hi.

We are using a rx-7640 with 32 GB of memory, HP-UX 11.31 running Oracle 10g and 600 users. On "top" is possible to see the vhand proccess high on the list, usually betwen the firsts 5. Also, top reflects few free memory, less than 300 MB. "sar -d" also reflects the swap disk is having a lot of access. "vmstat" also reflects high "page po" values (betwen 50 and 6.000).

I am almost sure we need more memory for the system, but I would like to have more "proves". Please advice.

Thank you for help!.
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Patrick Wallek Expert in this area This member has accumulated 40000 or more points
Nov 4, 2009 20:15:09 GMT  5 pts

I'm not sure how much more proof you need. All of what you reference points to memory shortage.

Showing the output of 'swapinfo -tam' could also help. That will show how much has actually been paged out.
Mario Cárdenas
Nov 4, 2009 20:21:06 GMT    N/A: Question Author Attachement is 344183.txt 

Hi Patrick.

Here it is.

mls01:/home/ust>>swapinfo -tam
             Mb      Mb      Mb   PCT  START/      Mb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev       32768       0   32768    0%       0       -    1  /dev/vg00/lvol2
dev       32764    2283   30481    7%       0       -    0  /dev/vg01/lv01
dev       32760    1867   30893    6%       0       -    0  /dev/vgn01/lvol1
dev       37600    1854   35746    5%       0       -    0  /dev/vgn03/lvol1
reserve       -   23159  -23159
memory    31040   19904   11136   64%
total    166932   49067  117865   29%       -       0    -
mls01:/home/ust>>date
Wed Nov  4 15:54:43 SAT 2009
mls01:/home/ust>>
Patrick Wallek Expert in this area This member has accumulated 40000 or more points
Nov 4, 2009 20:31:50 GMT  5 pts

The 'swapinfo' output is showing that you are currently using about 6 GB of device swap which is the result of the page outs that you see.

I would add at least 16 GB additional RAM to this server. You will probably see an improvement in performance as well since you should not be paging out to disk as much (or at all).
Tor-Arne Nostdal This member has accumulated 250 or more points
Nov 4, 2009 20:46:08 GMT  4 pts

The alternative is to have your applications spend less ;)

=> send that request to your DB manager
Could [s]he have been too eager in consuming memory for caching.
Sagar Sirdesai This member has accumulated 250 or more points
Nov 5, 2009 04:45:05 GMT  4 pts

Hi
Check the vmstat command if the po value is more this suggests that server is short of physical memory.
As suggested by other members either increase the memory of reduce the number of processes on this box.

I know if you java process running then they are major candidate for memory consumption

Sagar
Emil Velez Expert in this area This member has accumulated 2500 or more points
Nov 5, 2009 04:50:32 GMT  3 pts

As with redneck jokes


You know you have a memory shortage if you are using swapspace

You know you have a memory shortage if you are doing pageouts to your swap device

You know you have a memory shortage if you have disk activity on your swap device.

You know you have a memory shortage if vhand is a top process
Raj D. This member has accumulated 7500 or more points
Nov 5, 2009 04:55:56 GMT  5 pts

Mario,
-How much memory usage do you see in glance during peak hours. Also you can check the measure ware graph with historical data to find out if you really need more memory.
- Use kmeminfo tool to see separate memory utilization between system and application .
- As per 600 oracle user , if one user consume ~5MB then Total memory required wold be 30GB , you got 32GB that is not enough in this case as there should be provision for system and kernel memory as well.


Hth,
Raj.
Venkatesh BL Expert in this area This member has accumulated 2500 or more points
Nov 5, 2009 04:58:37 GMT  8 pts

what is the value of 'filecache_min' and 'filecache_max' tunables on the system?

Please note that the 'pageout' rate on 11.31 also refers to the reclaimation of file cache pages. So, it does not always mean that the system is under pressue. It could just be that the file cache is hogging more pages.
Mario Cárdenas
Nov 5, 2009 13:16:24 GMT    N/A: Question Author

Hi every body, thank you for your help!.

I'll check the JAVA proccess memory usage, and the memory detail with kmeminfo. About the 'filecache_min' and 'filecache_max' , both are in "auto tuning". In fact, I don't like too much "the automatic" parameters, but this one is working that way. I accept suggestions.

Thank you!.
Mario Cárdenas
Nov 5, 2009 15:24:51 GMT    N/A: Question Author Attachement is 344263.JPG 

I this attachment could be interesting.
Mario Cárdenas
Nov 9, 2009 15:22:54 GMT    N/A: Question Author

Hi.

The filecache_ min and filecache_max parameters was by default and I change them to 2% and 15%. This "free" some memory.

The system is "moving" better, but of course this is not the solution... I'll also aplay the "PHKL_40240 11.31 vm cumulative patch" this week.

Hope this help until we buy more memory.
Steven E. Protter Expert in this area This member has accumulated 80000 or more points
Nov 9, 2009 20:25:51 GMT    Unassigned

Shalom,

'filecache_max' is the 11.31 eqpuivalent of dbc_max_pct, the old buffer cache.

Quickest way to get some needed memory back is to reduce this figure.

But the purpose of this memory is to buffer and speed io input/output to and from disk.

So be prepared for some slowdown if that was actually being used. But, the impact overall to a paging system should be positive.

SEP
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.