Skip to content
Snippets Groups Projects
  • Jonathan Rose's avatar
    6ff48319
    taskprocessor: Add high water mark warnings · 6ff48319
    Jonathan Rose authored
    If a taskprocessor's queue grows large, this can indicate that there
    may be a problem with tasks not leaving the processor or else that
    the number of available task processors for a given type of task is
    too low. This patch makes it so that if a taskprocessor's task queue
    grows above 100 queued tasks that it will emit a warning message.
    Warning messages are emitted only once per task processor.
    
    ASTERISK-25518 #close
    Reported by: Jonathan Rose
    
    Change-Id: Ib1607c35d18c1d6a0575b3f0e3ff5d932fd6600c
    6ff48319
    History
    taskprocessor: Add high water mark warnings
    Jonathan Rose authored
    If a taskprocessor's queue grows large, this can indicate that there
    may be a problem with tasks not leaving the processor or else that
    the number of available task processors for a given type of task is
    too low. This patch makes it so that if a taskprocessor's task queue
    grows above 100 queued tasks that it will emit a warning message.
    Warning messages are emitted only once per task processor.
    
    ASTERISK-25518 #close
    Reported by: Jonathan Rose
    
    Change-Id: Ib1607c35d18c1d6a0575b3f0e3ff5d932fd6600c