- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX Memory and swap issue
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
04-16-2008 02:08 AM
04-16-2008 02:08 AM
We have a HP-UX Itanium system running 11.31 and Oracle 10 version. We are running some application in that and it is giving the below warning message
Warning: Your system is swapping out processes. Your system is overloaded. Your system may have started thrashing. Total number of jobs that are swapped out are <2>.
But our systems swapinfo output says that it has 32.GB swap space and 8GB Physical RAM. Please find below the swapinfo -m output .
Please suggest how do we go about it….
./swapinfo -m
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 32768 659 32109 2% 0 - 1 /dev/vg00/lvol2
reserve - 8158 -8158
memory 7763 1413 6350 18%
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 02:20 AM
04-16-2008 02:20 AM
Re: HP-UX Memory and swap issue
We need "swapinfo -tam".
Since your memory is only 18% used, perhaps you don't have the problem right now? You need to use swapinfo when you see that Warning.
Do you know what tool is producing that warning?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 02:38 AM
04-16-2008 02:38 AM
Re: HP-UX Memory and swap issue
then only i can give u completely details
swapinfo -tam out put
see the commands difference i want to see what is u total reserver under total column
so please send it swapinfo -tam output
data1#swapinfo -m
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 16000 115 8077 1% 0 - 1 /dev/vg00/lvol2
reserve - 3074 -3074
memory 6448 6448 0 100%
data1#swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 16000 115 8077 1% 0 - 1 /dev/vg00/lvol2
reserve - 3074 -3074
memory 6448 6448 0 100%
total 22448 9637 5003 43% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 02:44 AM
04-16-2008 02:44 AM
Re: HP-UX Memory and swap issue
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 32768 3641 29127 11% 0 - 1 /dev/vg00/lvol2
reserve - 6436 -6436
memory 7763 1450 6313 19%
total 40531 11527 29004 28% - 0 -
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 02:52 AM
04-16-2008 02:52 AM
Re: HP-UX Memory and swap issue
one more thing
what about u physical memory
quckly revert
dmesg | grep phys
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 02:54 AM
04-16-2008 02:54 AM
Solution1) If your system is swapping out at all it IS overloaded. Swapping keeps it running under stress but is not a good day to day situation.
2) You may wish to have your dba's reduce the oracle SGA requirements.
3) Your RAM to swap ratio is off. The maximum recommended amount of swap on a 8 GB physical RAM system is twice RAM or 16 GB. Your current configuration is inherently bad for performance.
Since your system is under stress and Oracle DBA's are well know for not giving up a byte of SGA, I'd suggest upgrading your system to 16 GB of ram is the quick solution. If you do that, you won't even need to add swap, you already did that some time in the past.
:-)
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
04-16-2008 02:56 AM
04-16-2008 02:56 AM
Re: HP-UX Memory and swap issue
Class Physmem Lockmem Swapmem
Physical: 8358468 Kbytes, lockable: 5937452 Kbytes, available: 6766224 Kbytes
#
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 03:02 AM
04-16-2008 03:02 AM
Re: HP-UX Memory and swap issue
How about we just ask the kernel -- what does "vmstat -S 30" give as output, particularly the si, so, pi, po and fr columns? [so vs. po is interesting -- the application indicates that so should be non-zero (processes swapped out), po being non-zero is entirely normal especially on v3 -- the file cache works by paging out unneeded file pages when the cache is filling up, after all... I'm wondering if the application writer didn't understand the difference between po and so here]. Also for quick summary, post "vmstat -s" output.
The only other possibility that comes to mind is if you're using PRM (or WLM which uses PRM underneath as I understand it) and have the memory resources parititioned... that could allow for the system not being under pressure but the resource partition for a set of processes being under local pressure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 03:11 AM
04-16-2008 03:11 AM
Re: HP-UX Memory and swap issue
For a process
to spawn it needs a sufficient amount of virtual memory to be placed in
reserve. There should be a sufficient amount of free device swap to open any
processes that may be spawned during the course of operations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 03:19 AM
04-16-2008 03:19 AM
Re: HP-UX Memory and swap issue
(And please for all our sanity -- the word is "you". I don't see where you're gaining any bandwidth or speed by saving the 'y' and 'o' characters there.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 03:38 AM
04-16-2008 03:38 AM
Re: HP-UX Memory and swap issue
I just missed the good old simple case -- you've got much more disk than RAM and pseudo-swap isn't needed for anything but the locked memory (which is probably just the kernel in your case). Yes, SEP is right [like this is a surprise, I know] -- you're just oversubscribed here -- by at least 4Gb judging by your later output.
Since that's 50% above your physical capacity, I seriously doubt trying to tweak filecache_min/filecache_max or other system settings is going to help -- you just simply need more RAM or to reduce the memory load. (Or get used to really lousy performance).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 08:52 PM - edited 10-01-2011 08:01 PM
04-16-2008 08:52 PM - edited 10-01-2011 08:01 PM
Re: HP-UX Memory and swap issue
>Don: the word is "you".
Should we also be complaining that there are three different proper words:
you, your and you're (for you are)