[infinispan-issues] [JBoss JIRA] (ISPN-6926) Server hang on start

Gustavo Fernandes (JIRA) issues at jboss.org
Thu Aug 4 03:15:01 EDT 2016


    [ https://issues.jboss.org/browse/ISPN-6926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274845#comment-13274845 ] 

Gustavo Fernandes commented on ISPN-6926:
-----------------------------------------

Interestingly, the MSC service threads from Wildfly are in state RUNNABLE but clearly hung:

The Websocket server:
{noformat}
"MSC service thread 1-4" #15 prio=5 os_prio=0 tid=0x00007fbe48001000 nid=0x7ae0 in Object.wait() [0x00007fbe56f7d000]
   java.lang.Thread.State: RUNNABLE
	at io.netty.util.internal.SystemPropertyUtil.<clinit>(SystemPropertyUtil.java:38)
	at io.netty.channel.epoll.Native.<clinit>(Native.java:56)
	...
	at org.infinispan.server.websocket.WebSocketServer.startInternal(WebSocketServer.java:57)
	at org.infinispan.server.websocket.WebSocketServer.startInternal(WebSocketServer.java:36)
{noformat}

The rest server:
{noformat}
"MSC service thread 1-1" #14 prio=5 os_prio=0 tid=0x00007f73846d8000 nid=0x158 in Object.wait() [0x00007f73548e5000]
   java.lang.Thread.State: RUNNABLE
        at io.netty.util.internal.ThreadLocalRandom.<clinit>(ThreadLocalRandom.java:67)
         ...
        at org.infinispan.server.endpoint.subsystem.RestService.start(RestService.java:101)
{noformat}

Memcached server:
{noformat}
"MSC service thread 1-2" #15 prio=5 os_prio=0 tid=0x00007f731c001000 nid=0x159 in Object.wait() [0x00007f73547e3000]
   java.lang.Thread.State: RUNNABLE
        at io.netty.util.internal.SystemPropertyUtil.<clinit>(SystemPropertyUtil.java:38)
        ...
        at org.infinispan.server.memcached.MemcachedServer.startInternal(MemcachedServer.scala:22)
{noformat}

HotRod server:
{noformat}
"MSC service thread 1-3" #16 prio=5 os_prio=0 tid=0x00007f73846da000 nid=0x15b in Object.wait() [0x00007f73545e3000]
   java.lang.Thread.State: RUNNABLE
        at org.infinispan.server.core.AbstractProtocolServer.startTransport(AbstractProtocolServer.java:70)
        ...
        at org.infinispan.server.hotrod.HotRodServer.startInternal(HotRodServer.scala:112)
{noformat}


The fact that the Threads are in RUNNABLE state but hung could indicate a deadlock in a static class initialization (https://bugs.openjdk.java.net/browse/JDK-8037567)

> Server hang on start
> --------------------
>
>                 Key: ISPN-6926
>                 URL: https://issues.jboss.org/browse/ISPN-6926
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server, Test Suite - Server
>            Reporter: Gustavo Fernandes
>            Priority: Critical
>         Attachments: server, surefire
>
>
> Server testsuite is hanging with the stack attached. Arquillian starts the server, and after it does not respond, tries to kill it, and block.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list