ORA-27300: OS system dependent operation:fork failed with status: 11
今天早上,應用的人說新裝的那臺資料庫連線報錯,用PL/SQL Developer連線報:
ORA-12537:TNS:連線關閉。
開始處理:
以oracle身份登陸系統,報:
/etc/profile[50]: 0403-030 The fork function failed. Too many processes already exist.
執行sqlplus登陸資料庫又報:
ORA-12549: TNS:operating system resource quota exceeded.
這個類錯誤還是第一次遇見,不過看起來不算是有難度的問題,然後開始查詢資料庫告警日誌alert.log,有很多類似的錯誤:
Tue May 10 21:00:37 2011
Process startup failed, error stack:
Tue May 10 21:00:37 2011
Errors in file /hiuset_bas/oracle/app/admin/bcs/bdump/bcs_psp0_290828.trc:
ORA-27300: OS system dependent operation:fork failed with status: 11
ORA-27301: OS failure message: Resource temporarily unavailable
ORA-27302: failure occurred at: skgpspawn5
ORA-27303: additional information: skgpspawn5
Tue May 10 21:00:38 2011
Process m001 died, see its trace file
Tue May 10 21:00:38 2011
ksvcreate: Process(m001) creation failed
由以上資訊大致可以瞭解到連線資料庫失敗的原因為系統資源匱乏或達到了某些限制條件閥值。
根據metalink ID 392006.1和ID 948152.1的描述,可以確定是OS引數maxuproc的問題。
以root身份執行smitty,依次選擇:
System Environments
Change / Show Characteristics of Operating System
Maximum number of PROCESSES allowed per user[128]
128是OS引數maxuproc的值,意思是在OS中,每個OS使用者所允許的最大程式數。128應該是OS的預設值,顯然不能滿足需求的,根據AIX的安裝手冊中的建議值,將其調整為了16384。
root@:/>lsattr -Elsys0 | grep maxuproc
maxuproc16384Maximum number of PROCESSES allowed per userTrue
調整之後,到目前為止快一天的時間,沒有再出現過該錯誤。
--- END ---
[@more@]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25834554/viewspace-1050013/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-27300: OS system dependent operation:fork failed with statusAI
- ORA-27300: OS system dependent operation:fork failed with status: 12AI
- 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
- HPUX上出現ORA-27300、ORA-27301、ORA-27302的STATUS 11錯誤UX
- 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
- 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() 函式的替代函式