[asterisk-bugs] [JIRA] (ASTERISK-26194) res_pjsip: At startup when using realtime all endpoints are retrieved

JoshE (JIRA) noreply at issues.asterisk.org
Mon Jul 18 17:49:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231473#comment-231473 ] 

JoshE commented on ASTERISK-26194:
----------------------------------

This should be rested with 13 trunk or latest RC for 13.10, which includes this patch:

[ASTERISK-26061]

As long as you are not using Unsolicited MWI ("mailboxes" defined in ps_endpoints), the startup time should be back to a few seconds.

Also, using res_odbc and not res_config_mysql (not sure how you're still doing that) would be advised.  Other changes in later 13 releases have improved ODBC performance and startup time dramatically.

> res_pjsip: At startup when using realtime all endpoints are retrieved
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-26194
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26194
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.9.1
>         Environment: debian , ubuntu, all..
>            Reporter: thomas m
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: pjsip.conf, sorcery.conf
>
>
> With asterisk realtime and pjsip asterisk loads all the endpoints on startup.  When you have over 1000 endpoints, pjsip becomes overwhelmed and crashes disabling active endpoints from authenticating and connecting.
> To replicate, create 10k endpoints, and run  asterisk -vvvvc
> all endpoints will load and see if still reachable. Short workaround is to no load res_config_mysql.so, then once asterisk boots module load res_config_mysql.so  this bypasses the pjsip show endpoints command which seems to run on startup.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list