Open StephanMa opened 1 year ago
@StephanMa we experienced a lot of locking issues in version 5.2.0 of eXist-db and I would very strongly recommend to update to a more recent version of eXist-db (5.3.1+ or even better 6.2.0).
Ah... this was quick... Alright... will do it immediately... Hopefully without much hassle
@StephanMa can we close this issue?
I still get this issues even with the latest release... Will close this with eXist 5.2 and maybe open a new one with latest eXist and a new jstack dump.
Ugh, sad to hear. Then we should keep it open and you can add the jstack here @StephanMa
eXist 6.2.0 jstack_2023-05-02.log This time with the right file :)
The jstack can tell us why a deadlock occurred, but unfortunately it is not enough to tell us where the deadlock occurred. The where is important to understand your specific use-case.
The jstack shows:
INTENTION_READ
lock on one or more Collections.WRITE
lock on a Binary Document.When the deadlock occurs, if you dump the Lock Table to a text file and attach it here (along with a fresh jstack), that will enable us to know what is happening.
At a guess - Is it possible that you tried to edit and save changes to a controller.xq(l) file whilst it was in-use by the system. This is known to cause a deadlock, and I believe there is an issue open about this perhaps already (CC @PieterLamers).
Describe the bug When working in eXists Apps (Dashboard/eXide) a deadlock occurred frequently as mentioned at the e-editiones meeting.
Expected behavior document lock gets released or error is thrown
To Reproduce It is not reproducible immediately, but working in eXide leads to deadlock quiet often.
Screenshots jstack output is attached
Context (please always complete the following information) One option is to use xst, and copy and paste the output produced by running
xst info
here:**Additional context
conf.xml
? Just changed jetty Porttimeout.log