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
- 3.4.3 Restoring the System to Normal OperationRESTORM
- fork failed - Cannot allocate memoryAI
- Failed to get D-Bus connection: Operation not permittedAIMIT
- 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
- docker安裝matlab mount failed: Operation not permitted.DockerMatlabAIMIT
- SAP CRM One order裡user status和system status的mapping邏輯APP
- Realcase: Failed to upgrade SQL Server 2016 SP2 CU11. (Installation success or error status: 1648)AISQLServerError
- python 中 os.fork() 與 os.waitpid(pid,*args, **args) 說明PythonAI
- remount of /system failed: Read-only file system原因及解決REMAI
- Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the processErrorExceptionAI
- 解決STS或者Eclipse卡死在remote system explorer operation問題EclipseREM
- gitlab-runner之build failed with exit status 1問題分析GitlabUIAI
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED解決辦法ErrorDNNAI
- 執行systemctl status ssh返回“Failed to get properties: Connection timed out”AI
- PHP報錯getimagesize(): SSL operation failed with code 1問題解決方案PHPAI
- HTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.BadSqlGramHTTPAIExceptionSpringFrameworkJDBCSQL
- 記錄Windows failed fast startup with error status 0xC00000D4.WindowsAIASTError
- dbca建立資料庫時報錯ORA-13516: AWR Operation failed: CATPROC not valid資料庫AI
- command 'gcc' failed with exit status 1錯誤問題的解決辦法GCAI
- MIT6.S081 - Lecture3: OS Organization and System CallsMIT
- MySQL建立使用者報錯 ERROR 1396 (HY000): Operation CREATE USER failed for 'afei'@'%'MySqlErrorAI
- ORA-27300 ORA-27301
- [Javascript] ++operationJavaScript
- 部署在IIS中服務出現異常 Failed to load resource: the server responded with a status of 503 (Service Unavailable)AIServer
- Sector size導致ORA-27061: waiting for async I/Os failed with root.shAI
- tidb Error: Operation aborted by user answer '' (cliutil.operation_aborted)TiDBError
- [已解決] [HiveCatalog]Kerberos GSS initiate failed, No valid credentials provided, Cannot read from System.inHiveROSAIIDE
- 一加8t 禁用更新 氫OS 11
- Deep Embedding Learning for Text-Dependent Speaker Verification
- macOS: sudo : Operation not permittedMacMIT
- [Javascript] Encapsulate chunk operationJavaScript
- Fork倉庫
- Fork/Join框架框架
- Fork/Join 框架框架
- iOS 11 vs Android O:誰才是更讚的OS?iOSAndroid
- G016-OS-INS-05 Windows 11 Preview 體驗WindowsView