- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swap used = 100%
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
11-14-2000 07:20 AM
11-14-2000 07:20 AM
swap used = 100%
We have a L class (1000) server with 1G of physical memory and 1G of device swap space. Occasionally the system hangs and the output of swapinfo -tam shows 100% used total swap space. We have two physical volumes and 1 VG with LVs mirrored on those two PVs. How we can resolve this memory bottleneck.
May be we can add another LV on one of the PVs and use as a secondary swap device.
Is there any kernel parameter that has to be looked at.
swapmem_on = 1
We are running Ariba application on this server.
Any advice /suggestion will be helpful
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2000 08:01 AM
11-14-2000 08:01 AM
Re: swap used = 100%
Try and increase the swap space to 2Gb, if swapmem_on=1, then set nbuf and bufpages to zero and increase your swap upto 2Gb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2000 08:08 AM
11-14-2000 08:08 AM
Re: swap used = 100%
Yes, you should definitely configure additional swap space.
Enable the kernel parameter 'swapmem_on' by setting it to one (1). This is called "pseudo swap" and allows for the use of system memory as additional swap space.
You may need to increase the kernel
You can setup a new logical volume as an additional swap space. For best performance, make the size of this secondary swap the same as your primary, and set the swap priority to be the same too.
For additional procedural guidelines for managing swap space, see the System Administration Tasks manual:
http://docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2000 11:29 PM
11-14-2000 11:29 PM
Re: swap used = 100%
The generally admitted rule regarding the swap space size is 2 to 3 times the physical memory (RAM) size. In some exceptional cases it could even be necessary to use more than that.
Your system should have at least 2GB swap, as Chris and James already told you.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2000 05:51 AM
11-15-2000 05:51 AM
Re: swap used = 100%
1. Create a logical volume on the same VG where primary swap is, as we have only 1 VG.
2. Create a swap device on this LV. Do I need to mirror this LV on other disk in VG as all other LVs are mirrored?
3. Enable swap device and add entry in /etc/fstab file with priority 1.
4. There is no reboot of system is involved.
Do you think these step are ok. Any more suggestion/comments will be appreciated
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2000 11:57 AM
11-15-2000 11:57 AM
Re: swap used = 100%
And YES I would go ahead and mirror your second swap LV. You want to have both swap areas available in case you have a disk go bad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2000 07:39 AM
11-16-2000 07:39 AM