Could you describe how you are using the database?

The stacktrace is consistent with application code not ending a read transaction.

    Andy

On 16/07/2023 21:55, Jean-Marc Vanel wrote:
It is Jena 4.8.0 .

Jean-Marc Vanel
<http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me>
+33
(0)6 89 16 29 52


Le dim. 16 juil. 2023 à 21:53, Andy Seaborne <[email protected]> a écrit :

https://github.com/apache/jena/issues/1499

Are you are using 4.6.0?

      Andy

On 16/07/2023 14:54, Jean-Marc Vanel wrote:
Every few weeks, I get this stack, and the database is unusable
afterwards.
Is there some "purge" to call now and then ?

java.lang.Error: Maximum lock count exceeded
          at

java.base/java.util.concurrent.locks.ReentrantReadWriteLock$Sync.fullTryAcquireShared(ReentrantReadWriteLock.java:535)
          at

java.base/java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(ReentrantReadWriteLock.java:494)
          at

java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1323)
          at

java.base/java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(ReentrantReadWriteLock.java:738)
          at

org.apache.jena.dboe.storage.system.DatasetGraphTxnCtl.beginMultiMode(DatasetGraphTxnCtl.java:334)
          at

org.apache.jena.dboe.storage.system.DatasetGraphTxnCtl.tryNonExclusiveMode(DatasetGraphTxnCtl.java:252)
          at

org.apache.jena.dboe.storage.system.DatasetGraphTxnCtl.enterTransaction(DatasetGraphTxnCtl.java:110)
          at

org.apache.jena.dboe.storage.system.DatasetGraphTxnCtl.begin(DatasetGraphTxnCtl.java:74)
          at

org.apache.jena.dboe.storage.system.DatasetGraphTxnCtl.begin(DatasetGraphTxnCtl.java:99)
          at
org.apache.jena.sparql.core.DatasetImpl.begin(DatasetImpl.java:120)

Jean-Marc Vanel
<
http://semantic-forms.cc:1952/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me

+33 (0)6 89 16 29 52
Twitter: @jmvanel , @jmvanel_fr
   Chroniques jardin
<
http://semantic-forms.cc:1952/history?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FChronicle




Reply via email to