[
https://issues.apache.org/jira/browse/OFBIZ-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664165#action_12664165
]
Philippe Mouawad commented on OFBIZ-2124:
-----------------------------------------
After analysis the lock seems to come from very slow response time in
GenericDelegator.clearAllCaches and particularily in CacheLineTable.keySet.
Furthermore, looking at org.ofbiz.base.util.cache.UtilCache, the class seems to
have some synchronisation problems:
1) utilCacheTable.put calls are not synchronized
2) findCache synchronizes access to utilCacheTable while only getting an
element which has big performance impact since utilCacheTable is static
3) clearExpiredFromAllCaches and clearAllCaches does not synchronize while
clearCachesThatStartWith does, why ?
> Ofbiz freeze
> ------------
>
> Key: OFBIZ-2124
> URL: https://issues.apache.org/jira/browse/OFBIZ-2124
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release Branch 4.0
> Environment: JDK5 1.5.0_15-b04, Linux
> Reporter: Philippe Mouawad
> Priority: Critical
> Attachments: ThreadDumps.zip
>
>
> In a certain scenario the application freezes, no more AJP connector thread
> are available.
> I attach 5 Thread dump done after the freeze
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.