- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- High swap space usuage
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
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
10-20-2004 07:44 PM
10-20-2004 07:44 PM
High swap space usuage
Swap space usuage is constantly very high, over 90%. I have been looking for specific processes who might cause this, but could not find any, even after stopping Oracle RAC, Serviceguard, ... swap space usuage stays very high. After we reboot both machines, all is OK, but after while usuage increases again to over 90%.
Any ideas ?
Thanks,
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2004 07:57 PM
10-20-2004 07:57 PM
Re: High swap space usuage
Could u go thr' this cookbook attached!!
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2004 08:12 PM
10-20-2004 08:12 PM
Re: High swap space usuage
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2004 08:25 PM
10-20-2004 08:25 PM
Re: High swap space usuage
As for the cookbook, I will look into it, but it's gonna be heavy reading :-)
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2004 08:49 PM
10-20-2004 08:49 PM
Re: High swap space usuage
UNIX95=true ps -A -o vsz,pid,args
and
ipcs -mb
have you possibility to start with just one node to see if it acts the same ?
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2004 09:33 PM
10-20-2004 09:33 PM
Re: High swap space usuage
The unix95 shown is a good start
Here is a script of 39 lines
1 #RSZ = Resident set size
2 #VSZ = Virtual set size
3 #
4 #RSZ is a subset of VSZ
5 #-the portion of the processes memory which is 'resident'
6 #in physical memory (ie not paged out).
7 #
8 #VSZ is the total size, including resident and non-resident pages.
9 #
10 #These values are totals, obtained by adding up the memory utilisation of the
11 #processes various memory segments (of which there can be lots).
12 #################################################################################
13 uname -a
14 echo -------------------------------------
15 /bin/rm /tmp/$PPID 2>/dev/null
16 if [ "$LOGNAME" = "root" ]
17 then
18 echo memory from kernel
19 name=$(file /stand/vmunix|grep 64)
20 if [ "$name" = "" ]
21 then
22 echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem 2>/dev/null
23 else
24 echo phys_mem_pages/D | adb64 /stand/vmunix /dev/kmem 2>&1|grep -i page
25 fi
26 fi
27
28 echo " "
29 echo swap
30 echo -----------------
31 swapinfo -tm
32 echo " "
33 echo memory usage per process
34 echo "----------------------------------------------"
35 UNIX95= ps -e -o ruser,vsz,sz,pid,args > /tmp/$PPID
36 head -n 1 /tmp/$PPID
37 tail -n +2 /tmp/$PPID|
38 sort -rnk2
39 /bin/rm /tmp/$PPID 2>/dev/null
Also look at
Memory Usage - â What is using all of the memory?â
by:eric.herberholz@hp.com
Last modified: October 18, 2004
Full document is available at external ftp site: ftp://eh:spear9@hprc.external.hp.com/memory.htm
The "Table of Contents" is available in ITRC doc id MEMORYKBAN00000975
You can reach the ftp site shown and there is good info and tools available
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 12:14 AM
10-21-2004 12:14 AM
Re: High swap space usuage
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 01:19 AM
10-21-2004 01:19 AM
Re: High swap space usuage
ipcs -bmop
You may find huge shared memory segments, which is OK and really improves performance unless you have critically small RAM. If swap thrashing is occcuring (processes competing for memory) then vmstat's metric po (page out) will indicate this. Single digits OK, double digits so-so, triple digits for long periods = very bad performance and lack of RAM.
Bill Hassell, sysadmin