ywkaras commented on issue #7546:
URL: https://github.com/apache/trafficserver/issues/7546#issuecomment-785425829


   One thing I'm seeing is that, when one thread is blocked waiting on this 
memory allocation:  
https://github.com/apache/trafficserver/blob/564663b9b6888c8334ec8077b5583da9b192c3c2/proxy/logging/LogObject.cc#L399
 , any other  thread trying to reserve (checkout) will keep getting the return 
value LB_RETRY from LogBuffer::writer_checkout(), and will thus busy wait.  So 
we could be indirectly seeing the memory allocation blocking problem.  If this 
is the case, it would likely help to execute a thread yield when the LB_RETRY 
return value is returned.
   
   I think I need to reproduce the problem with a baseline build, then see if 
this change improves things.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to