168 words

Thread in BLOCKED state

2014-05-22 09:59


Some on my threads stay in BLOCKED state in my thread pool.

When i watch the stack trace, i see only just obfuscated object db code.

com.objectdb.o.PGC.w ( PGC.java:212 )
com.objectdb.o.SNP.D ( SNP.java:376 )
com.objectdb.o.OBI.v ( OBI.java:443 )
com.objectdb.o.OBI.s ( OBI.java:352 )
com.objectdb.o.OBI.r ( OBI.java:273 )
com.objectdb.o.OBI.Vk ( OBI.java:239 )
com.objectdb.o.BQI.Vt ( BQI.java:150 )
com.objectdb.o.SQI.Uu ( SQI.java:118 )
com.objectdb.o.PRG.ag ( PRG.java:679 )
com.objectdb.o.QRM.U6 ( QRM.java:262 )
com.objectdb.o.MST.U6 ( MST.java:959 )
com.objectdb.o.WRA.U6 ( WRA.java:291 )
com.objectdb.o.WSM.U6 ( WSM.java:113 )
com.objectdb.o.QRR.g ( QRR.java:244 )
com.objectdb.o.QRR.f ( QRR.java:153 )
com.objectdb.jpa.JpaQuery.getResultList ( JpaQuery.java:686 )

I don't know how to find the blocking problem ...

I put a query timeout ( 300000 in value ), but it doesn't seems to have any effect, the thread remain blocked.



xirt's picture
Joined on 2012-07-12
User Post #16
2014-05-22 17:58

The exact problem is not completely clear. A blocked thread is not necessarily a problem.

There is an essential synchronized statement at the end of that stack trace.

Please provide more details, and if possible also a test case to demonstrate the issue. 

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
support's picture
Joined on 2010-05-03
User Post #1,893
2014-05-26 07:58

Well ... i can't reproduce the use case ( issue on prod server ).

You can close /delete the thread if you want support.


xirt's picture
Joined on 2012-07-12
User Post #17

Post Reply

Please read carefully the posting instructions - before posting to the ObjectDB website.

  • You may have to disable pop up blocking in order to use the toolbar (e.g. in Chrome).
  • Use ctrl + right click to open the browser context menu in the editing area (e.g. for using a browser spell checker).
  • To insert formatted lines (e.g. Java code, stack trace) - select a style in the toolbar and then insert the text in the new created block.
  • Avoid overflow of published source code examples by breaking long lines.
  • You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D).
  • Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments.
Maximum file size: 32 MB