[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Danmeng Tu updated HTTPCLIENT-2127:
-----------------------------------
    Description: 
Recently I noticed the I/O Reactor of my application always shuts down 
unexpectedly, so I tried to remote debug my application and found shutting down 
process is triggered by CancelledKeyException, and since I'm not an expert of 
NIO therefore I did my best to assist you to diagnose the problem with thread 
dump and stacktrace attached.

Apart from that, I also attached the code of how I use HttpClient in order to 
make sure, such exception is not caused in correct usage of HttpClient.

Let me know if you need more details please.

 [^AbstractHttpClientDownloader.java] 
 [^LimitedAsyncResponseConsumer.java] 

Thank you very much.

 !Screen Shot 2020-11-05 at 23.50.46.png! 
 !Screen Shot 2020-11-05 at 23.12.44.png! 
 !Screen Shot 2020-11-05 at 23.12.53.png! 

  was:
Recently I noticed the I/O Reactor of my application always shuts down 
unexpectedly, so I tried to remote debug my application and found shutting down 
process is triggered by CancelledKeyException, and since I'm not an expert of 
NIO therefore I did my best to assist you to diagnose the problem with thread 
dump and stacktrace attached, thank you very much.
 !Screen Shot 2020-11-05 at 23.50.46.png! 
 !Screen Shot 2020-11-05 at 23.12.44.png! 
 !Screen Shot 2020-11-05 at 23.12.53.png! 


> CancelledKeyException Triggers Reactor to Shutdown
> --------------------------------------------------
>
>                 Key: HTTPCLIENT-2127
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2127
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async)
>    Affects Versions: 5.0.3
>         Environment: linux
>            Reporter: Danmeng Tu
>            Priority: Major
>         Attachments: AbstractHttpClientDownloader.java, 
> LimitedAsyncResponseConsumer.java, Screen Shot 2020-11-05 at 23.12.44.png, 
> Screen Shot 2020-11-05 at 23.12.53.png, Screen Shot 2020-11-05 at 
> 23.50.46.png, threads_report.txt
>
>
> Recently I noticed the I/O Reactor of my application always shuts down 
> unexpectedly, so I tried to remote debug my application and found shutting 
> down process is triggered by CancelledKeyException, and since I'm not an 
> expert of NIO therefore I did my best to assist you to diagnose the problem 
> with thread dump and stacktrace attached.
> Apart from that, I also attached the code of how I use HttpClient in order to 
> make sure, such exception is not caused in correct usage of HttpClient.
> Let me know if you need more details please.
>  [^AbstractHttpClientDownloader.java] 
>  [^LimitedAsyncResponseConsumer.java] 
> Thank you very much.
>  !Screen Shot 2020-11-05 at 23.50.46.png! 
>  !Screen Shot 2020-11-05 at 23.12.44.png! 
>  !Screen Shot 2020-11-05 at 23.12.53.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to