You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/16 11:11:27 UTC

[GitHub] [pulsar] lifepuzzlefun opened a new issue, #18959: [enhancement][broker] Introduce thread block monitoring mechnism.

lifepuzzlefun opened a new issue, #18959:
URL: https://github.com/apache/pulsar/issues/18959

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Motivation
   
   Although it was an old story that worker threads maybe blocked by blocking operations.
   But for earlier version we still found blocking occurs in our env.
   
   I think we can just `ping` those worker thread to check if the thread is blocking by send a task in the thread task queue.
   If thread is blocking for long time, `ping` task won't be executed. so we can add an alart to notify us potential thread blocking and restart the process.
   
   This complete the current mechnism, 
   current we only have thread task queue size, complete task number by enable task tracing. 
   but they are diffcult to set an alart to justify the blocking condition and only support `OrderedExecutor`.
   
   ### Solution
   
   _No response_
   
   ### Alternatives
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #18959: [enhancement][broker] Introduce thread block monitoring mechnism.

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #18959:
URL: https://github.com/apache/pulsar/issues/18959#issuecomment-1383354757

   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org