lhotari opened a new pull request #14320:
URL: https://github.com/apache/pulsar/pull/14320


   ### Motivation
   
   Since Pulsar Admin API uses the blocking servlet API, it is possible that 
all Jetty threads are occupied and this causes unavailability on the Pulsar 
Admin API. The default value for the maximum number of threads for Jetty is too 
low in Pulsar. That is the root cause of many problems where Pulsar Admin API 
is unavailable when all threads are in use.
   
   ### Additional context
   
   Mailing list thread about "make async" changes: 
https://lists.apache.org/thread/tn7rt59cd1k724l4ytfcmzx1w2sbtw7l
   - Related issues/PRs #13666 #4756 #10619
   
   ### Modification 
   
   - Jetty defaults to 200 maximum threads, to prevent thread pool starvation. 
Make Pulsar use the same default value by setting `numHttpServerThreads=200`.
   - Update the documentation for `numHttpServerThreads`


-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to