WARNING: Heavy swapping observed on system in last 5 mins., swappingmins

Source: Internet
Author: User

WARNING: Heavy swapping observed on system in last 5 mins., swappingmins

When I checked the alert Log today, I found the following error:

Pct of memory swapped in [7.16%] pct of memory swapped out [0.56%].
Please make sure there is no memory pressure and the SGA and PGA
Are configured correctly. Look at DBRM trace file for more details.

This is the rac I installed on AIX. Check metalink and find a bug:

Warning: Heavy Swapping Observed on System after Upgrade to 11.2.0.3 (Documentation ID 1452790.1) Go to the bottom

 

Applies:

Oracle Database-Enterprise Edition-Version 11.2.0.3 and later
Information in this document applies to any platform.

GOAL

The document explains why you may see the following WARNING in the alert log after upgrading to 11.2.0.3.

Wed Apr 25 25 10:10:50 2012
WARNING: Heavy swapping observed on system in last 5 mins.
Pct of memory swapped in [7.16%] pct of memory swapped out [0.56%].
Please make sure there is no memory pressure and the SGA and PGA
Are configured correctly. Look at DBRM trace file for more details. SOLUTION

The reason you may now see these informational messages in the alert is due to the fact that in 11.2.0.3 an enhancement fix was encoded for unpublished Bug 10220118.
Please refer
Note 10220118.8-Bug 10220118-Print warning to alert log when system is swapping

Description

This fix is really an enhancement.
With this fix a warning is printed to the alert log (and DBRM trace)
If excessive swapping is observed on the system.
The warning will not be printed more than once per hour.

The same issues cocould have been happening on 11.2.0.2 but they simply wocould not have been reported.
There is no (immediate) cause for concern and we suggest that the databases are just monitored as usual.

If you look in the alert log, you will see that the message does not happen every hour.
If SWAP was causing any serious issue we cocould also see ORA-4031/ORA-4030 and wocould then be able to use the DBRM trace in conjunction with obtaining further diagnostics.
 

AIX Platform

If your Platform is IBM-AIX then this is not the only possible reason for this alert log message.
For ibm aix on POWER Systems (64-bit), there is also next known port-specific bug:
Bug 14731911-false swap warning messages printed to alert. LOG ON AIX
With unpublished base bug:
Bug 11801934: wrong page-in and page-out OS VM STATS IN AIX.
 

VMWare

Under VMWare, the messages may perhaps indicate a more serous issue, even when no memory related ORA-4031/ORA-4030 errors are reported.
Under circumstances, an instance in a virtual machine may be simply terminated by PMON due to error 471 without further errors in the alert log.
The OS logs may in such case report an out of memory condition like below:

[Root @ vmh ~] # Grep Kill/var/log/messages *
/Var/log/messages-20140629: Jun 27 18:29:06 vmh-msfc-dodp02 kernel: [1895074.304941] Out of memory: Kill process 42094 (oracle) score 391 or sacrifle ice child
/Var/log/messages-20140629: Jun 27 18:29:06 vmh-msfc-dodp02 kernel: [1895074.305203] Killed process 42094, UID 303, (oracle) total-vm: 189081588kB, anon-rss: 27412kB, file-rss: 109612

 

SOLUTION


General solution:
O Avoid the memory pressure by either providing more memory or decreasing the need for (shared) memory for the Oracle instance (s ).

For AIX:
O Apply interim Patch 11801934 if available for your Oracle version or request a patch with Oracle Support in a new Service Request.





Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.