This issue has been created
There are 7 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-2a87c3b4-0718-45ce-8198-1e3a79709948 XWIKI-23111 Closed

Random "Unable to acquire lock after 10 seconds" on the template cache in case of important load

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-38dcbea4-7c8f-4159-932e-00579a78907b Thomas Mortagne created this issue on 15/Apr/25 15:41
 
Summary: Random "Unable to acquire lock after 10 seconds" on the template cache in case of important load
Issue Type: cid:jira-generated-image-avatar-2a87c3b4-0718-45ce-8198-1e3a79709948 Bug
Affects Versions: 16.10.5
Assignee: Unassigned
Components: Web - Templates & Resources
Created: 15/Apr/25 15:41
Priority: cid:jira-generated-image-static-major-6721f734-a5b9-4c07-a31d-785370bd9795 Major
Reporter: Thomas Mortagne
Description:

On xwiki.org, we had a lot of threads blocked waiting for a lock help by no thread.

Increasing the acquire-timeout of the "templates" cache (as suggested on https://stackoverflow.com/questions/35711423/how-to-fix-unable-to-acquire-lock-after-15-seconds-errors-in-wildfly) seems to have helped a lot:

     <!-- Try to workaround bad concurrent handling in Infinispan in case of important load -->
     <local-cache-configuration name="templates">
       <locking acquire-timeout="60000"/>
     </local-cache-configuration>
 
 

7 updates

 
cid:jira-generated-image-avatar-38dcbea4-7c8f-4159-932e-00579a78907b Changes by Thomas Mortagne on 15/Apr/25 15:42
 
Fix Version: 16.10.6
Fix Version: 17.3.0-rc-1
Documentation in Release Notes: N/A
Documentation: N/A
Assignee: Thomas Mortagne
Resolution: Fixed
Status: Open Closed