- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Add or increase SWAP space
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
тАО07-06-2016 10:35 AM - edited тАО07-06-2016 12:30 PM
тАО07-06-2016 10:35 AM - edited тАО07-06-2016 12:30 PM
Add or increase SWAP space
Is there a recomended ratio between physical memory and SWAP?
I have an HP 2800 server with 16GB Physical memory and 8GB SWAP.
How do I increase SWAP? I have 73 GB available on VG00.
#swapinfo
Type MB Avail MB Used MB Free PCT Used Start/Limit MB Reserve Pri Name
dev 8192 2483 5709 30% 0 - 1 /dev/vg00/lvol2
reserve - 4739 -4739
memory 15477 4797 10680 31%
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2016 12:01 PM - edited тАО08-08-2016 02:50 PM
тАО07-06-2016 12:01 PM - edited тАО08-08-2016 02:50 PM
Re: Add or increase SWAP space
>Is there a recommended ratio between physical memory and SWAP?
It depends on what you want to do and how much total memory you have. Are you getting out of memory errors?
if you have 100 GB, then you don't want to have much swap.
Please edit your swapinfo output so it is readable. Might as well add that info to your first post and delete your second:
Post Options > Edit Reply
Forgot to mention to use "swapinfo -tam":.
You currently have 10 G of free memory, you don't need much more swap, unless you plan to change the load on your system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2016 12:19 PM
тАО08-08-2016 12:19 PM
Re: Add or increase SWAP space
Our Physical RAM is 16GB and swap is 8GB. We think we need to add secondary swap. The errors we see when we're tryng to run AI stuff says 209 is running out of swap space. How do add secondary swap?
$ swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 4998 3194 61% 0 - 1 /dev/vg00/lvol2
reserve - 1241 -1241
memory 15477 12275 3202 79%
total 23669 18514 5155 78% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2016 03:03 PM - edited тАО08-08-2016 03:05 PM
тАО08-08-2016 03:03 PM - edited тАО08-08-2016 03:05 PM
Re: Add or increase SWAP space
> The errors we see when we're trying to run AI stuff says 209 is running out of swap space.
It would help if you could provide the swapinfo when you get the error and not when there is 5 G free.
Search for adding device swap:
http://community.hpe.com/t5/System-Administration/add-device-swap-space/m-p/2679833
http://community.hpe.com/t5/System-Administration/Need-to-add-swap-space-need-help/m-p/4428582
http://community.hpe.com/t5/System-Administration/swap-addition/m-p/4096403
(I had a nightmare trying to reply. Even though the Preview showed the right stuff, when posted it was all invisible and
taking no space!
I did get the bogus "bad html" message.)