- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Secondary swap not active
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
12-09-2004 07:09 PM
12-09-2004 07:09 PM
Secondary swap not active
On HP 11i server, 24GB of secondary swap is defined but there is no activity on these lvols. I tried to start auxiliary swap explicitly as well but no luck.
Server has latest patch bundles of Dec'2003
Any suggestions.
Thanks
Venky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 07:30 PM
12-09-2004 07:30 PM
Re: Secondary swap not active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 07:40 PM
12-09-2004 07:40 PM
Re: Secondary swap not active
# swapinfo -d
if you don't see your secondary swap swapon it...
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 08:05 PM
12-09-2004 08:05 PM
Re: Secondary swap not active
Thanks
Venky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 08:17 PM
12-09-2004 08:17 PM
Re: Secondary swap not active
can you post the
swapinfo -tam output.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 08:29 PM
12-09-2004 08:29 PM
Re: Secondary swap not active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 08:46 PM
12-09-2004 08:46 PM
Re: Secondary swap not active
what are you kernel parameters ?
please post "kmtune | grep swap"
and
"swapinfo -ma"
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 08:55 PM
12-09-2004 08:55 PM
Re: Secondary swap not active
As someone already said it should only be used after the primary device has been used up.
Or did you intend some sort of interleaving operation by assigning it the same priority?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 09:31 PM
12-09-2004 09:31 PM
Re: Secondary swap not active
maxswapchunks, swchunk and DEV_BSIZE
The formular is
Swap size: swapchunks x swchunk x DEV_BSIZE
(default DEV_BSIZE:1024bytes).
For Example:
You create 1GB for swap space. and you set:
swapchunks:256
swchunk:2048
then
Swap size=256x2048x1024=512MB
Because of setting, only 512MB swap space can used. If you want to use the other 512MB
swapchunks need to be increased to 521
(you can read "HP_UX Performance and Tuning H4262S A.00" at page 8-17)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 11:05 PM
12-09-2004 11:05 PM
Re: Secondary swap not active
Please find attached txt file for requested details.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 11:26 PM
12-09-2004 11:26 PM
Re: Secondary swap not active
I think you should change the attribute pri= in your fstab to something meaningful.
But I'm afraid to release your swap you need to reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 11:26 PM
12-09-2004 11:26 PM
Re: Secondary swap not active
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 11:27 PM
12-09-2004 11:27 PM
Re: Secondary swap not active
looks like you are all right.
swap is not used because you do not need it.
Probably you are working in memory, and that's good.
WHat are your applications ?
And WHY do you think that you have to use the swap ? They are avaiable (cfr in swapinfo output), but not in use, since you are not requesting very much RAM.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 11:28 PM
12-09-2004 11:28 PM
Re: Secondary swap not active
You *don't* want to see any swap usage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 12:53 AM
12-10-2004 12:53 AM
Re: Secondary swap not active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 02:00 AM
12-10-2004 02:00 AM
Re: Secondary swap not active
did you defin kernel parameter :
swapmem_on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 02:14 AM
12-10-2004 02:14 AM
Re: Secondary swap not active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 04:56 AM
12-10-2004 04:56 AM
Re: Secondary swap not active
HP-UX is a virtual memory system so using all of physical memory is never a problem. Processes will be deactivated and then rolled out to the swap area as needed. 24Gb is an enormous amount of swap space and will likely never be used. Since nothing is rolling out to the swap area, processes that are failing with memory problems are most likely failing because they are only 32bit programs that need more memory than they can possibly address, or due to shared memory fragmentation in 32bit shared memory. These will help a lot in understanding the limitations of 32bit programs:
ftp://eh:spear9@hprc.external.hp.com/memory.htm
http://docs.hp.com/hpux/onlinedocs/os/memwn1_4.pdf
http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/os/11i/mem_mgt.html&searchterms=5965-4641&queryid=20030128-153709
http://www1.itrc.hp.com/service/cki/search.do?category=c0&docType=EngineerNotes&searchString=RCMEMKBAN00000027&search.y=12&search.x=20&mode=id&admit=-682735245+1102701301380+28353475&searchCrit=allwords
The last reference (shared memory) may require a software support contract in order to access.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 01:56 PM
12-10-2004 01:56 PM
Re: Secondary swap not active
How did you determine that your memory was exhausted?. What tool did you use?. Post your 'vmstat 2 2' output. Look at the 'free' column and multiply it with 4 to get the free mem in KB.
I believe you are getting confused with the 'memory' line in your 'swapinfo' output. It's not to be confused with the memory used. Most likely you haven't changed your dbc_max_pct value. So, there is a good chance 50% of your memory is now used as buffer cache which you don't need.
I suggest you change dbc_max_pct to around 4-6% and min_pct at 2%.
If the above is not the case and if your programs are failing with 'insufficient memory' messages, then anyone of your max*siz(_64bit) parameters are insufficient.
-Sri