Bug 5511 - Review synchronization in MJFS.createManagedJob()
: Review synchronization in MJFS.createManagedJob()
Status: CLOSED FIXED
: GRAM
wsrf managed job factory service
: unspecified
: Macintosh All
: P3 normal
: 4.0.6
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-08-30 11:37 by
Modified: 2007-11-30 22:55 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-08-30 11:37:02
The creation of a job resource is synchronized. There had been
some very rare issues where a service thread creating a managed
job resource kept stuck and blocked subsequent threads an caused
all available service threads to be consumed. This finally caused
the container to keep stuck.
This synchronization seems to be unnecessary. However, if we
remove the synchronization here we must take care that access to
the idempotence id map managed in MEJHome is synchronized properly.
------- Comment #1 From 2007-11-30 22:54:58 -------
Access to the idempotence id map is properly synchronized.
I ran about 4-5 condor-g tests each with 1000 concurrent
jobs with removed synchronization without problems and
committed the change to the 4.0 branch.