SAP Knowledge Base Article - Preview

2921880 - SM04: Pending SAP GUI sessions keep holding enqueue locks


  • Idle SAP GUI sessions are still present in the system (SM04 transaction) even when "rdisp/gui_auto_logout" was reached.
  • As a result, it is possible that previously allocated enqueue locks are kept by this user/session thus causing issues with future interactions with associated objects.
  • Entries similar to the following ones can be seen present at work processes trace files (dev_w<nr>):

M *** ERROR => ThRollInitError: handle roll init error (step TH_WORK_SYNC, thRc ERROR-SESSION-ATTACH_ERROR, action RELEASE_WP, level 1) [thxxhead.c 2782]
M {root-id=005056BB06A31EDA8BB4422C8925E7E0}_{conn-id=00000000000000000000000000000000}_0
M ThIErrHandle: set thRc ERROR-SESSION-ATTACH_ERROR for T65_U29655_M0



SAP Netweaver 7.4


SAP NetWeaver 7.4


pending lock, error-session, , KBA , BC-CST-DP , Dispatcher, Task Handler , Problem

About this page

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

Search for additional results

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