異常等待事件Resmgr:Cpu Quantum導致CPU利用率高
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1540 oracle 25 0 2301m 294m 266m R 100.1 0.9 25458:13 oracle
3294 oracle 25 0 2317m 180m 144m R 100.1 0.6 62884:14 oracle
3364 oracle 25 0 2301m 89m 59m R 100.1 0.3 86399:51 oracle
5153 oracle 25 0 2317m 159m 123m R 100.1 0.5 105356:43 oracle
7141 oracle 25 0 2301m 88m 63m R 100.1 0.3 24507:58 oracle
11133 oracle 25 0 2301m 130m 102m R 100.1 0.4 55695:02 oracle
11271 oracle 25 0 2301m 321m 292m R 100.1 1.0 26385:41 oracle
12062 oracle 25 0 2301m 278m 248m R 100.1 0.9 107478:37 oracle
12333 oracle 25 0 2301m 113m 83m R 100.1 0.4 106797:53 oracle
12583 oracle 25 0 2317m 109m 74m R 100.1 0.3 54251:31 oracle
13943 oracle 25 0 2301m 100m 71m R 100.1 0.3 74891:42 oracle
15006 oracle 25 0 2301m 288m 259m R 100.1 0.9 65265:02 oracle
16617 oracle 25 0 2301m 101m 73m R 100.1 0.3 24987:39 oracle
17536 oracle 25 0 2317m 142m 106m R 100.1 0.4 72933:33 oracle
17567 oracle 25 0 2301m 154m 125m R 100.1 0.5 86886:37 oracle
17914 oracle 25 0 2317m 369m 332m R 100.1 1.1 88768:07 oracle
20041 oracle 25 0 2301m 129m 101m R 100.1 0.4 25700:13 oracle
2,異常等待事件resmgr:cpu quantum
12422 0
1227 2401 oracle APPDB 1540 1021 resmgr:cpu quantum 3 12422 0
1298 37025 oracle APPDB 16617 24763 resmgr:cpu quantum 3 12422 0
316 29129 oracle APPDB 21511 2177 resmgr:cpu quantum 3 12422 0
578 41577 oracle APPDB 11271 6989 resmgr:cpu quantum 3 12422 0
3,參考metalink的解決方案,是oracle資源管理方面的問題,原文如下
Symptoms
High waits on event 'resmgr:cpu quantum' might be noticed even when resource manager is disabled. You already have confirmed parameter RESOURCE_MANAGER_PLAN is set to null but still noticing the above wait events.
Top 5 Timed Foreground Events:
Event Waits Time(s) Avg wait(ms) % DB time Wait Class ------------------------ ------- -------- ------------ -------------- ---------- ----------- resmgr:cpu quantum 1,596 346,281 216968 89.19 Scheduler db file scattered read 171,071 14,778 86 3.81 User I/O log file sync 28,575 10,810 378 2.78 Commit db file sequential read 943,457 6,569 7 1.69 User I/O DB CPU 2,133 0.55
Cause
This could be due to DEFAULT_MAINTENANCE_PLAN. From 11g onwards every weekday window has a pre-defined Resource Plan called DEFAULT_MAINTENANCE_PLAN, which will become active once the related window opens.Following entries can also be noted in alert log at the time of issue.
Clearing Resource Manager plan via parameter
:
Wed Sep 16 22:00:00 2009
Setting Resource Manager plan SCHEDULER[0x2C55]:DEFAULT_MAINTENANCE_PLAN via scheduler window
Setting Resource Manager plan DEFAULT_MAINTENANCE_PLAN via parameter
Wed Sep 16 22:00:05 2009
Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"
Solution
To disable the DEFAULT_MAINTENANCE_PLAN you can use the below steps as suggested inNote 786346.11. Set the current resource manager plan to null (or another plan that is not restrictive):
2. Change the active windows to use the null resource manager plan (or other nonrestrictive plan)
using:3. Then, for each window_name (WINDOW_NAME from DBA_SCHEDULER_WINDOWS), run:
3. Then, for each window_name (WINDOW_NAME from DBA_SCHEDULER_WINDOWS), run:
References
NOTE:392037.1 - Database Hangs. Sessions wait for 'resmgr:cpu quantum'NOTE:756734.1 - 11g: Scheduler Maintenance Tasks or Autotasks
NOTE:786346.1 - Resource Manager and Sql Tunning Advisory DEFAULT_MAINTENANCE_PLAN
NOTE:806893.1 - Large Waits With The Wait Event "Resmgr:Cpu Quantum"
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22990797/viewspace-1309688/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關於resmgr:cpu quantum異常等待處理
- 11g rac 等待事件resmgr:cpu quantum事件
- oracle 11.1.0.6 版本中的resmgr:cpu quantum 等待事件Oracle事件
- High "Resmgr:Cpu Quantum" Wait EventsAI
- 【故障處理】序列cache值過小導致CPU利用率過高
- crontab導致CPU異常的問題分析及處理
- latch 相關效能問題診斷: latch: row cache objects等待事件導致CPU負載高Object事件負載
- 一次死鎖導致CPU異常飄高的整個故障排查過程
- resmgr:become active 等待事件分析事件
- 解決perl程式使CPU利用率過高
- 一次FGC導致CPU飆高的排查過程GC
- 欄位字元型別不匹配導致CPU佔用率高字元型別
- java程式佔用cpu異常升高Java
- 導致雲伺服器CPU經常跑高的原因有哪些?伺服器
- Nodejs mkdirP 模組導致CPU佔用高的問題NodeJS
- 診斷和解決CPU利用率高的問題(zt)
- 日誌異常,IO,CPU的檢查
- mysql中CPU或記憶體利用率過高問題MySql記憶體
- [異常等待事件latch undo global data]分析事件
- 效能分析(5)- 軟中斷導致 CPU 使用率過高的案例
- Dubbo Hession反序列化導致CPU佔用飆高用例分析
- 故障分析 | 大量短時程式導致 cpu 負載過高案例一則負載
- 一次.net code中的placeholder導致的高cpu診斷
- 執行計劃變化導致CPU負載高的問題分析負載
- 【RAC】處理因ons導致CPU使用率過高的問題
- 記一次 gocode 在高版本 Go 高耗 CPU 導致的 LiteIDE 卡頓GoIDE
- 【等待事件】ORACLE常見等待事件事件Oracle
- GoldenGate導致的Streams miscellaneous event等待事件Go事件
- 解決new Thread().Start導致高併發CPU 100%的問題thread
- [轉帖]JFR 定位因為 SSL 導致 CPU Load 飈高的問題
- Oracle資料庫經常會遇到CPU利用率很高的情況Oracle資料庫
- [異常等待事件rdbms ipc reply]-分析說明事件
- Windows 平臺計算 CPU 總利用率Windows
- 通過程式設計控制CPU利用率程式設計
- 檢視linux系統CPU利用率Linux
- Java cpu 高排查Java
- 當機導致slave異常分析
- 來看看是什麼原因導致生產服上的系統CPU高的?