When configuring Cross-Site on OCP with operator and LoadBalancer on AWS (probably, will occur on Azure and other cloud platforms) there are a large number of stack traces places inside Pod logs
07:51:13,524 WARN (TcpServer.Acceptor[7900]-2,relay-global,_example-infinispan-1-11053:site1) [org.jgroups.protocols.TCP] JGRP000006: failed accepting connection from peer Socket[addr=/10.131.0.1,port=11781,localport=7900]: java.io.EOFException java.io.EOFException at java.base/java.io.DataInputStream.readFully(DataInputStream.java:202) at org.jgroups.blocks.cs.TcpConnection.readPeerAddress(TcpConnection.java:247) at org.jgroups.blocks.cs.TcpConnection.<init>(TcpConnection.java:53) at org.jgroups.blocks.cs.TcpServer$Acceptor.handleAccept(TcpServer.java:126) at org.jgroups.blocks.cs.TcpServer$Acceptor.run(TcpServer.java:111) at java.base/java.lang.Thread.run(Thread.java:834)
The reason for these logs that's AWS/OCP pings LoadBalancer with probe each time with interval.
It would be nice to have a property (in TCP protocol?) to disable the logging in here: https://github.com/belaban/JGroups/blob/master/src/org/jgroups/blocks/cs/TcpServer.java#L101
Something like:
<TCP logAcceptError=false>
if (logAcceptError) log.warn(Util.getMessage("AcceptError"), client_sock, ex);
- relates to
-
ISPN-12597 Disable JGroups error JGRP000006 stacktrace when configuring xsite on OCP and AWS LB
- Closed