- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- what is in the 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
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
05-30-2003 01:13 AM
05-30-2003 01:13 AM
i have a puzzle about swap space and paging.In my system,the output of "swapinfo -m" is:
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 0 1024 0% 0 - 1 /dev/vg00/lvol2
dev 4096 2903 1193 71% 0 - 0 /dev/vg00/lvswap2
reserve - 2213 -2213
memory 12689 8768 3921 69%
but i cannot find any pageouts with glance:
Event Current Cumulative Current Rate Cum Rate High Rate
Page Faults 2 33. 631.7
Page In .4 8. 293.5
Page Out 0 0 0.0 0.0 0.0
KB Paged In kb 352kb 4. 18.6
KB Paged Out 0kb 0kb 0.0 0.0 0.0
/dev/vg00/lvswap2 has been used by 71%, but pageout never occurs. what is in the swap space? can anyone clarify it for me?
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:19 AM
05-30-2003 01:19 AM
Re: what is in the swap space
probably you have some application that prea-llocate large amount of memory.
But if this is never used, it remains in the "swap" and never get to memory.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:50 AM
05-30-2003 01:50 AM
Re: what is in the swap space
All this means is that at one point your server USED 2903 MB of swap (ie 2903 MB of memory more than you physical memory was used), it may not be the case at the moment.
Use glance or vmstat to confirm how much free memory you have right now. If you have quite a bit of free memory thats why you are not seeing any pageouts. Swapinfo is not realtime - it doesnt reduce swap usage accurately once you have free memory again.
To get swapinfo to accurately show swap usage right now (not in the past) you have to reboot - its the only way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 03:06 AM
05-30-2003 03:06 AM
Re: what is in the swap space
0% 1 /dev/vg00/lvol2
71% 0 /dev/vg00/lvswap2
You need to change your /dev/vg00/lvswap2 priority from 0 to 1 for its pre-empting /dev/vg00/lvol2 which is 0% used.
All priorities must be the same so they can be used concurrently, (* at the same time, *) and not first one and then the other like in this case.
The default priority is 1 and while 0 is allowed it pre-empts /dev/vg00/lvol2 which is your primary boot swap. It will be the first used by the O/S. You can check this with 'lvlnboot -v'.
So update your /etc/fstab file and reboot.