ORA-27300: OS system dependent operation:fork failed with status: 12
Oracle 版本:11.2.0.4.161018 ,作業系統:AIX 7100-04-02-1614 ,系統架構:單例項。
資料庫報錯無法正常 fork 程式,後臺報錯。
1 、alert 日誌報錯,無法fork 程式,直接報錯。
根據ORA-27300: OS system dependent operation:fork failed with status: 12 ,匹配到bug ,記憶體不足,導致程式無法fork 。
*** 2021-01-01 01:56:33.588
*** SESSION ID:(28.1) 2021-01-01 01:56:33.588
*** CLIENT ID:() 2021-01-01 01:56:33.588
*** SERVICE NAME:(SYS$BACKGROUND) 2021-01-01 01:56:33.588
*** MODULE NAME:() 2021-01-01 01:56:33.588
*** ACTION NAME:() 2021-01-01 01:56:33.588
Process startup failed, error stack:
ORA-27300: OS system dependent operation:fork failed with status: 12
ORA-27301: OS failure message: Not enough space
ORA-27302: failure occurred at: skgpspawn3
*** 2021-01-01 01:56:41.760
Process startup failed, error stack:
ORA-27300: OS system dependent operation:fork failed with status: 12
ORA-27301: OS failure message: Not enough space
ORA-27302: failure occurred at: skgpspawn3
*** 2021-01-01 02:00:31.593
Process startup failed, error stack:
ORA-27300: OS system dependent operation:fork failed with status: 12
ORA-27301: OS failure message: Not enough space
ORA-27302: failure occurred at: skgpspawn3
*** 2021-01-01 02:00:37.594
Process startup failed, error stack:
ORA-27300: OS system dependent operation:fork failed with status: 12
ORA-27301: OS failure message: Not enough space
ORA-27302: failure occurred at: skgpspawn3
2 、OS 同樣有交換空間溢位的報錯,具體如下:
SYSTEM RUNNING OUT OF PAGING SPACE
Detail Data
PROGRAM
oracle
USER'S PROCESS ID:
54593176
PROGRAM'S PAGING SPACE USE IN 1KB BLOCKS
196
---------------------------------------------------------------------------
LABEL: PGSP_KILL
IDENTIFIER: C5C09FFA
Date/Time: Fri Jan 1 02:02:50 CST 2021
Sequence Number: 5100
Machine Id: 00CE70D74C00
Node Id: GXDB01
Class: S
Type: PERM
WPAR: Global
Resource Name: SYSVMM
Description
SOFTWARE PROGRAM ABNORMALLY TERMINATED
Probable Causes
SYSTEM RUNNING OUT OF PAGING SPACE
Failure Causes
INSUFFICIENT PAGING SPACE DEFINED FOR THE SYSTEM
PROGRAM USING EXCESSIVE AMOUNT OF PAGING SPACE
Recommended Actions
DEFINE ADDITIONAL PAGING SPACE
REDUCE PAGING SPACE REQUIREMENTS OF PROGRAM(S)
3 、檢查OS 記憶體的剩餘情況,發現從01.35 分,記憶體剩餘維持在比較低的值,虛擬記憶體明顯降低,虛擬記憶體已經不夠用了。
4 、檢查業務負載00:50 磁碟讀寫壓力明顯增加,00:50 網路IO 的讀寫開始明顯增加,00:50 檔案系統Paging 明顯增加,但是到01:25 才出現明顯的記憶體Paging.
明顯看出從00:00 之後RUNQUEUE 明顯增加, 系統負載增加,導致記憶體使用增多,記憶體不夠用觸發Oracle bug, 導致ORA-27300 錯誤,無法正常fork 出程式。
1 、排查當天的業務增長情況,看是否有明顯的業務增長。
2 、記憶體擴容,預留足夠的記憶體給OS, 記憶體分配(PGA+SGA 60%~70% 左右)
參考文件:
診斷 ORA-27300 ORA-27301 ORA-27302 錯誤 (Doc ID 2179478.1)
參考 Note 465002.1 Database Crash With Error ORA-00490
Note 580552.1 Ora-04030 Ora-07445 Ora-27300 Ora-27301 Ora-27302 Crashed Database
Note 560309.1> /> Database Cannot Start Due to Lack of Memory
記憶體資訊收集命令參考:
# amepat
# svmon -U -t 10 -O summary=basic -i 60
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10201716/viewspace-2939063/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-27300: OS system dependent operation:fork failed with statusAI
- ORA-27300: OS system dependent operation:fork failed with status: 11AI
- ORA-27300: OS system dependent operation:semget failed with status: 28 - 2AI
- ORA-27300: OS system dependent operation:semget failed with status: 28 - 1AI
- ORA-27300: OS system dependent operation: CreateThread failedthreadAI
- ORA-27300 OS system dependent operation:if_not_found 問題處理
- fork failed - Cannot allocate memoryAI
- 3.4.3 Restoring the System to Normal OperationRESTORM
- maridb Error 'Operation DROP USER failed forErrorAI
- Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERRORAIDNNError
- rabbitMq的status報錯Error: unable to perform an operation on node ‘rabbit……MQErrorORM
- python os.systemPython
- Failed to get D-Bus connection: Operation not permittedAIMIT
- docker安裝matlab mount failed: Operation not permitted.DockerMatlabAIMIT
- SAP CRM One order裡user status和system status的mapping邏輯APP
- Checking operating system version FailedAI
- adb remount of system failed: Permission deniedREMAI
- Apache無法啟動解決 the requested operation has failedApacheAI
- ORA-00245: control file backup operation failedAI
- ORA-13516: AWR Operation failed: CATPROC not validAI
- AVADA提示red system status的解決方法
- Python os.system 和 os.popen的區別Python
- solrcloud 報 HTTP Status 503 - Server is shutting down or failed to initializeSolrCloudHTTPServerAI
- Checking operating system version Failed 續AI
- remount of /system failed: Read-only file system原因及解決REMAI
- 【ORACLE】ORA-00245: control file backup operation failedOracleAI
- python 中 os.fork() 與 os.waitpid(pid,*args, **args) 說明PythonAI
- JBAS014613: Operation ("add") failed啟動報錯AI
- python os.system、os.popen、subprocess.Popen的區別Python
- 12.2 wait event ‘PGA memory operation’AI
- gitlab-runner之build failed with exit status 1問題分析GitlabUIAI
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED解決辦法ErrorDNNAI
- iOS開發 Build operation failed without specifying any errors 問題fixiOSUIAIError
- svn報錯cleanup failed–previous operation has not finished; run cleanup if it was interrupte...AI
- [筆記].痛哉!!!Error: Can't access JTAG chain, Error: Operation failed筆記ErrorAI
- PHP報錯getimagesize(): SSL operation failed with code 1問題解決方案PHPAI
- 0403-030 The fork function failed. Too many processes already existFunctionAI
- fork 和 vfork 使用的注意事項和 system() 函式的替代函式