Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23111

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

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    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>
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: