- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swapinfo indicates 99% total
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-15-2004 03:33 AM
04-15-2004 03:33 AM
Does anyone what would be the best way to find out why my swapinfo now say 99% ?
*******************
HP-UX B.11.11 U 9000/800/rp7410
*******************
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 4096 -4096
memory 6457 6397 60 99%
total 10553 10493 60 99% - 0 -
*******************************
total memory =
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 8372224 Kbytes, lockable: 6599604 Kbytes, available: 7580184 Kbytes
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 03:36 AM
04-15-2004 03:36 AM
SolutionHP-UX reserves swap space for any processes it starts even if it doesn't actually start swapping.
Also keep in mind that HP recommends that your device swap is a minimum of 2x your physical memory.
In your case, you're running at 1x so you need to add 4 gig of swap to bring your total up to 2x.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 03:37 AM
04-15-2004 03:37 AM
Re: swapinfo indicates 99% total
That's termed swap reserve. It shows how much swap space has been reserved by all processes running on the system.
EVERY process that starts up *must* reserve swap space in case it ever needs to be swapped out.
What you need to do is either
1) Add more secondary swap
2) Reduce the process count or their size.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 03:41 AM
04-15-2004 03:41 AM
Re: swapinfo indicates 99% total
Your memory is 6 GB and in general for the system to run right you will need between 6 and 9 GB for efficient operation.
Based on your ouput, I strongly recommend creating a secondary swap area of around 4 GB.
If you want to collect some data on swap usage, try the script I'm attaching.
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-15-2004 04:04 AM
04-15-2004 04:04 AM
Re: swapinfo indicates 99% total
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 04:17 AM
04-15-2004 04:17 AM
Re: swapinfo indicates 99% total
4096 lv for vg00 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 05:09 AM
04-15-2004 05:09 AM
Re: swapinfo indicates 99% total
1) lvcreate -L 4096 -n swap -C y -r n /dev/vg00
2) swapon -p 1 /dev/vg00/swap
3) swapinfo -ta ( to view info )
example /etc/fstab entry:
4) Add to /etc/fstab :
/dev/vg00/swap ... swap pri=1 0 1 #device swap