Tomcat 7.0.92 with NIO randomly resets connections
we're experiencing problem with Tomcat 7.0.92 with NIO connector which
results in randomly resetting connections by server (client receives
The problem doesn't occur with BIO connector but we need NIO to support
1) In TCP dump we see that server sends (RST, ACK) just after receiving
2) Thousands of EOFExceptions with message "Unexpected EOF read on the
socket" are recorded in JFR through 15 minutes. They come from
3) In result of "netstat -s" we see that parameter "connections reset
due to early user close" grows quickly.
4) Number of reset connections grow when server is under higher load but
the problem is still present when a load is much smaller.
Server is a virtual machine and runs on RHEL 6.10. Connections come
through LB (F5) and firewall (Palo Alto 3050).