Most problems with lock management can be put down to the following causes:
Problems with communication (network). Check the network.
Problems with the message server. Check that the message server is running (process msg_server or ms.sap<sapsystemname>.
Problems with the Enqueue Server. If you are not operating AS ABAP with the standalone enqueue server, check the following settings:
An application server is running with enqueue functions (see transaction SM51), whose name is identical to the parameter rdisp/enqname (also identical use of upper/lower case).
You can see the current value of the parameter in the parameter maintenance (transaction RZ11).
Parameter rdisp/myname is set correctly
Number of enqueue work processes (rdisp/wp_no_enq is at least 1
If you are using the Standalone Enqueue Server (as part of an (A)SCS instance), check the parameter settings: Profile Parameter Settings for the Standalone Enqueue Server.
Configuration of the other application servers. Parameters rdisp/enqname and rdisp/mshost must be set up on the enqueue or message server on the other instances.
Lock table is full. Check the system log (SM21) for messages about this topic and execute the enqueue diagnosis functions.
For more information, see:
The following tables contain the most important SAP notes about the lock concept. They provide help on error analysis, on performance and configuration issues, and on handling specific error cases.
Note Number |
Short Text |
---|---|
Analysis of enqueue errors using enqueue logging |
|
Enqueue log, sequence of operations not guaranteed |
|
Improved options with enqueue logging |
|
Analyzing log table overflows |
|
Problem analysis in the standalone enqueue server |
|
Check J2EE lock handler |
Note Number |
Short Text |
---|---|
Syslog GI0 and GI2 (unable to reach central lock handler) |
|
Enqueue, remaining log entries |
|
Error when reading a lock handler file (syslog GEL) |
|
Syslog: Error when writing the lock handler file |
|
Enqueue request fails |
|
Display of enqueue logging file incorrect |
|
Enqueue: GE9, accumulated wait time for lock |
|
FM: LOG R1J=> ThAdXEnqState, reset mode <<user name...>) |
|
Enqueue queue overflow |
|
GEJ error when opening a lock handler file |
|
Unable to reach central lock handler |
|
FM: Enqueue server in trouble |
|
Locks remain |
|
Enqueue: syslog message GE9 |
|
Core dump in work process in function EnqueQueryRemote |
|
Standalone enqueue server writes to ENQBCK file |