Oracle告警日誌ora-04030
一oracle 11g 出現ORACLE ORA-04030之 out of process memory when trying to allocate報錯,查詢ORACLE官方MOS確定是:BUG11852492,原因是使用者會話單程式佔用PGA超過4GB異常終止,根據MOS文章1325100.1的建議:可以根據伺服器實際情況及SQL執行的實際情況放開PGA單程式使用記憶體空間的限制到16GB。
相關分析處理過程如下:
ORA4030告警,告警資訊如下: **************************** 檢視資料庫告警日誌 ************************** ERROR IN ALERT LOG FILE - LAST 3 DAYS ===================================== 15/12/2016 22:44:13 Thu Dec 15 22:44:13 2016 Thu Dec 15 22:44:13 2016 ORA-04030: out of process memory when trying to allocate 64 bytes (kxs-heap-c,allocator state) ORA-04030: out of process memory when trying to allocate 624 bytes (kxs-heap-c,MSQ2) ORA-04030: out of process memory when trying to allocate 82456 bytes (pga heap,control file i/o buffer) Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl2/incident/incdir_498/orcl_pmon_60993.trc: See Note 411.1 at My Oracle Support for error and packaging details. Use ADRCI or Support Workbench to package the incident.
針對PGA單程式4GB記憶體空間的限制,查證當前作業系統相關限制引數設定為4GB:
[root@host ~]# more /proc/sys/vm/max_map_count 65530 [root@host ~]# more /proc/sys/vm/max_map_count 65530 [root@host ~]#
針對PGA單程式4GB記憶體空間的限制,使用如下sql語句查證oracle資料庫相關隱含引數設定為4GB:
_realfree_heap_pagesize_hint=65536 select a.ksppinm name, b.ksppstvl value, a.ksppdesc description from x$ksppi a, x$ksppcv b where a.indx = b.indx and a.ksppinm like '_realfree_heap_pagesize_hint';
如果實際情況可以,oracle官方允許PGA單程式設定為16GB,相關操作如下:
SOLUTION Change the upper limit at either the OS or at the database level: Change the page count at the OS level: more /proc/sys/vm/max_map_count sysctl -w vm.max_map_count=262144 (for example) **Please note the above changes will revert upon host reboot unless the changes are permanently made in the /etc/sysctl.conf file ** Adjust the realfree heap pagesize within the database by setting the following parameters in the init/spfile and restart the database. For versions 11.2.0.4 and lower: _use_realfree_heap=TRUE _realfree_heap_pagesize_hint = 262144 For 12.1 and higher: _use_realfree_heap=TRUE _realfree_heap_pagesize = 262144
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30317998/viewspace-2654931/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle12告警日誌檔案?Oracle
- 使用外部表管理Oracle 告警日誌Oracle
- 【ELK】elastalert 日誌告警AST
- 告警日誌介紹
- Oracle之備份和清理監聽日誌、告警日誌指令碼Oracle指令碼
- Oracle 11g 中告警日誌的位置Oracle
- ORACLE 告警日誌alert過大的處理Oracle
- RAC的告警日誌檔案
- 告警日誌出現kewastUnPackStats資訊AST
- Oracle 跟蹤/告警/監聽日誌的清理指令碼Oracle指令碼
- 獲取兩天內的告警日誌(bash|shell|oracle)Oracle
- 獲取一週內的告警日誌(python|Oracle)PythonOracle
- Oracle 自動化運維-Python監控Oracle告警日誌Oracle運維Python
- 獲取兩天內的告警日誌(AIX|ksh|shell|oracle)AIOracle
- Oracle的告警日誌之v$diag_alert_ext檢視Oracle
- 使用外部表管理Oracle 告警日誌(ALAERT_$SID.LOG)Oracle
- 日誌服務之告警接入與管理
- 【轉】oracle學習筆記(三)之檢查Oracle的告警日誌檔案Oracle筆記
- 日誌和告警資料探勘經驗談
- 利用外部表讀取告警日誌檔案
- Grafana系列-Loki-基於日誌實現告警GrafanaLoki
- Oracle日誌Oracle
- 【Oracle日誌】- 日誌檔案重建Oracle
- 如何開關資料庫告警日誌及修改日誌級別資料庫
- oracle alert日誌Oracle
- Oracle 附加日誌Oracle
- Oracle日誌管理Oracle
- oracle 10g rac 私網沒設定資料庫日誌告警解決方法Oracle資料庫
- 基於AWS-ELK部署系統日誌告警系統
- dbms_system.ksdwrt:向告警日誌檔案寫指定資訊
- 告警日誌出現skgpspawn failed category 27142錯誤AIGo
- 11g告警日誌中大量ORA-12170錯誤
- oracle歸檔日誌Oracle
- Oracle的重做日誌Oracle
- Oracle 補充日誌Oracle
- Oracle 歸檔日誌Oracle
- oracle 日誌收集工具Oracle
- ORACLE的日誌管理Oracle