- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mem 100% how to fix, urgent!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 02:32 AM
04-10-2007 02:32 AM
our hp-ux rp box hp-ux11i v1, mem 100% cpu:10% swap 50% disk 1% (data from glance).
how to fix it.
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 02:42 AM
04-10-2007 02:42 AM
Solution1) 100% memory use is not a problem. If system response time is an issue or other problems exist, then continue, otherwise stop.
2) 50% Swap use may not be a problem either as a process allocates swap at run time in case it needs to be swapped.
vmstat to see if you are paging.
http://www.hpux.ws/system.perf.sh to gather more data.
If you are indeed paging heavily than you have a few choices.
Lower dbc_max_pct to decrease buffer cache and free up some memory.
Add memory to the system.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 02:42 AM
04-10-2007 02:42 AM
Re: mem 100% how to fix, urgent!
1) Add more memory
2) Stop processes / applications that are using memory.
Without more information as to what is running, it is difficult to be more exact.
Another thing to check is your dbc_max_pct setting. If it is still set at 50, then it should be set lower. Without knowing the amount of RAM you have it is impossible to make an intelligent recommendation for the setting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 02:46 AM
04-10-2007 02:46 AM
Re: mem 100% how to fix, urgent!
how to fix it.
How to fix what? Is it broken?
How can you tell? Why not share that with us.
You should get a bonus for making use of all the memory.
It was bought to be used and not to just sit there all shiny was it?
Specifally a large value of dbc_max will allow the system to use up all 'free' memory for buffer caches. Nothing wrong with that!
Hope this helps some,
Hein van den Heuvel (at gmail dot com)
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 02:49 AM
04-10-2007 02:49 AM
Re: mem 100% how to fix, urgent!
How are you doing? See you again at HP-UX forums. you answered me a liunx question last week about upgrade liunx OS to u8.
I have check /stand/system our past dbc_max_pct is 5, I have modified to 15 by vi, but mem still 100%. I wanna find out which process or program caused this issue, but I could not find out through glance, top, vmstart -S 5 2, sar etc. how to do next step,
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 02:52 AM
04-10-2007 02:52 AM
Re: mem 100% how to fix, urgent!
thank you very much for your fast reply.
my HP-UX rp2470 box mem is 6GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 02:52 AM
04-10-2007 02:52 AM
Re: mem 100% how to fix, urgent!
To get the new value to take effect you have to regenerate the kernel and reboot your system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 02:54 AM
04-10-2007 02:54 AM
Re: mem 100% how to fix, urgent!
You can use this command to see which processes/programs are using most of your memory:
# UNIX95= ps -eo vsz,ruser,pid,args | sort -rn | more
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 03:09 AM
04-10-2007 03:09 AM
Re: mem 100% how to fix, urgent!
Pay attention to Patrick's second comment.
use kmtune or sam to change teh dbc_max_pct and see if it helps.
I'm trying to do okay, got some issues here, glad I was helpful on the Linux side.
I think you, IF you actually have a problem are going to need to buy memory for your box.
You are welcome.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 03:38 AM
04-10-2007 03:38 AM
Re: mem 100% how to fix, urgent!
Use your command I checked out the process that using most mem.
But I don't wanna fix it. I think you all are right, mem 100% not a big deal, if have other problems or bottleneck exist, maybe need fix it, but this case cpu 10% swap 50% and disk 1%, maybe not right? current mem is back to 88%.
Hein van den, you are funny guy, I will share you later about which hero program used most mem not to sit there sleep.
thanks patrick and steven.
have a great day
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 03:14 PM
04-10-2007 03:14 PM
Re: mem 100% how to fix, urgent!
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 03:39 AM
04-11-2007 03:39 AM
Re: mem 100% how to fix, urgent!
thank you very much for your detail reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 04:06 AM
04-11-2007 04:06 AM
Re: mem 100% how to fix, urgent!
with glance, my rp box current CPU Util 4%, Disk Util 4%, mem is 95%, Swap Util is 87%.
with sam, I found swap /dev/vg00/lvol2 Mbytes is 4096, is it 4.096G? small? or use another command could check the real space size of swap. page in sometime was 102, sometime was 29 58 0 etc.
cumulative is 37407 and high rate is 1639.3 but page out still = 0, both cumulative and high rate, is it normally?
Other info were:
Total VM : 10.6gb Sys Mem : 3.95gb User Mem: 9.75gb Phys Mem: 16.0gb
Active VM: 7.08gb Buf Cache: 1.60gb Free Mem: 718.8mb
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 06:08 AM
04-11-2007 06:08 AM
Re: mem 100% how to fix, urgent!
> with glance, my rp box current CPU Util 4%, Disk Util 4%, mem is 95%, Swap Util is 87%.
Swap Usage is two values, reserve and used. The RRRRRRRRRR part of the bar is not real swap usage, just reserved. The UUUUU part is the used area and refers to both page-outs as well as memory mapped files. You might want to add an additional swap area for future growth. swapon can enable this while you are running. Add the entry to /etc/fstab to make it permanent.
with sam, I found swap /dev/vg00/lvol2 Mbytes is 4096, is it 4.096G? small? or use another command could check the real space size of swap.
4096 Mb is 4Gb, a bit small for a 16 Gb machine. I would add another 4Gb lvol for secondary swap space.
> page in sometime was 102, sometime was 29 58 0 etc.
cumulative is 37407 and high rate is 1639.3 but page out still = 0, both cumulative and high rate, is it normally?
Ignore page-in completely. It is a measure of *every* program startup. When a program starts, HP-UX will "page-in" the executable program from the filesystem. Hidden in the same metric is page-in from disk but it is not possible to tell the difference.
However, page-out indicates that a process was deactivated and paged-out to the swap area. Since your page-out number is 0, there is no problem, you have plenty of memory.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 07:18 AM
04-11-2007 07:18 AM
Re: mem 100% how to fix, urgent!
thank you very much for your excellent and detail explanation
have a great day
thanks
-Gary