-
- Downloads
res_pjsip: Deny requests when threadpool queue is backed up.
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
Showing
- include/asterisk/res_pjsip.h 6 additions, 0 deletionsinclude/asterisk/res_pjsip.h
- include/asterisk/taskprocessor.h 6 additions, 0 deletionsinclude/asterisk/taskprocessor.h
- include/asterisk/threadpool.h 6 additions, 0 deletionsinclude/asterisk/threadpool.h
- main/taskprocessor.c 3 additions, 6 deletionsmain/taskprocessor.c
- main/threadpool.c 5 additions, 0 deletionsmain/threadpool.c
- res/res_pjsip.c 5 additions, 0 deletionsres/res_pjsip.c
- res/res_pjsip/pjsip_distributor.c 13 additions, 1 deletionres/res_pjsip/pjsip_distributor.c
Loading
Please register or sign in to comment