Translate

1057255 - Jobs remain in status 'ready'

Symptom
A job remains in the 'ready' status for a long time.


Other Terms
ready, delay


Reason and Prerequisites

Background information:
If you work in the dialog, your dialog session is running on one (usually of several) application servers. The dialog application that you use is executed only from this application server.
For example, if you choose 'Save' in your dialog screen, the system sends a dialog request to a free dialog work process on this server (and no other server). The dialog work process that contains the request then executes the ABAP statements that are associated with this button (for example, a consistency check for the data that was entered and then saving the data in the database).
If no dialog work process is free on the server, the system places your dialog request in a queue. This is still the case, even if there are free dialog work processes on other application servers.
Since the system usually processes a dialog request in fractions of a second, it is not long until a work process becomes free on the server again and it is the turn of your dialog request.

You do not want this behavior in the background processing. It may even be fatal. The simple reason for this is that the runtime of background jobs is often many minutes or even hours.
If an application wants to start a background job (without a target server), and if no background work process is free on the server on which this application runs, the user will of course want to start the background job on any of the other servers that have free background work processes.
In technical terms, the background processing may be as follows:
1.  It must be able to  send background requests across the entire system and not just on the local server.
2.   In addition, before the background request is sent to a certain server, the background processing must be sure that there is a free background work process on this server. A request that has been sent once can no longer be redirected to another server.

In the past, there have been problems (particularly with point 2):
For example:
- Two applications want to start a background job on the same server at the same time.
- there is still a free background work process on the server.
- Since both applications want to start the job at the same time, both applications see that there is a free background work process on the server and they each send a background request to the server.
The system can start only one background job. The other background request remains in the queue on this server (in the same way as the dialog processing). The background job that belongs to this waiting request only starts when a background work process is again free on this server. This may take a very long time. The background remains in the status 'ready' for this time.

Therefore, a background job has the status 'ready' in the time between when you send the background request and when the relevant background job starts. This should usually only take fractions of a second, and, at the most, a few seconds.

The problem demonstrated by the above example was eliminated in 2003. However, due to various options for starting a background job (immediate start, time-based start, event start), in theory, a background job may hang with the status 'ready' in a certain scenario. In this scenario, various events start several jobs at the same time, or one event starts several jobs with different event parameters at the same time.


Solution
We now deliver a solution for the scenario that is mentioned above. This means that, even in this scenario, background jobs can no longer hang in the status 'ready'.
Implement the advance correction or import the relevant Support Package.
After you implement the solution, the event jobs may experience a slight delay if you start many event jobs at the same time. That is essential because, in order to exclude the problem that is mentioned above, you must serialize the job starts.
In any case, you can significantly reduce the average delay. To do this, set the profile parameter rdisp/btctime to 30 (the default value is 60) on all servers.
However, if you want to retain the old behavior, you can deactivate the corrections. To do this, use transaction SE16 to insert the following entry in the table BTCOPTIONS:

BTCOPTION = NEW_EVTSTART
VALUE1    = OFF
VALUE2    = <any comment>



Header Data

Released On 09.12.2008 12:12:41
Release Status Released for Customer
Component BC-CCM-BTC-RUN Runtime Environment for Background Processing
Priority Correction with low priority
Category Program error

5 comments:

Stepherd said...

Really nice thing you had posted here. And i hope this strategies will help the people for hiring process. Thank you and also i am expecting much more post from you. So please keep update like this.

Hr Consultancy in Chennai

Anonymous said...

JEE Main is one of the biggest entrance exams that is held every year. The JEE Main 2019 Entrance Examination is

conducted by the CBSE. This year the CBSE is going to conduct the JEE Main 2019 on April 8th, 2019.

The CBSE has finally published the Date-sheet of CBSE 10th 2018 Board Exam. The Exam will start from 5th March 2018. Here is the complete list of CBSE Results 2018

The RRB has announced its Official Advertisement 2018 for Railway Junior Engineer.

The Recruitment Board is offering approx. 5620 Vacancies for RRB JE. It is a great

opportunity for those who are interested in the Railway Jobs.

DMRC (Delhi Metro Rail Corporation) has released the notification for the various

postsfor Assistant Manager in various fields, Office Assistant, Account Assistant, Stenographer and much more. The Department is providing over 1800 posts

for the aspiring candidates. The online registration for the recruitment starts from 27th Jan 2018 to 26th Feb 2018 (23:59 pm).Check Here for complete details

regarding the DMRC Recruitment 2018.

Recently the RRB has declared the vacancies for the Railway Assistant Station Master

(ASM). An approx. of 50,000 vacancies, positions are filled this year. full detailed information click here rrb asm recruitment 2018

The RRB Recruitment Department is planning to release the dates for RRB Recruitment 2018 for the year 2018-19 in the month of January. The examination will be

conducted after one or two months after the release of the notification. The RRB NTPC 2018 will recruit the candidates for various vacant posts in Technical

and Non-Technical Categories.

DMRC (Delhi Metro Rail Corporation) has released the notification for the various

postsfor Assistant Manager in various fields, Office Assistant, Account Assistant, Stenographer and much more. The Department is providing over 1800 posts

for the aspiring candidates. The online registration for the recruitment starts from 27th Jan 2018 to 26th Feb 2018 (23:59 pm).Check Here for complete details

