You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (Jira)" <ji...@apache.org> on 2022/07/26 12:35:00 UTC
[jira] [Resolved] (HTTPCORE-720) High CPU usage noticed for Slow writing clients
[ https://issues.apache.org/jira/browse/HTTPCORE-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCORE-720.
----------------------------------------
Fix Version/s: 4.4.16
Resolution: Fixed
[~sanojpunchihewa] Please verify the fix:
https://github.com/apache/httpcomponents-core/commit/a7ecbc3eaa8b210cb6ffbf2671c875690f2a3bb6
Oleg
> High CPU usage noticed for Slow writing clients
> -----------------------------------------------
>
> Key: HTTPCORE-720
> URL: https://issues.apache.org/jira/browse/HTTPCORE-720
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore NIO
> Affects Versions: 4.4.15
> Reporter: Sanoj Punchihewa
> Priority: Minor
> Fix For: 4.4.16
>
> Attachments: HttpNIOTestServer.jar, HttpNIOTestServer.zip, testclient 2.zip, testclient.jar
>
>
> In httpCore NIO v4.4.15, we can observe a CPU spinning condition when a slow writing client sends a HTTPS GET request with a large payload. I have attached a sample HTTP server and a client to reproduce this issue.
> I tried this scenario with the fix [1] as well. Still, this issue was there in java 1.8.0_312.
> Could you please look into this?
> [1]-https://issues.apache.org/jira/browse/HTTPCORE-716
> Thanks,
> Sanoj
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org