Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12918

Rest stats requests block the Netty IO thread

    XMLWordPrintable

Details

    Description

      SINGLE_PORT-ServerIO-3-15:
          at jdk.internal.misc.Unsafe.park(Unsafe.java:-2)
          at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
          at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1796)
          at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3128)
          at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1823)
          at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2043)
          at org.infinispan.stats.impl.ClusterCacheStatsImpl.updateStats(ClusterCacheStatsImpl.java:118)
          at org.infinispan.stats.impl.AbstractClusterStats.fetchClusterWideStatsIfNeeded(AbstractClusterStats.java:117)
          at org.infinispan.stats.impl.ClusterCacheStatsImpl.getReadWriteRatio(ClusterCacheStatsImpl.java:274)
          at org.infinispan.stats.impl.CorePackageImpl$$Lambda$392/0x0000000840311840.apply(null:-1)
          at org.infinispan.factories.impl.MBeanMetadata$AttributeMetadata.lambda$getter$0(MBeanMetadata.java:137)
          at org.infinispan.factories.impl.MBeanMetadata$AttributeMetadata$$Lambda$553/0x0000000840493440.get(null:-1)
          at org.infinispan.metrics.impl.MetricsCollector.lambda$registerMetrics$0(MetricsCollector.java:139)
          at org.infinispan.metrics.impl.MetricsCollector$$Lambda$561/0x0000000840495440.getValue(null:-1)
          at io.smallrye.metrics.exporters.OpenMetricsExporter.createSimpleValueLine(OpenMetricsExporter.java:492)
          at io.smallrye.metrics.exporters.OpenMetricsExporter.exposeEntries(OpenMetricsExporter.java:192)
          at io.smallrye.metrics.exporters.OpenMetricsExporter.getEntriesForScope(OpenMetricsExporter.java:158)
          at io.smallrye.metrics.exporters.OpenMetricsExporter.exportAllScopes(OpenMetricsExporter.java:109)
          at io.smallrye.metrics.MetricsRequestHandler.handleRequest(MetricsRequestHandler.java:116)
          at io.smallrye.metrics.MetricsRequestHandler.handleRequest(MetricsRequestHandler.java:73)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dberinde@redhat.com Dan Berindei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: