Project

General

Profile

Actions

Task #1688

closed

Diagnose suspected interlocking of event and task scheduler executor

Added by Petr Fišer almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Petr Fišer
Category:
-
Target version:
-
Start date:
05/24/2019
Due date:
% Done:

100%

Estimated time:
Owner:

Description

When running synchronization LRT of an system (IdM in synchronous mode), I found some locking between application threads.
It may be normal because:
  • LRT creates events in the queue
  • event executor reads the queue
  • event queue is thus a shared structure between those two threads
  • locking of those two threads seemed to be only occasional (but that could be because of jvmtop 1-second sampling rate)

Screentshot attached. Note the "blocked by" column.
(Please evaluate the priority of this, I am not really sure if this is really a locking problem.)


Files

jvmtop02.png (98.7 KB) jvmtop02.png Petr Fišer, 05/24/2019 07:37 AM

Related issues

Related to IdStory Identity Manager - Feature #1690: Event queue performance enhancementNewPetr Fišer05/24/2019

Actions
Actions #1

Updated by Radek Tomiška almost 5 years ago

  • Assignee set to Petr Fišer
Actions #2

Updated by Petr Fišer over 4 years ago

  • Related to Feature #1690: Event queue performance enhancement added
Actions #3

Updated by Petr Fišer over 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

This doesn't seem to be happenning. When analysing thread performance for #1690, I did not encounter any lock whatsoever.
If this happens (because of accessing a queue) then it seems to be working as expected when accessing a shared structure.

Actions #4

Updated by Petr Fišer over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF