- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swapinfo -ta
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
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
08-29-2000 10:31 AM
08-29-2000 10:31 AM
swapinfo -ta
I am on a k580, 3 gb RAM, 11.0 system with 2.9 gb of swap space configured. I am currently considering increasing the swap space. When I run swapinfo -ta, I only get values for the total amount of kb's and PCT used, but I do not get these values for the individual device swap areas (below). Has anyone encountered this before?
Tue Aug 29 14:00:02 EDT 2000
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 0 1048576 0% 0 - 1 /dev/vg00/lvol2
dev 409600 0 409600 0% 0 - 1 /dev/vg00/lvol10
dev 512000 0 512000 0% 0 - 1 /dev/vg02/lvol4
dev 512000 0 512000 0% 0 - 1 /dev/vg03/lvol10
dev 512000 0 512000 0% 0 - 1 /dev/vg04/lvol6
reserve - 2189696 -2189696
total 2994176 2189696 804480 73% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 10:35 AM
08-29-2000 10:35 AM
Re: swapinfo -ta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 10:41 AM
08-29-2000 10:41 AM
Re: swapinfo -ta
This looks normal to me for a system that has not used any of its device swap; rather is using memory only at this point.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 10:54 AM
08-29-2000 10:54 AM
Re: swapinfo -ta
Also, the PCT USED column for eache device shows how much swap is being used for pageout activities. This is not an indication of how much swap is currently being used by running processes.
The total line is also confusing you. The Kb USED column for the "Total" line indicates that there is swap "reserved" for running processes. This does not mean that the swap is being used at this time - it is only reserved "in case" the kernel needs it to perform pageout activities.
Of your total swap pool, you have 2189696 KB allocated in the reserve pool. If you subtract that number from the total amount of device swap you have enabled (2994176 KB), you have get the 804480 Kb value that you have remaining.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 11:00 AM
08-29-2000 11:00 AM
Re: swapinfo -ta
If you enable pseudo swapping by setting kernel parameter SWAPMEM_ON=1, you will see the memory swap percentage and know where the large % value is coming from.
I will also advice you to set nbuf=0 and bufpages=0 for dynamic cache reads.
Kernel parameters to set are:
swapmem_on=1
bufpages=0
nbuf=0
dbc_pct_min=5
dbc_pct_max=25
The last value id 25% of 3gb
When pseudo swapping is enabled, you get 75% of 3gb added to total swap space.
Find time and retune your kernel with these values for better swapping.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 11:12 AM
08-29-2000 11:12 AM
Re: swapinfo -ta
This is done automatically by the Memory Management Subsystem. You have no control over this. The kernel wants to have the virtual memory available in case it needs to pageout the entire process(es). So what it does is "reserve" the space ahead of time.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 11:15 AM
08-29-2000 11:15 AM
Re: swapinfo -ta
ORA-04030: out of process memory when trying to allocate 10264 bytes (session he
The dba first suggested to increase maxdsiz,maxsiz and maxtsiz. I increased maxdsiz from 1.6 to 2.0 gb. However, the error reappeared a few days later. I also noticed that swap space usage increased from a high of 80% to 92%, which indicated that swap space may have to be increased. I have a cron job that runs swapinfo -ta, vmstat, and a few sar reports (until I can get sos installed-we do not have Glance) to run every 20 minutes. Yesterday, the swap space climbed to 100% use, but there was no swapping occurring. Shortly after, Oracle errored out with a memory core dump error and we were not able to open any telnet sessions, but I was able to login at the console. I ultimately had to reboot the system since restarting inetd still did not allow telnet access. This was the second occurrence with the following oracle error:
memory core dump errors.
and the following message from syslog:
rpcbind: terminate: rpcbind terminating on signal. Restart with "rpcbind -w"
Today, we will be changing maxdsiz back to 1.6gb and try increasing maxsiz from 8 mb to 80 mb. Have you encountered this scenario?
swapinfo -atm
# swapinfo -atm
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 400 0 400 0% 0 - 1 /dev/vg00/lvol10
dev 500 0 500 0% 0 - 1 /dev/vg02/lvol4
dev 500 0 500 0% 0 - 1 /dev/vg03/lvol10
dev 500 0 500 0% 0 - 1 /dev/vg04/lvol6
reserve - 1973 -1973
total 2924 1973 951 67% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 11:26 AM
08-29-2000 11:26 AM
Re: swapinfo -ta
# swlist -l fileset -a state |grep 16639
# swlist -l fileset -a state |grep 18543
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 11:29 AM
08-29-2000 11:29 AM
Re: swapinfo -ta
In order to have the space available, create more device swap using the swapon command. You can do this while the system is up.
The high percentages you were seeing were not a reflection of page-out activities and memory pressure.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 11:41 AM
08-29-2000 11:41 AM
Re: swapinfo -ta
Thanks for clarifying this. My next step is to increase the swap space and I will let you all know what the outcome is.
Thanks to all once again for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 12:52 PM
08-29-2000 12:52 PM
Re: swapinfo -ta
As mentioned earlier by Chris, set the kernel parameter swapmem_on to 1. This will reduce your actual device swap requirement by 75% of your physical memory (2.25Gb) so you won't have to waste any more disk space for swap files that you are not using. You might even be able to reduce your device swap after monitoring swap usage for a while
This parameter modifies the swap algorithm used by the system and will have no adverse effects.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 01:01 PM
08-29-2000 01:01 PM
Re: swapinfo -ta
This seems to be a carry-on to yesterday's post:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x6f96c3d7fb78d4118fef0090279cd0f9,00.html
If so, have you inflated maxdsiz ???
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 01:23 PM
08-29-2000 01:23 PM
Re: swapinfo -ta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 12:36 PM
08-30-2000 12:36 PM