- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unexplained increasing swap utilisation
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-29-2001 10:57 PM
07-29-2001 10:57 PM
Unexplained increasing swap utilisation
prdapp2 /etc/named.data > swapinfo -atm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 1261 787 62% 0 - 1 /dev/vgroot/lvol2
dev 512 463 49 90% 0 - 1 /dev/vgroot/swap2
reserve - 703 -703
memory 1535 284 1251 19%
total 4095 2711 1384 66% - 0 -
Swap utilisation 62% & 90% as above. Swap on prdapp2 and prdapp3 would normally be close to zero. This is quite unusual.
Also related - MC/Service Guard cluster server: prdapp4
Recently prdapp4 started to use /var/tmp to swap (as shown by swapinfo -atm)
root@prdapp4:/ # swapinfo -atm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 200 4 196 2% 0 - 1 /dev/vg00/lvol2
dev 2500 1438 1062 58% 0 - 0 /dev/vg00/lvol12
dev 2500 545 1955 22% 0 - 0 /dev/vg00/lvol11
localfs 758 2 756 0% none 0 1 /var/tmp
reserve - 561 -561
memory 1515 387 1128 26%
total 7473 2937 4536 39% - 0 -
(although none of this is used).
Would like help determining the root cause and suggestions as to reducing the utilisation of swap.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2001 11:04 PM
07-29-2001 11:04 PM
Re: Unexplained increasing swap utilisation
I got this situation after installing hp-ux 11.0. First let me know about your total physical memory and swap space ?
There is a rule to respect in very heavy transactionnal server ( OLTP ) :
Swap space = 4 * physical memory.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2001 11:16 PM
07-29-2001 11:16 PM
Re: Unexplained increasing swap utilisation
How did you solve these problems?
One the APP servers we have 2GB Physical, with approx 3GB swap (divided half between two lvols)
Thanks
Glenn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2001 02:56 AM
07-30-2001 02:56 AM
Re: Unexplained increasing swap utilisation
If you have 2GB memory, I would say that your swap ( 3GB ) is really too small.
You may configer it to be between 6 and 8 GBs ( from three to four times the amount of physical memory).
it's a good idea to have two device to reduce competing disk I/Os for swapping.
Have a look on that book :
O'Reilly
Essential System Administration
2nd edition Revised and Updated
Aeleen Frisch
Page 315 "Managing System Resources".
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2001 12:20 PM
07-30-2001 12:20 PM
Re: Unexplained increasing swap utilisation
reserve - 512 -512
memory 2368 1358 1010 57%
total 2880 1870 1010 65
Our Oracle server.
As long as swap never goes to the disk it sould be OK. If it goes to disk you need more memory.
We saw an increase in network traffic just changing to 11.0
Have you also noticed this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2001 08:57 PM
07-30-2001 08:57 PM
Re: Unexplained increasing swap utilisation
# swapinfo -atm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 1261 787 62% 0 - 1 /dev/vgroot/lvol2
dev 512 439 73 86% 0 - 1 /dev/vgroot/swap2
reserve - 748 -748
memory 1535 207 1328 13%
total 4095 2655 1440 65% - 0 -
Physical used 13%
Swap used 62% & 86%
# vmstat -s | head
170368 swap ins
170368 swap outs
524 pages swapped in
353 pages swapped out
630974013 total address trans. faults taken
246995526 page ins
1154871 page outs
Also curious as to the accurate meaning of SZ and VSZ in the UNIX95 version of ps
Example:
# export UNIX95=1
# ps -ef -o pid -o comm -o sz -o vsz
PID COMMAND SZ VSZ
12879 dw.sapPRD_D00 6962 139596
14391 dw.sapPRD_D00 10001 43372
5829 dw.sapPRD_D00 5846 29628
17450 dw.sapPRD_D00 5117 30140
18604 dw.sapPRD_D00 11460 50188
27260 dw.sapPRD_D00 12013 60300
29659 dw.sapPRD_D00 5336 26220
16245 dw.sapPRD_D00 5256 28572
17044 dw.sapPRD_D00 7923 37612
15161 dw.sapPRD_D00 7835 37164
10711 dw.sapPRD_D00 10731 47036
14228 dw.sapPRD_D00 10605 46908
5813 dw.sapPRD_D00 1947 21388
7089 dw.sapPRD_D00 4704 27580
3477 dw.sapPRD_D00 4998 27692
925 dw.sapPRD_D00 6163 35788
24202 dw.sapPRD_D00 10921 49148
1025 dw.sapPRD_D00 6511 30348
5337 dw.sapPRD_D00 8702 38492
2662 dw.sapPRD_D00 6891 32956
5814 se.sapPRD_D00 38 296
2728 dw.sapPRD_D00 7147 32268
(these look like the offending processes)
Typically I will assign points for fair to great answers (unlike some people these days)
Thanks in advance for any information you all can provide