[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Problem with ClosedByInterruptException
|
...But QueuedThreadPool would let the thread die after logging the
ClosedByInterruptException. So it must be something else wedging DNS
lookups. I'll continue investigating on my side.
On 11/17/16 10:50 AM, John Gardiner Myers wrote:
I should mention my hypothesis that this is some persistent DNS
connection, used by Java's DNS resolver code, which doesn't get closed
on ClosedByInterruptException.
On 11/17/16 10:01 AM, John Gardiner Myers wrote:
On 11/17/16 8:38 AM, Simone Bordet wrote:
So I don't think that the same pooled thread could affect other
sockets.
I think what you were experiencing were just DNS failures.
My guess is that the notification of the TimeoutException raced with
the ClosedByInterruptException, so sometimes you see one, sometimes
the other.
The thing is the ClosedByInterruptException kept recurring until the
process was restarted, whereupon it stopped. That suggests something
in the process got wedged. It also seemed to affect only one of a few
HttpClient instances.
Could you give me a clue as to how I could find out which socket the
AbstractInterruptibleChannel might be and what code processes its
exceptions? From my reading of HttpClient.newConnection(...) the DNS
failure would be happening before it creates the socket for the HTTP
connection it is trying to open.
Thank you very much for the help.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_jetty-2Dusers&d=DwICAg&c=Vxt5e0Osvvt2gflwSlsJ5DmPGcPvTRKLJyp031rXjhg&r=q9XS-DioVZXN7OIaivO8bmd7sZlV6a51ELpGujR1Dlc&m=iZAygNd6K_GeXj4JJbmJ0JK9qtoP6tcCMBYd-QID6ag&s=aPY88mytL6GR9mIiGUoRlhd6j9H_yZLIkN3VWaGJx9s&e=
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_jetty-2Dusers&d=DwICAg&c=Vxt5e0Osvvt2gflwSlsJ5DmPGcPvTRKLJyp031rXjhg&r=q9XS-DioVZXN7OIaivO8bmd7sZlV6a51ELpGujR1Dlc&m=UVp1zURa8nL6gFPEp9EYah_0pfUEF_EvT38AZhVz1Gs&s=ieyi6wedoR2CmQ0S3UNQHyiH0nwSlQMTH5ElCMCsqls&e=