Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-5407

Contention around subsystem proxy, possibly when auditing is turned on

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4.5
    • Component/s: Repository
    • Labels:
      None
    • Bug Priority:
      Category 2

      Description

      Hi ,

      Customer on 3.4.0.3.
      Undersized VM w/ single core @2.4Ghz

      I recently saw in thread dumps this attached stack, which looks similar to those fixed recently (like ALF-7064).
      It looks like there is a contention around the subsystem proxy when auditing is turned on.

      Even though i believe it's not currently their main bottleneck, i saw quite a few blocked threads with a similar stack (shortened) :

      org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingletonNames()
      org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(Class, boolean, boolean)
      org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(Class, boolean, boolean)
      org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(Class)
      org.springframework.context.support.AbstractApplicationContext.getBeansOfType(Class)
      org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(MethodInvocation)
      org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()
      org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Object, Method, Object[])
      $Proxy4.getAllowWrite()
      org.alfresco.repo.transaction.TransactionServiceImpl.isReadOnly()
      org.alfresco.repo.audit.AuditComponentImpl.areAuditValuesRequired()

      I'll attach the full stack to the Jira.

      We've only had time to gather one snapshot, towards the end of the meeting.

      Let me know what you think,
      Cheers,
      Romain.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                rguinot Romain Guinot
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour
                  1d 1h

                    Structure Helper Panel