-
1. Re: JGroups UDP multicast issue in WildFly
pferraro Jan 28, 2020 7:51 AM (in response to valsaraj007)Logs?
-
2. Re: JGroups UDP multicast issue in WildFly
pferraro Jan 28, 2020 9:56 AM (in response to pferraro)Which WF version is this? Which OS/JDK?
-
3. Re: JGroups UDP multicast issue in WildFly
valsaraj007 Jan 28, 2020 10:06 AM (in response to pferraro)We are using WildFly-8.2.1 and JDK 8 on CentOS 7.
This was working fine but after when we restarted this issue started. It looks like some limit related to UDP multicast. When we start 4 nodes, first nodes are success and last ones failed. This happens to all nodes based on the order we start.
I check switching from UDP to TCP, then there was no error.
But when switched back to UDP issue started again.
Any thoughts?
-
4. Re: JGroups UDP multicast issue in WildFly
valsaraj007 Jan 29, 2020 1:04 AM (in response to pferraro)Is there any kind on limit with UDP communication? Any related settings we need to check in OS or WildFly?
-
5. Re: JGroups UDP multicast issue in WildFly
pferraro Jan 29, 2020 8:18 AM (in response to valsaraj007)8.2.1 is ancient. Can you try with a recent version? You are likely running into an issue with channel lifecycle, which is very likely resolved in a newer release.
-
6. Re: JGroups UDP multicast issue in WildFly
valsaraj007 Jan 29, 2020 8:34 AM (in response to pferraro)We were running with this for 3 years and without any change, this issue started by this week.
Even after clean restart after deleting data and tmp, the same issue comes.
Checked setting max owners for EJB dist cache as 1 so that it wont transfer state via UDP, so the issue fixed.
The web dist cache have no issue with owners 2.
Would you clarify what is channel lifecycle issue?
Any work around to check?
Another thing is that it works fine when changed from udp to tcp.
Thanks!
-
7. Re: JGroups UDP multicast issue in WildFly
pferraro Jan 29, 2020 9:10 AM (in response to valsaraj007)1 of 1 people found this helpfulIf I had to guess, it sounds like your network is dropping multicast packets. Use TCP instead.
WF8 was the first release to use fork channels (i.e. multiple services sharing the same JGroups channel). It took a few releases to work out the kinks.
However, given that your application worked fine for 3 years, I suspect your switch is to blame. Try restarting it.