Translate

1709928 - DP: rdisp/wp_auto_restart restarts all processes

Symptom
After the instance start, at a time that roughly corresponds to the time when the instance profile parameter rdisp/wp_auto_restart expires, none of the work processes are available because they are automatically restarted. As the runtime of the instance increases (relative to the value of the parameter rdisp/wp_auto_restart), the problem no longer occurs.


Other Terms
rdisp/wp_auto_restart, rdisp/noptime


Reason and Prerequisites
Reason:

After the instance start, all of the work processes have a similar time for the first automatic restart. Under certain circumstances, this may result in all or almost all of the work processes restarting at the same time.

You notice that:
  • The restart occurs only if the work process is idle (no functional adverse effect in live operation).
  • The decision regarding whether a restart should occur is made when a new request is received in the work process. Therefore, if a work process never receives a request for processing (for example, DIA processes with a high number when there is a low load), it is less likely that this will be restarted. You can work around the latter using the parameter rdisp/noptime.

Prerequisites:

Since work processes do NOT restart themselves if they are processing a request (in other words, they are active), the processes desynchronize themselves over time and therefore, the problem is restricted to the time after the instance start.


Solution
Workaround:

Approximately 20 minutes after the instance start in transaction SM50, you can select half of the DIA processes (preferably, the half with HIGH process numbers) and manually restart them using the pull-down menu

"SM50 -> Process -> Cancel Without Core".

  Since the automatic restart is executed based on the time of the last restart, you have therefore already desynchronized the processes.

Solution:

If you apply the kernel patch level specified, the process is restarted only after rdisp/wp_auto_restart has expired PLUS a random value between 0 and 900 seconds. Therefore, the first restart is already sufficiently desynchronized. The value of 900 seconds CANNOT be changed.

Note that the processes do NOT restart EXACTLY after rdisp/wp_auto_restart, rather only AFTER the next request has been processed AFTER rdisp/wp_auto_restart expires.

This means that if a system does NOT process any requests, the process does not restart either. HOWEVER, there is the parameter rdisp/noptime (in seconds) that sends a dummy request to ALL work processes and therefore also triggers the check for the work process restart. However, this mechanism removes the desynchronization originally described in this SAP Note because the noptime request comes at the same time for all processes. If the wp_auto_restart time has long since expired, all processes are again restarted at the same time as a result. However, since this occurs in particular if the processes have been idle for a long time, this usually does not affect performance.

UPDATE: SAP Note 1810925 discusses the problem that the parameter rdisp/noptime SYNCHRONIZES the processes again when you restart (see Related Notes). We recommend that you apply the patch level specified in SAP Note 1810925. (End of January 2013).








Header Data

Released On 29.01.2013 15:55:44
Release Status Released for Customer
Component BC-CST-DP Dispatcher, Task Handler
Priority Correction with low priority
Category Help for error analysis

No comments:

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