![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||||||||||||||
Solution Type Troubleshooting Sure Solution 1379200.1 : Troubleshooting Guide (TSG) - Ksvcreate: Process(xxxx) Creation Failed / ORA-00445: Background Process "xxxx" Did Not Start After n Seconds
In this Document
Applies to:Oracle Database - Enterprise Edition - Version 10.1.0.2 and laterOracle SuperCluster T5-8 Hardware - Version All Versions to All Versions [Release All Releases] Oracle SuperCluster T5-8 Full Rack - Version All Versions to All Versions [Release All Releases] Information in this document applies to any platform. PurposeThis article can be used as a troubleshooting guide for the following messages reported in the alert.log file. Please note that the exact process type and number may be different, so this article applies for all messages in this format: Process %s died, see its trace file
kkjcre1p: unable to spawn %s slave process Process %s died, see its trace file ksvcreate: Process(%s) creation failed You may also observe messages like: ORA-00445: background process "J000" did not start after 120 seconds
This document also lists out the known issues reported causing the ORA-445 errors.
Troubleshooting StepsWhat does this message mean ?The message indicates that we failed to spawn a new process at the Operating System level to serve the request. There are various causes for this issue. This typically occurs when there is a shortage or misconfiguration in Operating System Resources, and thereby the problem should be investigated from an OS perspective. However there are a few causes related to the Oracle Database as well. The default 120 seconds (after which Oracle times out) can be extended dynamically (without a database restart) by setting the following event: $ sqlplus / as sysdba
alter system set events '10281 trace name context forever, level xxx'; -- where xxxxxx is the number of seconds to timeout at. eg: alter system set events '10281 trace name context forever, level 300';
Information from the following previously existing articles is also included in this document: Note 790397.1 - PROCESS J000 And M000 Die OS Configuration ChecksThis error may be observed due to lack of OS resources or incorrect configuration, typically memory or swap may be insufficient to spawn a new process. Please check the list below to verify the OS settings and configuration
<Note 250262.1>: RDA 4 - Health Check / Validation Engine Guide
Minimum values can be found in
You can check the OS Error Log at the time of the issue.
Note 1349613.1: How To Gather The OS Logs For Each Specific OS Platform
Also check the trace files generated at the time of the issue. Look for the 'load verage' and the memory and swap status at the time of the issue.
The previous action points typically will investigate upon OS configuration issues, however the problem may also be caused by a temporary resource spike or system overload. Please check the timings for the problem to appear in the alert.log, if it happens always around the same time, then you are dealing with a temporary resource spike. This usually occurs around times the system load is very high
<Note 301137.1>: OS Watcher User Guide
<Note 946107.1>: What Is The OSWATCHER (OSW) Effect On The Server Performance And What Are The Alternative Commands?
This problem is reported in Redhat 5 and Oracle 11.2.0.2. You can verify whether ASLR is being used as follows: # /sbin/sysctl -a | grep randomize If the parameter is set to any value other than 0 then ASLR is in use. Refer the document for details: Note 1345364.1: ORA-00445: Background Process "xxxx" Did Not Start After 120 Seconds
The solution will be to disable ASLR
Checks on Oracle Database Configuration
The parameter pga_aggregate_target is a numeric value not a boolean value and therefore must be set to a number for it to function correctly. By specifying it to a text string, we will try to convert it to a meaningful value but which may be insufficient for your environment Solution: Properly set PGA_AGGREGATE_TARGET to a numeric value.
PRE_PAGE_SGA instructs Oracle to read the entire SGA into active memory at instance startup. Operating system page table entries are then prebuilt for each page of the SGA. This setting can increase the amount of time necessary for instance startup, but it is likely to decrease the amount of time necessary for Oracle to reach its full performance capacity after startup. PRE_PAGE_SGA can increase the process startup duration, because every process that starts must access every page in the SGA, this can cause the PMON process to take longer to start and exceed the timeout which is by default 120 seconds causing the instance startup to fail. Setting PRE_PAGE_SGA to TRUE can increase the process startup duration, because every process that starts must access every page in the SGA, however overhead can be significant if your system frequently creates and destroys processes by, for example, continually logging on and logging off.
Solution: Setting PRE_PAGE_SGA to FALSE will avoid this code executing so pages are only touched as needed rather than touching every single page when the process starts. This can avoid or minimize the problem from occuring however the underlying cause is still an Operating System resource shortage Note: The default for pre_page_sga has been changed to true in 12.1.0.2 and higher. Oracle Recommends to disable pre_page_sga for DB version lower than 12c.
Known Issues
OS Related BugsFollowing is a list of Bugs reported which turned out to be OS specific issues. Unpublished Bug 8336987: TB:SH:ORA-00445: BACKGROUND PROCESS "PZ99" DID NOT START AFTER 120 SECONDS Unpublished Bug 7562673: FAILED IN SPAWNING MMON SLAVES AND FLOODING OF MMON TRACES IN AQ TEST
Unpublished Bug 9543620: SQL EXEC PART:ORA-00445: BACKGROUND PROCESS "P059" DID NOT START AFTER 120 SECONDS Briefly, the possible reasons addressed in these bugs are: Diagnostic Informations to be Collected for Oracle SupportIf none of the above steps helped in resolving the issue, please raise an SR with the Oracle Support. Ensure to upload the following files for a speedy resolution. a. Alert Log file b. Trace Files generated at the time of the issue c. OS Error Log file d. HCVE output (Refer <Note 250262.1>: RDA 4 - Health Check / Validation Engine Guide ) e. The output: SQL> select * from v$resource_limit; f. Please upload the OS Watcher output also, if available. Keyword Search
References<NOTE:1345364.1> - ORA-00445: Background Process "xxxx" Did Not Start After 120 Seconds<NOTE:237481.1> - Starting Database 8.1.7 Fails with ORA-3113 and ORA-445 on Linux <NOTE:1600807.1> - ORA-00445: background process "J000" did not start after 120 seconds <NOTE:416244.1> - ORA-00610 And/Or "unable to spawn jobq slave process " And/Or "Process(<>) creation failed" In The Alert Log And/Or TNS-12518/ TNS-12500 In Listener Log Attachments This solution has no attachment |
||||||||||||||||||||||||||||||||||||
|