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

thomas m (JIRA) noreply at issues.asterisk.org
Fri Jul 15 05:42:56 CDT 2016


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

thomas m commented on ASTERISK-26194:
-------------------------------------

endpoint straight from the db, mailbox not set.
everything works fine if the following bypass is taken.
noload mysql driver in modules.conf, start asterisk, manually load the mysql driver. it has to be the 'pjsip show endpoints' being loaded and overwhelmed on startup
id						transport 			aors				auth  				context 			   disallow 		allow			direct_media	force_rport			rtp_symmetric
'100', 					'transport-udp', 	'100', 				'100', 			'custom-out', 				'all', 	'g729;ilbc;gsm;ulaw;alaw', 'no', '', '','', 'yes', 		'', , 'yes', '', 

> 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: thomas m
>         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