Skip to main content



      Home
Home » Archived » BIRT » ReportEngine SystemCacheManager Blocked Lock Chains(BIRT Report Engine stops responding due to caching)
ReportEngine SystemCacheManager Blocked Lock Chains [message #1213473] Wed, 27 November 2013 03:51 Go to next message
Eclipse UserFriend
Hi Jason,

We are using Birt Run Time 4.2.1, and use Report Engine API to render documents - html/pdf and CSV.

On Production sometimes, the report engine stops responding, and a look at thread dump reveals that thread "Processor23" is stuck in removeCaches, and then all other threads get stuck because this method is perhaps synchronized.

It's not clear when exactly this happens, but situation is not recoverable from here. We need to restart the tomcat instance. Every request to Birt engine gets locked out, and the initial offending thread does not come out (it's native blocked, and does not look locked on any application lock)

Is this a bug in Report Engine caching, or some configuration issue. There is ample disk space, and after restart server runs quite ok.

Couldnt find anything related on forum or googling.

Thanks very much for your time.


THREAD DUMP (snippet)

"http-8000-Processor23" id=44 idx=0xf0 tid=769 prio=5 alive, native_blocked, daemon
at org/eclipse/birt/core/archive/cache/SystemCacheManager.removeCaches(SystemCacheManager.java:68)
at org/eclipse/birt/core/archive/cache/FileCacheManager.clear(FileCacheManager.java:138)
^-- Holding lock: org/eclipse/birt/core/archive/cache/SystemCacheManager@0x11cbdd220[thin lock]
^-- Holding lock: org/eclipse/birt/core/archive/cache/FileCacheManager@0x238918cc8[biased lock]
at org/eclipse/birt/core/archive/compound/v3/Ext2FileSystem.close(Ext2FileSystem.java:214)
^-- Holding lock: org/eclipse/birt/core/archive/compound/v3/Ext2FileSystem@0x238918c10[biased lock]
at org/eclipse/birt/core/archive/compound/ArchiveFileV3.close(ArchiveFileV3.java:69)
^-- Holding lock: org/eclipse/birt/core/archive/compound/ArchiveFileV3@0x238918b70[biased lock]
at org/eclipse/birt/core/archive/compound/ArchiveFile.close(ArchiveFile.java:225)
at org/eclipse/birt/core/archive/compound/ArchiveWriter.finish(ArchiveWriter.java:127)
at org/eclipse/birt/report/engine/api/impl/ReportDocumentWriter.close(ReportDocumentWriter.java:145)
at org/eclipse/birt/report/engine/api/impl/RunTask.closeReportDocument(RunTask.java:187)
at org/eclipse/birt/report/engine/api/impl/RunTask.doRun(RunTask.java:310)
at org/eclipse/birt/report/engine/api/impl/RunTask.run(RunTask.java:86)


Blocked lock chains
===================
Chain 2:
"http-8000-Processor2" id=23 idx=0x9c tid=748 waiting for org/eclipse/birt/core/archive/cache/SystemCacheManager@0x11cbdd220 held by:
"http-8000-Processor23" id=44 idx=0xf0 tid=769 in chain 1

Chain 3:
"http-8000-Processor3" id=24 idx=0xa0 tid=749 waiting for org/eclipse/birt/core/archive/cache/SystemCacheManager@0x11cbdd220 held by:
"http-8000-Processor23" id=44 idx=0xf0 tid=769 in chain 1

Chain 4:
"http-8000-Processor4" id=25 idx=0xa4 tid=750 waiting for org/eclipse/birt/core/archive/cache/SystemCacheManager@0x11cbdd220 held by:
"http-8000-Processor23" id=44 idx=0xf0 tid=769 in chain 1

Chain 5:
"http-8000-Processor5" id=26 idx=0xa8 tid=751 waiting for org/eclipse/birt/core/archive/cache/SystemCacheManager@0x11cbdd220 held by:
"http-8000-Processor23" id=44 idx=0xf0 tid=769 in chain 1

Chain 6:
"http-8000-Processor6" id=27 idx=0xac tid=752 waiting for org/eclipse/birt/core/archive/cache/SystemCacheManager@0x11cbdd220 held by:
"http-8000-Processor23" id=44 idx=0xf0 tid=769 in chain 1

Regards
Sachet

[Updated on: Wed, 27 November 2013 05:49] by Moderator

Re: ReportEngine SystemCacheManager Blocked Lock Chains [message #1219411 is a reply to message #1213473] Tue, 03 December 2013 12:16 Go to previous message
Eclipse UserFriend
I've not seen anyone have this issue before. You might log a bug in the bugzilla and see what they have to say.
Previous Topic:Sorting data
Next Topic:Displaying Legend Sum
Goto Forum:
  


Current Time: Sun Apr 27 07:35:45 EDT 2025

Powered by FUDForum. Page generated in 0.03181 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top