[asterisk-bugs] [JIRA] (ASTERISK-26599) Bad startup time using local config files (3000 endpoints)

Hector Royo Concepcion (JIRA) noreply at issues.asterisk.org
Tue Nov 15 06:53:10 CST 2016


Hector Royo Concepcion created ASTERISK-26599:
-------------------------------------------------

             Summary: Bad startup time using local config files (3000 endpoints)
                 Key: ASTERISK-26599
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26599
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip
    Affects Versions: 13.11.2
            Reporter: Hector Royo Concepcion


I have an Asterisk Box configured with PJSIP, and around 3000 unqualified endpoints, configured via static config files.

Since I updated from 13.9.0 to 13.11.2 I've found that Asteriskk startup time has increased a lot (from <1min to 4-5min). CLI output shows:
{panel}
== Endpoint XXXX is now Reachable 
{panel}

For each of the 3000 endpoints, which takes a lot of time.

I've been reading the Changelog for version 13.11.2. There have been improvements to Realtime performance that may affect configurations based on local files . If I comment the following line (1449) on res/res_pjsip/pjsip_options.c:
{panel}
 //                      update_all_unqualified_endpoints();
{panel}
...my asterisk starts again in less than 1 minute, and it's fully functional.

Shouldn't this line only be executed if Realtime is used? Is it really needed for a configuration based on static local files?



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



More information about the asterisk-bugs mailing list