On 05/03/18 21:29, Mark Thomas wrote:
> On 05/03/18 16:42, Prakash Saraf wrote:
>> Hi Team,
>>
>> We are observing the high CPU utilization often in our sandbox and
>> production environment. We are using Tomcat 8.5.16 with APR native 1.2.10.
>>
>> It looks, the Poller thread is going in infinite loop while adding sockets
>> which are waiting to the poller.  java/org/apache/tomcat/util/
>> net/AprEndpoint.java
>> <https://github.com/apache/tomcat/commit/890e2eb275b3654a38151b95caf16a605870b49f#diff-9be40df1998776b10f47c3351f31a9b5>
>> -
>> Line#1605, within the loop, if socket wrapper is found null, code simply
>> continues without fetching the next SocketInfo from list (which is done in
>> end of while loop). This seems to throw the server in infinite loop.
>>
>>
>> Shouldn't we be pulling the next info from list? Can someone please take a
>> look and suggest if my understanding is correct?
> 
> Yes, you are correct. I'll get that fixed shortly.

I've fixed this but unfortunately the next set of releases were tagged
this morning so the fix won't be available until 9.0.7 / 8.5.30 which -
unless the current releases fail for some reason - most likely won't be
available until early next month.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to