Project

General

Profile

Feature #7312

Restart connection manager

Added by Rob Nahf over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
d1_libclient_java
Target version:
Start date:
2015-08-24
Due date:
% Done:

0%

Story Points:
Sprint:

Description

Is there a way to restart or clear the stuck connections in the HttpClient ConnectionManager?

Occasionally, input streams are left open, blocking the client from ever reaching the target server again. When the client is a server, the ony existing solution is to restart tomcat, for example.

Most of the time, the hang is due to a coding error, so the impact of restart won't ever fix these sources. Nevertheless, for other unknown sources, a reset button would be nice.

Would a lightweight client app be able to be run that reaches into the same JVM, call the same singleton, and shutdown and replace the connection manager for a specific node?

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)