- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swap space is not getting used
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
01-07-2008 06:35 AM
01-07-2008 06:35 AM
swap space is not getting used
Kindly Help Me
I have rp 7420 server it's swap space is not using the physical memory is using 98%
then also swap is free.
hp open view agent is also installed this server. hp openview is giving the message of memory bottleneck. the same way i have checked swapmem is 1 is in kernel
re
rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 07:40 AM
01-07-2008 07:40 AM
Re: swap space is not getting used
I just found this out the hard way. Some software won't allow its process to be swapped. Oracle RAC for example may do this.
Tell us the application involved.
http://www.hpux.ws/?p=6
Just another way to get good performance informaiton.
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
01-07-2008 10:01 AM
01-07-2008 10:01 AM
Re: swap space is not getting used
There is only 8GB of device swap.
The psuedo swap is currenlty at 6GB but that will continually dwindle as memory usage grows and you will not be able to start new proceses.
How much RAM is in this system ?
HPUX allocates swap up front as each process starts. It certainly can be allocated from psuedo swap but as stated this dwindles as RAM is needed and device swap must be there.
Configure devices swap at a minumum of 1x physical RAM. I add 2GB to that for a buffer.
Keep in mind for larger mem systems you will have to modify swchunk as maxswchunks has a limit. ( depending on OS version ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 10:04 AM
01-07-2008 10:04 AM
Re: swap space is not getting used
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1190829
>hp openview is giving the message of memory bottleneck
This is likely bogus, unless you want to use this as a prediction of adding more applications to this server. (Also what is the size of your buffer cache?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 10:16 AM
01-07-2008 10:16 AM
Re: swap space is not getting used
Add a disk to vg00. Create another lvol for swap (lvswap). Then go into SAM Under Disks / Swap / Add Device Swap
and add the new disk. Mark it so it is active NOW & On Reboot.
See if that gives you some immediate relief.
Remember that you don't get the full benefit of all your memory unless you allocate the proper amount of swap. Search the Forums for additional information to help you on this and things like maxswapchunks/swchunks (which I always tend just set to 16384/2048) so you can determine what is best for your boxes.
Like I said...just for some quick relief,
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 10:17 AM
01-07-2008 10:17 AM
Re: swap space is not getting used
Since your first (lvol2) is set up for 8Gb, why not just set up the next swap for same size.
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2008 11:26 AM
01-07-2008 11:26 AM
Re: swap space is not getting used
I'm not sure how helpful this is to have more in Rajesh's case. swapmem_on is on and the 8 Gb of swap isn't being used anyway.
See Bill's replies in these threads:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1173007
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1162266
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 04:23 AM
01-08-2008 04:23 AM
Re: swap space is not getting used
The only swap set up is lvol2.
Rajesh is getting out of memory (bottleneck) messages.
Hi Dennis,
The point I was trying to make is that swap should be more than, not equal to physical memory. I'm guessing at what the actual physical memory on the box is.
The recommendation is 2 to 4 times the total physical memory. And I don't see that Rajesh ever added anything other than what the kernel initially built. For all we know afterwards memory was added. We don't know. To handle the increase in processing he should add swap, so that he can advantage of the memory with swapmem turned on.
Rajesh, you can add some swap disk with things up and running and configure your server to use it immediately and on reboots.
Here is a url that will help you on swap that you can review and download as a PDF file for future use.
http://docs.hp.com/en/B2355-90950/ch06s03.html
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2008 11:45 AM
01-08-2008 11:45 AM
Re: swap space is not getting used
And I was pointing out Bill's opposite view. That you should have "no" swap space and all and everything being left in memory. Of course 8 Gb may not be large enough for Bill's suggestions.
>I'm guessing at what the actual physical memory on the box is.
I assume ~8 Gb from swapinfo "memory".
>To handle the increase in processing he should add swap, so that he can advantage of the memory with swapmem turned on.
You don't need (device/filesystem) swap space to take advantage of swapmem_on.