You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "gui (JIRA)" <ji...@apache.org> on 2016/08/01 09:20:20 UTC

[jira] [Created] (HTTPCORE-429) pool statistics don't expose all 'pending' requests

gui created HTTPCORE-429:
----------------------------

             Summary: pool statistics don't expose all 'pending' requests
                 Key: HTTPCORE-429
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-429
             Project: HttpComponents HttpCore
          Issue Type: Bug
          Components: HttpCore NIO
    Affects Versions: 4.4.5
            Reporter: gui


During a performance run i noticed that the async http client was causing OOM exceptions. 

After enabling pool statistics, i did not see a big 'queue' in the pool (the 'org.apache.http.pool.PoolStats#getPending' method always returns a small number)
However, after some memory profiling it noticed that the pool has a lot of pending leaseRequests, but those requests are not exposed in the poolstats. 

I think the org.apache.http.pool.PoolStats#getPending should also include the leaseRequest count.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org