- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Global Swap Space Error.
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
07-21-2003 09:48 PM
07-21-2003 09:48 PM
Global Swap Space Error.
system has 8 GB memory and 4096 MB swap partition size.
it seems that swap partition has reached to its full capacity.Do we need to increase the swap space size.If so then what is the procedure to increase the swap swapce size.
we have installed the latest GOLDQPKi and patches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 09:55 PM
07-21-2003 09:55 PM
Re: Global Swap Space Error.
I would definitely add more swap space. At least another 4Gb and maybe even more.
Use SAM to add another swap logical volume. If you have to do it manually, remember to make it contiguous and turn bad block relocation off. If you need exact commands let us know.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 10:06 PM
07-21-2003 10:06 PM
Re: Global Swap Space Error.
To increase swap:
# lvextend -L 4096 -C y -r n /dev/vgXX
# swapon -p 1 /dev/vgXX/lvolXX.
Also update
/etc/fstab.
This will add 4096MB of swap.
Use swapinfo -tm to check its available.
This doesn't require re-boot.
I'd also look at enabling pseudo swap (swapmem_on kernel parameter).
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 10:09 PM
07-21-2003 10:09 PM
Re: Global Swap Space Error.
Following are the memory observations.
Physical:8191.3 MB
Real Memory:
Actual:866436.1 KB
Total:171466.7 KB
Virtual Memory:
Actual:2980666.8 KB
Total:5704842.5 KB
Free Memory Page:173071 at 4KB/page
Swap space:
Actual:4096 MB
Used:4096 MB
Free:0 MB
So with reference to above stated specification,what should be the /swap space size and is there any known issue relevant to this error or any latest memory related patch to resolve this issue.
Is there any HP guy to help us and resolve this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 10:17 PM
07-21-2003 10:17 PM
Re: Global Swap Space Error.
Where are you getting this info from??
The Top command is generally unreliable for memory info.
Can you post
# swapinfo -tm
# vmstat 1 2
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 02:54 PM
07-22-2003 02:54 PM
Re: Global Swap Space Error.
Based on what you have provided, you have run out of swap. Add at least another 4Gb and continue to monitor. I suspect you will need even more.
Remember that each process reserves some swap and I suspect you have many processes running and have consumed all your swap.
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 03:05 PM
07-22-2003 03:05 PM
Re: Global Swap Space Error.
Check your kernel parameters and if it isn't already, set the swapmem_on parameter to 1, recompile your kernel and reboot.
Anytime a process starts, it attempts to reserve a portion of swap for that process. If you have more than 4GB of memory used, then you are almost certainly running out of reservalbe swap space. The swapmem_on kernel parameter will take care of that by taking taking about 75% of your memory, and adding the value to your available swap. So now you can have more than 4GB of processes start and not need more actual swap space. Note that turning swapmem_on on will NOT cause you to use more memory, unless it is because you are now able to start more processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2003 05:20 PM
07-22-2003 05:20 PM
Re: Global Swap Space Error.
Most admins set swap to 1.5 to 2.0 times physical memory.
I now do it in pieces
Primary swap is half physical memory on one disk
Secondary swap is whatever else I need on a diferent disk.
The primary has priority zero which means it gets used first, secondary is lower prioity and only gets used when system load is high.
swapinfo -tam
This will give you better figures on total memory.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com