English is not my native language, please excuse typing errors.
I use jmeter to test a gateway named Zuul1, its underlying use HttpClient.
When I set 1000 threads and loop infinite, after a while, the request is stuck, 
and never come back to normal.
I found the reason is, there is a variable named leased in AbstractConnPool, 
and it reached the MaxPerRoute limit.
And furthermore, it seems like because the timeout set by Zuul interrupt 
HttpClient thread, so HttpClient have no chance to release the leased. 
I try to clear timeout leased when pool.getFree(state) method return null, and 
this is ok then.
I want to know is there better way to solve this problem?

Reply via email to