Symptom
The system performance is poor and many work processes are delayed. The following symptoms can be identified:
SM66
In Work Process Monitor, the status of program SAPLSENA is 'On Hold'/'Stopped' with reason 'ENQ'.
STAD
A normal Enqueue request should take less than 2ms per call. When you search for affected tasks in STAD, the following screenshot shows a single record in detail. It shows very high Enqueue time.
SM12 -> Extras -> Diagnosis
The symptom also presents itself in SM12 -> Extras -> Diagnosis. Usually, the test should finish within 1 second. But it's very slow now.
If you collect Enqueue logs, you will find 5 seconds delays.
Enqueue log
(...)
09/02 12:54:48 22 DeqAll 3 3 SAPSYS (...)
09/02 12:54:48 23 DeqAll 3 3 SAPSYS (...)
09/02 12:54:48 24 PermVB P 2 CONTROL_M (...)
09/02 12:54:48 25 DeqAll 3 3 ITSTADM (...)
09/02 12:54:48 26 DeqAll 3 3 CONTROL_M (...) <<<< 5s delay
09/02 12:54:53 0 Enque 1 2 0 O ENQTEST 0/01 ITSTADM (...) <<<< 5s delay
09/02 12:54:53 1 DeqAll 3 3 CONTROL_M (...)
09/02 12:54:53 2 Enque 1 2 0 O ENQTEST 0/01 ITSTADM (...)
09/02 12:54:53 3 Enque 1 2 0 E EIMPLA 0/01 CONTROL_M (...)
09/02 12:54:53 4 Enque 1 2 0 R ENQTEST 0/01 ITSTADM (...)
(...)
Also if you collect dev traces of the standalone Enqueue server (ENSA), in the dev_enqio_<n> trace file you could see also
Thr 2736] *************** IO - Worker main loop *****************
[Thr 2736] Thu Sep 02 12:54:48 2017
[Thr 2736] *******************************************************
[Thr 2736] Thu Sep 02 12:54:53 2017
[Thr 2736] getRequestNoBlock: found a request in the queue IOThread_1 (total = 1)
[Thr 2736] getRequestNoBlock: read a request from queue IOThread_1 at pos 386
when ENSA has completed the enqueue operation, the worker thread sends a UDP packet to the corresponding IO thread. In this trace the IO threads sleep a full timeout interval (5 seconds) without reacting to that UDP packet.
Read more...
Environment
Antivirus software Kaspersky installed on Windows Server (May occur with other Antivirus suites)
Netweaver ABAP AS
Product
Keywords
Kaspersky, Enqueue, Gateway, Performance, Lock, ENSA, Antivirus, Windows, High Enqueue time, High lock time , KBA , SV-PERF , Performance Problems , BC-CST-EQ , Enqueue , 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.