[jboss-jira] [JBoss JIRA] (JGRP-1898) FD_HOST many false suspect with Full GC

Takayoshi Kimura (JIRA) issues at jboss.org
Wed Nov 5 02:51:35 EST 2014


Takayoshi Kimura created JGRP-1898:
--------------------------------------

             Summary: FD_HOST many false suspect with Full GC
                 Key: JGRP-1898
                 URL: https://issues.jboss.org/browse/JGRP-1898
             Project: JGroups
          Issue Type: Enhancement
    Affects Versions: 3.5.1
            Reporter: Takayoshi Kimura
            Assignee: Takayoshi Kimura


Currently FD_HOST PingTask has 2 loops, ping loop and cheking timeout loop.

{code}
for (h: hosts) { ping_and_update_timestamp(host) }
current = System.currentTimeMillis();
for (h: hosts) { compare current and (ping_timestmp + timeout) }
{code}

Testing with large number of hosts, after lengthy Full GC during the ping loop, FD_HOST checks timeout and it counts the Full GC time in, sometimes causes many false suspects.

To reduce the impact of the Full GC time, we can combine the 2 loops into 1 loop, ping and checking timeout each host, so the Full GC delay only affects to a single host and never affect to other hosts.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list