Skip to content
Snippets Groups Projects
  • Mark Michelson's avatar
    287cab1a
    res_pjsip: Deny requests when threadpool queue is backed up. · 287cab1a
    Mark Michelson authored
    We have observed situations where the SIP threadpool may become
    deadlocked. However, because incoming traffic is still arriving, the SIP
    threadpool's queue can continue to grow, eventually running the system
    out of memory.
    
    This change makes it so that incoming traffic gets rejected with a 503
    response if the queue is backed up too much.
    
    Change-Id: I4e736d48a2ba79fd1f8056c0dcd330e38e6a3816
    287cab1a
    History
    res_pjsip: Deny requests when threadpool queue is backed up.
    Mark Michelson authored
    We have observed situations where the SIP threadpool may become
    deadlocked. However, because incoming traffic is still arriving, the SIP
    threadpool's queue can continue to grow, eventually running the system
    out of memory.
    
    This change makes it so that incoming traffic gets rejected with a 503
    response if the queue is backed up too much.
    
    Change-Id: I4e736d48a2ba79fd1f8056c0dcd330e38e6a3816