Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2467

As we are getting a frequent locks and blocked thread are increasing in log appender in log4j

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • 2.0
    • Appenders
    • None

    Description

      "[ACTIVE] ExecuteThread: '332' for queue: 'weblogic.kernel.Default (self-tuning)'" #76478 daemon prio=5 os_prio=64 tid=0x000000011a8fc800 nid=0x4022 waiting for monitor entry [0xfffffffecc5fe000]
      java.lang.Thread.State: BLOCKED (on object monitor)
      at org.apache.log4j.Category.callAppenders(Category.java:204)

      • waiting to lock <0x00000006c395c1e8> (a org.apache.log4j.spi.RootLogger)
        at org.apache.log4j.Category.forcedLog(Category.java:391)
        at org.apache.log4j.Category.warn(Category.java:1043)
        at ibs.ngm.fi.transaction.servlets.IBSFITxnValidatorServlet.Validator(IBSFITxnValidatorServlet.java:71)
        at ibs.ngm.fi.transaction.servlets.IBSFITxnValidatorServlet.doPost(IBSFITxnValidatorServlet.java:60)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
        at xss.utilities.XSSFilter.doFilter(XSSFilter.java:41)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3701)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3667)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
        at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
        at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
        at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
        at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2443)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2291)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2269)
        at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1703)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1663)
        at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)
        at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
        at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
        at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
        at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
        at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)

      "[STANDBY] ExecuteThread: '331' for queue: 'weblogic.kernel.Default (self-tuning)'" #76477 daemon prio=5 os_prio=64 tid=0x000000010632e000 nid=0x4021 in Object.wait() [0xfffffffecc7ff000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)

      • locked <0x00000007a1adcba8> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

      "[ACTIVE] ExecuteThread: '327' for queue: 'weblogic.kernel.Default (self-tuning)'" #76476 daemon prio=5 os_prio=64 tid=0x000000012b3c5800 nid=0x4020 waiting for monitor entry [0xfffffffecd3fe000]
      java.lang.Thread.State: BLOCKED (on object monitor)
      at org.apache.log4j.Category.callAppenders(Category.java:204)

      • waiting to lock <0x00000006c395c1e8> (a org.apache.log4j.spi.RootLogger)
        at org.apache.log4j.Category.forcedLog(Category.java:391)
        at org.apache.log4j.Category.warn(Category.java:1043)
        at ibs.servlets.IBSPosNPCIRequestServlet.performTask(IBSPosNPCIRequestServlet.java:130)
        at ibs.servlets.IBSPosNPCIRequestServlet.doPost(IBSPosNPCIRequestServlet.java:109)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
        at xss.utilities.XSSFilter.doFilter(XSSFilter.java:41)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3701)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3667)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
        at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
        at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
        at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
        at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2443)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2291)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2269)
        at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1703)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1663)
        at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)
        at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
        at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
        at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
        at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
        at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)

      "[STANDBY] ExecuteThread: '326' for queue: 'weblogic.kernel.Default (self-tuning)'" #76475 daemon prio=5 os_prio=64 tid=0x000000010f59a000 nid=0x401f in Object.wait() [0xfffffffecd7ff000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)

      • locked <0x00000007a1e6fd50> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

      "[STANDBY] ExecuteThread: '323' for queue: 'weblogic.kernel.Default (self-tuning)'" #76474 daemon prio=5 os_prio=64 tid=0x000000010f98f000 nid=0x401e in Object.wait() [0xfffffffece1ff000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)

      • locked <0x00000007a1e707f8> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

      "[STANDBY] ExecuteThread: '319' for queue: 'weblogic.kernel.Default (self-tuning)'" #76473 daemon prio=5 os_prio=64 tid=0x000000010919d800 nid=0x401d in Object.wait() [0xfffffffece3ff000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)

      • locked <0x00000007a1878f80> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

      "[STANDBY] ExecuteThread: '318' for queue: 'weblogic.kernel.Default (self-tuning)'" #76472 daemon prio=5 os_prio=64 tid=0x000000011d74d000 nid=0x401c in Object.wait() [0xfffffffece5ff000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:323)

      • locked <0x00000007a18766e0> (a weblogic.work.ExecuteThread)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:383)

      Attachments

        Activity

          People

            Unassigned Unassigned
            praveeneptc praveenkumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: