- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Secondary swap
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
02-26-2004 10:45 PM
02-26-2004 10:45 PM
Secondary swap
A user on an HP-UX 11i workstation is suffering every day from an "out of virtual memory" error message. The swap space is in accordance with HP's recommendations.
I have set up an area of filesystem swap, the same size as the main swap, and rebooted the ws. Unfortunately, the fault has not gone away and the system does not appear to be using the secondary swap. I have given the secondary swap priority 1, the same as main swap.
Any ideas?
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 10:53 PM
02-26-2004 10:53 PM
Re: Secondary swap
Did you put the swap in /etc/fstab?
Does it work if you activate it manually with "swapon -a"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 10:56 PM
02-26-2004 10:56 PM
Re: Secondary swap
No points for this one please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 10:57 PM
02-26-2004 10:57 PM
Re: Secondary swap
Thanks Mark - as you may have guessed, this is the first time I've set up secondary swap. It now shows as enabled so I hope this will get rid of the problem.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 10:59 PM
02-26-2004 10:59 PM
Re: Secondary swap
Thanks for the congratulations too!
I was on 233 this morning and was hoping to get it next week. A flurry of activity (i.e. questions that I knew the answer to!)and I got it earlier than expected.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 12:57 AM
02-27-2004 12:57 AM
Re: Secondary swap
secondly what command gives the "out of virtual memory" error message. If you happen to know how much memory is requested that would be verry useful.
How much RAM does the WS have and have any kernel parameters been changed?
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 01:00 AM
02-27-2004 01:00 AM
Re: Secondary swap
How much memory is in the workstation?
How much primary and file system swap is there?
What is dbc_max_pct set to? The % should be no more then about 300-350 MB - so if you have a GB of ram, then set to say 30 or 35.
If 512 or lees, then you may have to leave at the default of 50 - though I have a B2000 with 768 MB of ram and I have mine set to 30.
What is maxdsiz set to? you may need to increase...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 01:11 AM
02-27-2004 01:11 AM
Re: Secondary swap
Congrats on you new hat!
Can not help you but i like to give you some more info, swapinfo -tam will give more info.
I you give pri swap a higher prio since it is faster as filesystem swap. so only extra swap users the filesystem.
Kernel config maxswapchunks must high enough to be able to use it.
Swapspace can be added online swapon ( -f if lvol had filesystem on it) command if swapchunks is high enough.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 01:36 AM
02-27-2004 01:36 AM
Re: Secondary swap
Congrats on the hat.
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
02-27-2004 02:01 AM
02-27-2004 02:01 AM
Re: Secondary swap
If the user doesn't have the source or doesn't want to recompile to give further information at the point of failure -- you could try monitoring the process using pstat or glance... but if the bug is that the user code asks for some huge value in one call (say malloc with a negative value that got cast to an unsigned) you're not going to catch it without parsing the source.
If the user is the only one on the box - you could experiment with just raising the tunable to the maximum and seeing if the problem goes away [and if the app grabs a bunch of virtual memory].
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:05 AM
02-27-2004 03:05 AM
Re: Secondary swap
Did you see 'swapinfo -tam' output when you got the "out of virtula memory' error?.
If the "total" column is 100%, irrespective of whever you paged out or not, you will not be able to bring up processes that need more swap than is available.
If not, then it could be one of your max*siz* parameters.
On a side note, I would configure the secondary swap with a priority 0 so it will be used first in case the system has to page out.
-Sri