- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory used to 100%, swap only 3%
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
09-19-2005 03:12 AM
09-19-2005 03:12 AM
memory used to 100%, swap only 3%
Our system is exhausted on memory(100%, cannot fork etc.), but it only uses 3% of the swapspace. What's wrong with swap? Here's the output from swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 123 3973 3% 0 - 1 /dev/vg00/lvol2
reserve - 3973 -3973
memory 4675 4665 10 100%
total 8771 8761 10 100% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 03:42 AM
09-19-2005 03:42 AM
Re: memory used to 100%, swap only 3%
When a process starts, HP-UX attempts to reserve space in your swap space in case it ever needs to be paged out. At this point you are at 100% on your swap reservation.
Notice the total line at the bottom of the page - It is at 100%. You've got 4096 MB of device swap and apparently have swapmem_on (pseudo-swap) turned on and HP-UX is using 4675 MB pseudo-swap and that has all been exhausted.
Your option at this point is, if your maxswapchunks parameter is large enough, to add some more swap space. At this point it doesn't matter what you use, filesystem swap, device swap, whatever, you need to add some.
See 'man swapon' for how to do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 03:45 AM
09-19-2005 03:45 AM
Re: memory used to 100%, swap only 3%
# man 1m swapon
The 'man swapon' (without the 1m) will give you the usage for the swapon C function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 03:45 AM
09-19-2005 03:45 AM
Re: memory used to 100%, swap only 3%
and also, in my opinion for "cannot fork process", sounds like your kernel is out of nprocs or maxuprc or even both.
regards
pg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 08:51 PM
09-21-2005 08:51 PM
Re: memory used to 100%, swap only 3%
Thanks, enlarging the swap space helped. You were completely right. The machine has 6GB memory and swap was only 4GB! Now it's 12GB.