- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swap problem.
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
08-11-2008 09:55 PM
08-11-2008 09:55 PM
swap problem.
I have HpUX 11.11. just now i have added a new swap device from rotvg. i created /dev/vg00/swaplv but forgot to use -C flag for contigeous allocation. and did swapon on that lv.
now in swapinfo -tam , i can see the swaplv with priority 0 but it is not being utlized at all.
waht can be done now , either to remove or to use it.
pls. help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 10:08 PM
08-11-2008 10:08 PM
Re: swap problem.
That's good. What does "swapinfo -tam" show?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2008 11:32 PM
08-11-2008 11:32 PM
Re: swap problem.
Actualy swapinfo -tam shows
gjprod # swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 6 8186 0% 0 - 1 /dev/vg00/lvol2
dev 8192 6 8186 0% 0 - 1 /dev/vg00/lvol9
dev 8192 1522 6670 19% 0 - 0 /dev/vg00/swap3
dev 16384 0 16384 0% 0 - 0 /dev/vg00/swaplv
reserve - 5934 -5934
memory 9442 4524 4918 48%
total 50402 11992 38410 24% - 0 -
gjprod #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 12:00 AM
08-12-2008 12:00 AM
Re: swap problem.
dev 16384 0000 16384 00% 0 - 0 /dev/vg00/swaplv
reserve --- 05934 -5934
memory 9442 04524 04918 48%
total 50402 11992 38410 24%
Everything is fine. All of your device swap is on swap3, 1522. (I'm not sure why it isn't spread out on swaplv too?)
You may just have to have more swap pressure to see if it gets used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 12:07 AM
08-12-2008 12:07 AM
Re: swap problem.
I am not sure you needed more swap
look at
http://docs.google.com/View?docid=dc7s6mzr_56cgsg9g
swapinfo description and example...
Try
swapmem_on kernel paraemter set to 0
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 12:41 AM
08-12-2008 12:41 AM
Re: swap problem.
Why would you ever want to do this? On 11.31, the only color you can get is black. Why go against this on 11.11?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 01:50 AM
08-12-2008 01:50 AM
Re: swap problem.
You need to activate swap as usable on your system.
What should be happening is that swap is reserved when a process starts.
This is not happening, making your system potentially very unstable.
You have no data on swap use and therefore should not be creating new swap areas.
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
08-12-2008 04:30 AM
08-12-2008 04:30 AM
Re: swap problem.
> dev 16384 0 16384 0% 0 - 0 /dev/vg00/swaplv
The swap priority of these two devices is 0 while the other swap areas use a priority of 1. Therefore, all swap space on swap3 and swaplv will be used first, and when full, the other swap areas will be used. Note that your swap usage may only be associated with memory mapped files and no swap space is used at all for paging (which is good for performance).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 04:50 AM
08-12-2008 04:50 AM
Re: swap problem.
Thnks for your responses !.
1) I know i have misconfigured a swaplv which is not a contigeous lv as required by swap
2)Later by Swapon command i attached to kernel for interleaving.
3) All swap devices are not listed under lvlnboot command. this is one way i am ensuring that it is misconfigured.
Now I need focus you guys for the procedure
1)to remove this swaplv
2)to add new swaplv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 05:27 AM
08-12-2008 05:27 AM
Re: swap problem.
Only the primary swap ( typically small %, is configured/shows in lvlvboot -v)
>Now I need focus you guys for the procedure
>1)to remove this swaplv
comment out this lvol from /etc/fstab and reboot. Then cleanup this area.
>2)to add new swaplv.
BTW, how much RAM do you have ? 40GB of swap seems a waste in this configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 08:21 AM
08-12-2008 08:21 AM
Re: swap problem.
Thanks
SKR