Summary: | ASTERISK-25486: res_pjsip: Fix deadlock when validating URIs | ||
Reporter: | Joshua C. Colp (jcolp) | Labels: | |
Date Opened: | 2015-10-21 11:45:11 | Date Closed: | 2015-10-23 06:50:56 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_pjsip |
Versions: | 13.6.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | In a realtime based system with a limited number of threadpool threads it is possible for a deadlock to occur. This happens when permanent endpoint state is updated, which will cause database queries to be done. These queries may result in URI validation being done which is done synchronously using a PJSIP thread. If all PJSIP threads are in use processing traffic they themselves may be blocked waiting to get the permanent endpoint container lock when identifying an endpoint. | ||
Comments: |