ksvcreate: Process(m000) creation failed 處理
ksvcreate: Process(m000) creation failed 處理
同事打電話過來說有臺資料庫(10.2.0.4.0)連不上了,檢視alert日誌:
Tue Jun 17 14:55:04 2014 Process m000 died, see its trace file Tue Jun 17 14:55:04 2014 ksvcreate: Process(m000) creation failed Tue Jun 17 14:56:05 2014 Process m000 died, see its trace file Tue Jun 17 14:56:05 2014 ksvcreate: Process(m000) creation failed Tue Jun 17 14:57:06 2014 Process m000 died, see its trace file Tue Jun 17 14:57:06 2014 ksvcreate: Process(m000) creation failed |
從網上查了下資料
ksvcreate: Process creation failed錯誤資訊一般在Oracle例項在建立一些輔助後臺程式(如mmon的子程式m00x或者並行子程式p00x等)時出現程式啟動失敗時出現,而造成該錯誤的可能性有多種,包括Oracle例項資源不足、作業系統資源不足等等。
其中較為常見的是例項instance的process使用達到上限,可以透過查詢v$resource_limit檢視來了解例項生命週期內是否發生過process總數暴滿的情況:
[oracle@xxx ~]$ sqlplus / as sysdba SQL> select * from v$resource_limit; ERROR at line 1: ORA-01012: not logged on |
執行查詢報錯,還可以從作業系統上檢視LOCAL=NO的連線數,看有沒有超過最大連結數
ps -ef|grep LOCAL|wc –l 149 SQL> show parameter process ERROR at line 1: ORA-01012: not logged on 修改引數也報相同的錯誤 |
如不急的話,可以先停掉監聽,等連結數降下來後,再查詢、修改
因比較著急,先重啟下資料庫
SQL> conn / as sysdba Connected to an idle instance. SQL> shutdown immediate ORA-24324: service handle not initialized ORA-24323: value not allowed ORA-00020: maximum number of processes (%s) exceeded |
正常關閉不了,只能強關了
SQL> shutdown abort ORACLE instance shut down. SQL> startup ORACLE instance started. Total System Global Area 2097152000 bytes Fixed Size 2085224 bytes Variable Size 1207963288 bytes Database Buffers 872415232 bytes Redo Buffers 14688256 bytes Database mounted. Database opened. |
shutdown abort後,啟動時會自動進行例項恢復
重啟後,可以正常登了
檢視
SQL> select * from v$resource_limit;
RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_ALLOCATION LIMIT_VALUE ------------------------------ ------------------- --------------- -------------------- -------------------- processes 55 58 150 150 sessions 57 61 170 170 enqueue_locks 22 34 2380 2380 enqueue_resources 22 24 968 UNLIMITED |
從上面結果輸出來看,很可能是processes總數達到上限導致了新的後臺輔助程式建立失敗
修改下processes引數
SQL> show parameter process NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ aq_tm_processes integer 0 db_writer_processes integer 1 gcs_server_processes integer 0 job_queue_processes integer 10 log_archive_max_processes integer 2 processes integer 150
連結數只有150 確實有點少了,改下引數
SQL> alter system set processes=500 scope=spfile; System altered.
重啟下資料庫,然後檢視
SQL> show parameter process |
過段時間檢視下連結數:
SQL> select count(*) from v$session; COUNT(*) ---------- 267 |
267超過當時設定的150,所以正是由於Oracle達到了程式數限制,進而PMON無法建立m000程式,至此問題解決
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29702473/viewspace-1185352/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 處理ksvcreate: Process(m000) creation failed 小記AI
- ksvcreate: Process(m000) creation failedAI
- 問題之Process m000 died, see its trace file&ksvcreate: Process(m000) creation failedAI
- Ksvcreate:Process(xx) Creation Failed/ORA-00445:Background Process "xx"AI
- 物理DATAGUARD庫上的KSVCREATE: PROCESS(M000)
- 安裝GRID CONTROL The OPMN Process Manager failed to start報錯處理AI
- VM啟動報:failed to launch peer processAI
- ORA-00704: bootstrap process failure 的處理bootAI
- 處理service named start失敗failed_dnsAIDNS
- kkjcre1p: unable to spawn jobq slave process故障處理
- JAR creation failed. See details for additional information解決方案大全JARAIORM
- 【故障處理】ORA-28547: connection to server failed, probableServerAI
- Linux Process/Thread Creation、Linux Process Principle、sys_fork、sys_execve、glibc fork/execve api sourcecodeLinuxthreadAPI
- [sublime xftp外掛] Host key verification failed ,錯誤處理FTPAI
- 【問題處理】Oracle process running out of OS kernel I/O resourcesOracle
- SSH 登入失敗:Host key verification failed 的處理方法AI
- centos6.5報錯:checking filesystems failed問題處理CentOSAI
- ORA-12500: TNS:listener failed to start a dedicated server processAIServer
- ORA-12500 TNS : listener failed to start a dedicated server processAIServer
- ksuapc : ORA-1033 foreground process starts before PMON處理
- M000程式失敗
- XAMRAIN的INSTALL_FAILED_NO_MATCHING_ABIS錯誤處理AI
- 【故障處理】ORA-12545: Connect failed because target hostAI
- VMware虛擬機器Reason: Failed to lock the file問題處理虛擬機AI
- GoldenGate extract process abended with error OGG-01028的處理GoError
- SQL Server 2005 中過多CXPACKET 狀態process及處理方式SQLServer
- Job for mysqld.service failed because the control process exited with error code...MySqlAIError
- npm報錯:request to https://registry.npm.taobao.org failed處理辦法NPMHTTPAI
- 【問題處理】crsd日誌中頻現“Failed to retrieve procctx from ht”提示資訊AI
- 透過vnc安裝oracle出現at least 256 colors Failed的錯誤處理VNCOracleASTAI
- 安裝Grid Control , OPMN Process Manager failed to start 問題解決AI
- Oracle 11G PSU 31326410 PSU apply failed 處理-拾億OracleAPPAI
- Failed to resolve:com.android.support:appcompat-v7:報錯處理AIAndroidAPP
- Job for mysqld.service failed because the control process exited with error code錯誤解決MySqlAIError
- Centos httpd模組 Job for httpd.service failed because the control process exited with error code.CentOShttpdAIError
- 【故障處理】Linux下匯入匯出“IMP-00030: failed to create file ... for write”LinuxAI
- Android執行出現android Installation failed due to invalid URI! 錯誤處理AndroidAI
- Recovery Catalog creation and MaintenanceAINaN