Files
asterisk/include/asterisk
Richard Mudgett 610eee2a36 taskprocessors: Implement high/low water mark alerts.
When taskprocessors get backed up, there is a good chance that we are
being overloaded and need to defer adding new work to the system.

* Implemented a high/low water alert mechanism for modules to check if the
system is being overloaded and take appropriate action.  When a
taskprocessor is created it has default congestion levels set.  A
taskprocessor can later have those congestion levels altered for specific
needs if stress testing shows that the taskprocessor is a symptom of
overloading or needs to handle bursty activity without triggering an
overload alert.

* Add CLI "core show taskprocessor" low/high water columns.

* Fixed __allocate_taskprocessor() to not use RAII_VAR().  RAII_VAR() was
never a good thing to use when creating a taskprocessor because of the
nature of how its references needed to be cleaned up on a partial
creation.

* Made res_pjsip's distributor check if the taskprocessor overload alert
is active before placing a message representing brand new work onto a
distributor serializer.

ASTERISK-26088
Reported by:  Richard Mudgett

Change-Id: I182f1be603529cd665958661c4c05ff9901825fa
2016-06-07 18:57:36 -05:00
..
2016-04-08 12:50:58 -06:00
2015-04-12 13:48:10 -05:00
2014-07-24 17:50:46 +00:00
2006-11-15 20:55:17 +00:00
2013-07-25 04:06:32 +00:00
2013-08-22 18:52:41 +00:00
2016-03-24 09:29:07 -05:00
2015-08-07 14:55:53 -05:00
2016-04-08 12:50:58 -06:00
2013-08-30 20:58:59 +00:00
2014-07-04 13:26:37 +00:00
2013-07-03 17:58:45 +00:00
2014-01-06 17:45:25 +00:00
2015-01-26 14:49:32 +00:00
2014-07-21 08:41:29 +00:00
2015-11-24 13:54:54 -06:00