regarding the DMRC Recruitment

The RRB has announced its Official Advertisement 2018 for Railway Junior Engineer.

The Recruitment Board is offering approx. 5620 Vacancies for RRB JE Recruitment

2018
. It is a great opportunity for those who are interested in the Railway Jobs.

Anurag Srivastava said...

Your blog is very interesting. Thanks for sharing nice information... Sarkari result provides PSU jobs information as well. Government giving enough opportunities to make a good and bright future in India

Anurag Srivastava said...

Your blog is very interesting. Thanks for sharing nice information... Sarkari result provides PSU jobs information as well. Government giving enough opportunities to make a good and bright future in India

Annika said...

Wonderful Article.
Annika

Labels

sap hana hana database aws s4 hana hana db s4hana conversion steps sap hana azure bw4hana hana migration s4hana migration sap cloud migration steps sap hana migration steps sap hana migration to azure s4hana sap fiori fiori performance fiori erp s4 hana fiori sap fiori app sap fiori client sap fiori launchpad sap s4 hana fiori cisco ecc AI SAP AI abap dumps hana sap S/4HANA S/4HANA Conversion best sap ui5 & fiori training configuration database fiori tutorial on webide free sap ui5 & fiori training s/4 hana sap dumps sap fiori tutorial sap ui5 sap ui5 & fiori sap ui5 & fiori tutorial sara ui5cn 2367245 - Troubleshooting performance issues with SAP BPA Amazon free tier for SAP AWS setup Experience CALL_FUNCTION_NOT_FOUND CCMS Configuration and Use Create New Data Class in SAP (Oracle) Critical top SAP Abap dumps DHCP Clients Not Receiving IP Addresses Download Stack.xml HAN-DB HAN-DB-ENG High CPU Usage Due to Excessive Process Switching How To How to Start and Stop SAP Hana Tenant Database How to change SAP Hana Sql Output results are limited to 5000 Records How to perform SAP Dual Stack Split - Netweaver Inactive Objects in SAP Intercompany transactions in SAP AP / AR : Cross Company Code Transaction Interface Flapping Due to Duplex Mismatch KBA LOAD_PROGRAM_LOST MSSQL shrinking transaction log file Migrating to SAP hana database NAT Overload Causing Internet Access Failure Note 500235 - Network Diagnosis with NIPING OSPF Adjacency Not Forming PRINCE2 Foundation Sample Questions Preparing for S/4HANA Conversion and the MUST know items Push to Download Basket S/4HANA Migration Cockpit S/4JANA SAP BI Support Data Load Errors and Solutions SAP BI/BW Landscape SAP BPA SAP Basis SAP Basis Automation SAP Business Objects SAP CPS SAP Certification SAP FI Certification SAP FI Certification Sample Questions SAP HANA Admin - Cockpit SAP HANA DB Engines SAP HANA Database SAP HANA terminate session connection disconnect cancel kill hang stuck SAP Hana DB restore SAP Hana Numeric Error Codes SAP Landscape SAP Language installation SAP MM and Purchase Order Tables SAP Maintenance Planner SAP Note 500235 SAP R/3 Glossary SAP Readiness Check SAP S/4HANA 1709 Installation Files SAP S/4HANA 2023 SAP S/4HANA 2023 Installation SAP S/4HANA 2023 running SAP S/4HANA Installation SAP Scheduling SAP Solman 7.2 CHARM: SAP Support Package Stack Strategy SAP Support package SAP Upgrade SAP support stack upgrade SP stacks STORAGE_PARAMETERS_WRONG_SET SUSE/SLES/Kernel versions Setup of S/4hana 2023 TSV_TNEW_PAGE_ALLOC_FAILED TSV_TNEW_PAGE_ALLOC_FAILED error Transaction ID Unable to download an SAP Note Unix/Linux Command That Are Helpful For SAP Basis Upgrading SAP Kernel Without Downtime Upgrading windows server 2008 to windows server 2019 What is OSS Notes? SAP SNOTE Tutorial accounting agile ale idoc ale/edi archive FI documents audit auditing auditor aws aws cloud basic type bluefield approach ccms ccmsidb charm copilot datavard dbacockpit download sap note download snote edi idoc electronic data interchange enable sap archiving objects erpprep ffid firefighter fraud functional hana admin how to apply sap security note https://www.erpprep.com/ idoc install install sap fiori installation interfaces intermediate document internal control license key linux version materials management messsage niping test order type port prince2 agile prince2 agile practitioner purchasing quick info s4 hana sap abap dumps sap abbreviations sap activate certification sap activate project manager sap authorization sap aws sap brownfield sap ccms sap ccms configuration sap erp sap error sap grc sap greenfield sap internet demo system sap license sap maintenance certificate sap material management sap meaning sap mm sap mm consultant sap monthly security note sap netweaver sap network diagnostic sap niping sap note sap oss sap patch day sap performance sap performance issue sap purchase order sap s/4hana sap sales and distribution sap sap otc sap sd sap sd certification training sap sd course sap sd jobs sap sd module sap sd online training sap sd training sap sd tutorial sap sd tutorial for beginners sap security sap security note sap snote sap snote tutorial sap solution manager sap sql segregation of duties separation of duties sles slicense smc snote snote in sap system sod conflict solution manager solution maneger stop start hana database suse linux techie trex two step upgrade required waterfall