您的位置:首页 > 移动开发

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

2016-01-12 12:49 796 查看
Fri Dec 18 19:46:49 2015

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

pct of memory swapped in [2.14%] pct of memory swapped out [0.08%].

Please make sure there is no memory pressure and the SGA and PGA

are configured correctly. Look at DBRM trace file for more details.

Fri Dec 18 19:46:58 2015

百分之1,2的swap应该属于正常范围,该告警只是一个提醒。可以忽略。

Warning: Heavy Swapping Observed on System after
Upgrade to 11.2.0.3 ( Doc
ID 1452790.1 )

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 included for unpublished Bug
10220118.

Please refer to

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.

1)AWR显示数据库正常,无明显性能问题,IO 接近1ms,也不存在IO问题。

direct path write temp 119,463 117.4 1 1.3 User I/O
db file sequential read 864,039 65.9 0 .8 User I/O

2)因为 Bug 10220118 的增强,11.2.0.3之后的版本会对于swap out+swap in >总内存的2%时,在alert log中打印告警信息。
但是不代表数据库存在问题。只是提醒用户注意OS层面的swap in/out行为。
swap in/out代表着物理内存和swap区域发生交换,一般是因为物理内存不够,但是也有的操作系统会定时将一部分不常用的内存交换到swap空间上去。
swap发生是一种纯OS行为,不由oracle控制。
可以看到,您的告警时swap in/out都只发生了1,2%,属于正常的范围,可以忽略。

3)从数据库的角度讲,当前SGA+PGA占主机内存的62.15%,不存在SGA/PGA配置过大的问题,不需要调整。

具体请参考:
Warning: Heavy Swapping Observed on System after Upgrade to 11.2.0.3 ( Doc ID 1452790.1 )


Warning: Heavy Swapping Observed on System after Upgrade to 11.2.0.3 (文档 ID 1452790.1)

转到底部




APPLIES TO:

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 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 included for unpublished Bug 10220118.

Please refer to

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 could have been happening on 11.2.0.2 but they simply would 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 could also see ORA-4031/ORA-4030 and would 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.


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.


REFERENCES

NOTE:249212.1 - Support Position for Oracle Products Running on VMWare Virtualized Environments
Warning: Heavy Swapping Observed on System after Upgrade to 11.2.0.3 (文档 ID 1452790.1)

转到底部




APPLIES TO:

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 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 included for unpublished Bug 10220118.

Please refer to

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 could have been happening on 11.2.0.2 but they simply would 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 could also see ORA-4031/ORA-4030 and would 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.


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.


REFERENCES

NOTE:249212.1 - Support Position for Oracle Products Running on VMWare Virtualized Environments
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: