- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory and Swap issues
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
Discussions
Discussions
Forums
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
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
тАО03-04-2005 07:04 AM
тАО03-04-2005 07:04 AM
I have a SD32 server with 16 processors and 24GB RAM. It have 4 swap devices of 12GB each one and parameter swapmem_on is equal to 1. Besides, that server is hosting 1 Oracle 9i DB instance.
The issue is the server is showing high level of paging when it still have physical memory available and use of swap devices on disk is pretty high.
Any idea ? how could I understand and tune that behavior ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 07:08 AM
тАО03-04-2005 07:08 AM
Re: Memory and Swap issues
kmtune -lq dbc_max_ct
kmtune -lq dbc_min_pct
kmtune -lq nbuf
kmtune -lq bufpages
vmstat 5 5
swapinfo -mat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 07:09 AM
тАО03-04-2005 07:09 AM
Re: Memory and Swap issues
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 07:13 AM
тАО03-04-2005 07:13 AM
Re: Memory and Swap issues
One possible explanation for device swap showing as used is that memory-mapped files are in use. You may also have huge chunks of shared memory allocated from defunct oracle instances.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 07:26 AM
тАО03-04-2005 07:26 AM
Re: Memory and Swap issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 08:28 AM
тАО03-04-2005 08:28 AM
Re: Memory and Swap issues
ECARV10D - root # kmtune -lq dbc_max_pct
Parameter:dbc_max_pct
Current:15
Planned:15 Default:50 Dynamic:No
ECARV10D - root # kmtune -lq dbc_min_pct
Parameter:dbc_min_pct
Current:5
Planned:5 Default:5 Dynamic:No
ECARV10D - root # kmtune -lq nbuf
Parameter:nbuf
Current:0
Planned:0 Default:0
Dynamic:No
ECARV10D - root # kmtune -lq bufpages
Parameter:bufpages
Current:0
Planned:(NBUF*2)
Default:(NBUF*2)
Dynamic:No
ECARV10D - root # vmstat 5 5
procs memory page
faults cpu
r b w avm free re at pi po fr de sr in
sy cs us sy id
8 2 0 2454053 219459 461 15 25 35 1 0 644 7461
81073 3492 45 4 51
8 2 0 2454053 214918 507 12 5 0 0 0 0 9630
82118 3271 42 4 54
7 3 0 2414161 209127 767 12 8 0 0 0 0 8897
70750 2991 37 3 60
7 3 0 2414161 207413 529 12 5 0 0 0 0 8784
73989 2985 39 3 58
7 3 0 2436193 209589 348 25 3 0 0 0 0 7980
65597 2655 42 3 54
ECARV10D - root # swapinfo -mat
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 12288 351 11937 3% 0 - 1 /dev/vg00/lvol2
dev 12288 347 11941 3% 0 - 1 /dev/vg00/lvol9
dev 12272 358 11914 3% 0 - 1 /dev/vg02/lvol1
dev 12272 361 11911 3% 0 - 1 /dev/vg10/lvol1
reserve - 20503 -20503
memory 18455 4749 13706 26%
total 67575 26669 40906 39% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 08:35 AM
тАО03-04-2005 08:35 AM
Re: Memory and Swap issues
IPC status from /dev/kmem as of Fri Mar 4 16:33:24 2005
T ID KEY MODE OWNER GROUP CREATOR CGROUP NATT
CH SEGSZ CPID LPID ATIME DTIME CTIME
Shared Memory:
m 0 0x41180262 --rw-rw-rw- root root root root
0 348 856 856 22:47:33 22:47:33 22:47:27
m 1 0x4e0c0002 --rw-rw-rw- root root root root
1 61760 856 856 22:47:29 22:47:33 22:47:27
m 2 0x41306b32 --rw-rw-rw- root root root root
1 8192 856 868 22:47:29 22:47:27 22:47:27
m 11267 0x0c6629c9 --rw-r----- root root root root
3 59227784 2202 28504 18:52:35 14:18:17 22:48:47
m 4 0x06347849 --rw-rw-rw- root root root root
1 77384 2202 2325 22:48:53 22:48:47 22:48:47
m 4101 0x4910364e --rw-r--r-- root root root root
0 22908 2198 7683 16:33:12 16:33:12 22:48:51
m 64518 0x5e141613 --rw------- root root root root
1 512 2836 2836 22:49:29 no-entry 22:49:29
m 86023 0x00000000 --rw-r----- ora500 dba ora500 dba 12
17 6442450944 27524 3213 16:33:24 16:33:24 4:11:33
m 7176 0x3c4f4c74 --rw-r----- ora500 dba ora500 dba 12
17 1991241728 27524 3213 16:33:24 16:33:24 4:11:33
Why I'm getting po=35 at the first line of vmstat, but the other lines po is equal to zero (0) ?
Thanks, Rafael.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 08:40 AM
тАО03-04-2005 08:40 AM
Re: Memory and Swap issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 08:43 AM
тАО03-04-2005 08:43 AM
Re: Memory and Swap issues
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 08:44 AM
тАО03-04-2005 08:44 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 09:43 AM
тАО03-04-2005 09:43 AM
Re: Memory and Swap issues
Clay, you can see ipcs output in an earlier reply.
After vmstat -z command, I haven't found po greater than zero anymore (I have executed vmstat several times).
I have another question: bufpages=nbuf*2 and nbuf=0 currently, how can I guess nbuf value according to server configuration ?
Thanks, Rafael.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 09:47 AM
тАО03-04-2005 09:47 AM
Re: Memory and Swap issues
If nbuf and bufpages both are set non-zero, then how cache is calculated??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 09:53 AM
тАО03-04-2005 09:53 AM
Re: Memory and Swap issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2005 01:01 AM
тАО03-07-2005 01:01 AM
Re: Memory and Swap issues
compute it as mentionned here
http://docs.hp.com/en/939/KCParms/KCparam.Nbuf.html
http://docs.hp.com/en/939/KCParms/KCparam.BufPages.html
++Cyrille
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2005 07:28 AM
тАО03-21-2005 07:28 AM
Re: Memory and Swap issues
Regards,
Rafael GZ.