Summary: | ASTERISK-25518: taskprocessor: Add high water mark | ||
Reporter: | Jonathan Rose (jrose) | Labels: | |
Date Opened: | 2015-11-03 15:52:24.000-0600 | Date Closed: | 2015-11-11 07:12:53.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | 13.6.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Understanding when worker threads are blocked can be difficult at times. Due to the way that PJSIP is architected for example stuff won't just lock up but SIP traffic will start piling up. Adding a high water mark to taskprocessors would make this easier to see and debug. When the high water mark is exceeded an error/warning message can be output at an interval with the number of items in the queue. This would allow a developer to see that it keeps growing or allow a deployer to see that under their load and environment they need to allow more threads. | ||
Comments: |