- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swap Memory 99%
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
Discussions
Discussions
Forums
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
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
тАО06-02-2008 11:00 PM
тАО06-02-2008 11:00 PM
My client Devlopment server,HP-UX 11.11, oracle & Hp-DP cell manager loaded.
swapinfo reached 99%,i faced this problem 1 months back due to velocies daemon error in HP-DP,i had taken HP-Support & after adding some parameter in omnirc dir. problem has been solved.
But
Now the swapinfo between 94% to 95%
& at 12:25am to 12:35am (US TZ) it's reaching 99%
Swapinfo status.
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 6652 411 6241 6% 0 - 1 /dev/vg00/lvol2
reserve - 6241 -6241
memory 3004 2467 537 82%
total 9656 9119 537 94% - 0 -
# kmtune | grep -i dbc
dbc_max_pct 50 - 50
dbc_min_pct 5 - 5
Please help me, waiting for your valueable advice.
Prashant.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2008 11:06 PM
тАО06-02-2008 11:06 PM
Re: Swap Memory 99%
You can all ways add some more swap, if you have disk space:
To create swap, you need a contiguous space on a disk/LUN.
Create vg01:
pvcreate /dev/rdsk/c25t0d0
pvcreate /dev/rdsk/c25t2d0
vgcreate -s 8 -p 128 /dev/vg01 /dev/dsk/c25t0d0 /dev/dsk/c25t2d0
vgchange -a y /dev/vg01
lvcreate -C y -L 16384 -n lvswap /dev/vg01
/usr/sbin/swapon -f -p 3 /dev/vg01/lvswap
add to /etc/fstab:
/dev/vg01/lvswap ├в ┬ж swap pri=3 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2008 11:29 PM
тАО06-02-2008 11:29 PM
Re: Swap Memory 99%
You probably want to reduce this to 5 or 10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 12:46 AM
тАО06-03-2008 12:46 AM
Re: Swap Memory 99%
http://docs.hp.com/en/B2355-90672/ch06.html
you can set the dbc_max_pct from 50 to 10 to increase your available physical memory space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 04:20 AM
тАО06-03-2008 04:20 AM
Re: Swap Memory 99%
As said above, reduce dbc_max_pct to 10 as first step.
>reserve - 6241 -6241
>memory 3004 2467 537 82%
If you have glance, just post the output of glance -m footer.
rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 04:31 AM
тАО06-03-2008 04:31 AM
Re: Swap Memory 99%
Thanks for your valuable replay.
please tell me how to set the dbc_max_pct 50 to 10.
Please tell the concept of mention changes.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 04:45 AM
тАО06-03-2008 04:45 AM
Re: Swap Memory 99%
I do not have 11.11 systems now to check. I think on 11.11 it needs a reboot?. On the newer versions it is dynamic and no reboot is required.
dbc_max_pct value conrols the buffer cache.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 05:15 AM
тАО06-03-2008 05:15 AM
Re: Swap Memory 99%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 05:38 AM
тАО06-03-2008 05:38 AM
Re: Swap Memory 99%
your system memory shows still few but enough memory to be allocated in it much more then getting to swap
my opinion is that you may allocate a too much large sga from your oracle database (have a look at ipcs -ma to see values)
that directly get in your swap as it do not find a memory segment large enough to fill in your memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2008 07:38 AM
тАО06-03-2008 07:38 AM
Solutionrebuild kernel with mk_kernel
prep new kernel with kmupate
reboot server
Then we can review your memory allocations.
-post your output of ipcs -ma
-post some output of vmstat 10 10
just because the used entry exists on your swap device with swapinfo does not mean you are swapping/deactivating. You will need to post some information as yes you are close but maybe not yet.
Either way you have a choice, either reduce your memory usage by tuning the kernel or adjusting application allocations or buy more memory.
4GB for an Oracle environment is not much but I guess it depends on the size of your application.