Fabric8 HTTP gateway leaves large numbers of sockets in TIME_WAIT state
Issue
When the HTTP gateway closes its connection to a service to which it is routing requests, a socket is left in the TIME_WAIT state. Under high load, the number of such sockets can reach an operating system limit, and the service will fail. You may see messages about limited file descriptors, or the more cryptic exception:
java.net.SocketException: Cannot assign requested address
Environment
- Red Hat JBoss Fuse
- 6.1
- 6.2
- 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.