Symptom
The system displays background jobs in transaction SM37 in the status "ready" and they do not start.
Other Terms
Status, ready, wait, background job
Reason and Prerequisites
Jobs remaining in the status "ready" is not the normal system
response. If you use transaction SM65 to perform a status check or a
consistency check, you may eliminate the symptoms. However, it is
essential to eliminate the cause of the problem, mainly because it
occurs frequently.
If the resource check finds a free work process for a background job that is to be executed, the system sets the status of this job to "ready" and then uses the dispatcher to send a start message. In the normal situation, a background work process receives this message immediately and it then sets the status to "running".
If a problem occurs during sending or receiving, the status of the job remains as "ready" and the system no longer executes it. Possible reasons for this system response are as follows:
If the resource check finds a free work process for a background job that is to be executed, the system sets the status of this job to "ready" and then uses the dispatcher to send a start message. In the normal situation, a background work process receives this message immediately and it then sets the status to "running".
If a problem occurs during sending or receiving, the status of the job remains as "ready" and the system no longer executes it. Possible reasons for this system response are as follows:
- 1. The system cannot send the message on (rare).
- 2.
The receiving background work process does not have a data connection
and, therefore, it cannot change the status of the job (frequent).
- 3. The receiving background work process repeatedly restarts due to a different error (rare).
Solution
Perform the following steps to determine the cause of the problem:
Attached to this note are other notes that describe known reasons why the jobs have the status "ready".
- 1.
Check for error messages in the system log (transaction SM21), the
dispatcher trace file (dev_disp), and the trace files for the background
work processes. In the "Executing Server" field in transaction SM37,
the system displays the name of the instance that processed or that is
to process the affected job.
- 2. In the system log (transaction
SM21) and the trace files for the background work processes, check for
error messages that refer to problems with the database connection. In
the "Executing Server" field in transaction SM37, the system displays
the name of the instance that processed the affected job.
- 3. In
the system log (transaction SM21) and the trace files for the
background work processes, check for error messages that show that the
process restarted.
Attached to this note are other notes that describe known reasons why the jobs have the status "ready".
Header Data
Released On | 09.12.2008 13:56:26 |
Release Status | Released for Customer |
Component | BC-CCM-BTC Background Processing |
Priority | Recommendations / Additional Info |
Category | Help for error analysis |
Validity
This document is not restricted to a software component or software component version
References
This document refers to:
SAP Notes
This document is referenced by:
SAP Notes (1)
165084 | Why does my job not start? |
No comments:
Post a Comment