-
Enhancement
-
Resolution: Done
-
Major
-
EAP64 1.6.1.GA
-
CLOUD Maintenance Sprint 15
KUBE_PING uses HttpURLConnection but not fully read err stream nor close streams and calling disconnect().
It makes a lot of CLOSE_WAIT connections, they remain until GC and leads "Too many open files" errors. This is pretty common pitfall, we can see a lot of artcles by searching HttpURLConnection and CLOSE_WAIT on the internet.
https://docs.oracle.com/javase/8/docs/api/java/net/HttpURLConnection.html
It'd be better to close them rather than relying on the error-prone pooling.
- is cloned by
-
CLOUD-2288 [EAP70] KUBE_PING produces many CLOSE_WAIT connections
- Closed
- is related to
-
CLOUD-2360 Update to latest openshift-ping build 1.2.1.Final
- Verified