[ 
https://issues.apache.org/jira/browse/HTTPASYNC-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551601#comment-16551601
 ] 

Battula Kishore commented on HTTPASYNC-141:
-------------------------------------------

After debugging further we found that because of an OutOfMemoryException in I/O 
dispatcher threads they are getting killed. The pending requests kept on 
increasing as no I/O dispatcher thread exists for processing the request.

Is there a way to timeout these pending requests/bound the number of requests 
in pending state?

> Requests get hung after some time
> ---------------------------------
>
>                 Key: HTTPASYNC-141
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-141
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>            Reporter: Battula Kishore
>            Priority: Major
>
> We are using http async library for making out bound requests. After sometime 
> the request requests get hung. They neither return success nor failure. They 
> are going into some hung state.
>  
> We have configured max connections to 1000 and max connections per host also 
> 1000. 
> We are using CloseableHttpAsyncClient.
> We have 60 seconds as socket timeout and connection timeout.
> We will always connect to 1 host only.
> We have enabled debug log and we hardly use more than 20 connections at any 
> point of time.
> We are using 4.1.3 version of httpasyncclient 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to