SAP Knowledge Base Article - Preview

3846585 - bgRFC: Long-running DELETE on BGRFC_I_RUNNABLE causing lock contention under high volume

Symptom

During high-volume processing, long-running DELETE statements are observed on table BGRFC_I_RUNNABLE, with wait times potentially reaching several tens of seconds. A DB-level lock analysis shows the following pattern:

  • A lock holder session is executing: DELETE FROM "BGRFC_I_RUNNABLE" WHERE "DEST_NAME" = ? AND "CLIENT" = ? AND "UNIT_ID" = ?
  • Multiple other sessions with the same statement hash are blocked, waiting for the same row to be unlocked
  • A second variation may show a lock holder with no active statement hash, indicating the session is holding row locks while in the HANA commit phase

This is typically observed on systems with a large number of application server instances during high-volume processing such as stress tests or day-in-life volume tests.


Read more...

Environment

  • SAP NetWeaver
  • SAP NetWeaver Application Server for SAP S/4HANA 
  • ABAP PLATFORM

Product

ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions

Keywords

buffer, SBGRFCCONF, destination, scheduler, open connections, application servers, scheduler count, DELETE, COMMIT, LUW, BGRFC_I_RUNNABLE, lock contention, CL_BGRFC_UNIT_HANDLER_INB_T, HANA commit, volume test, bgRFC inbound. , KBA , BC-MID-RFC-BG , Background RFC (bgRFC) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.