[asterisk-bugs] [JIRA] (ASTERISK-25475) PJSIP tab completion of 'pjsip show endpoint' results in query storm and takes a very long time
Carl Fortin (JIRA)
noreply at issues.asterisk.org
Wed Feb 15 14:26:10 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-25475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235231#comment-235231 ]
Carl Fortin commented on ASTERISK-25475:
----------------------------------------
I'm running 14.2.1 and the pjsip show endpoint with tab completion makes the CPU go to a 100 % and the asterisk console stop responding.
I would be very careful with tab completion on a production system, because in my case I have to restart asterisk to fix the problem.
I have about 1200 endpoints in ps_endpoints.
> PJSIP tab completion of 'pjsip show endpoint' results in query storm and takes a very long time
> -----------------------------------------------------------------------------------------------
>
> Key: ASTERISK-25475
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25475
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Channels/chan_pjsip, Resources/res_pjsip
> Affects Versions: 13.6.0
> Environment: linux 64bit
> kernel 3.10.17
> distro slackware64 14.1
> pjproject 2.4.5
> asterisk 13.6.0
> Reporter: mdu113
> Severity: Minor
>
> If I type "pjsip show endpoint" in the console and then
> press "Tab" asking for name completion then asterisk hangs for over a minute and I register over 300 queries like this in the db log:
>
> SELECT * FROM pjsip_endpoints_v WHERE id LIKE '%' ORDER BY id
> At the moment of test I have 173 endpoints in the database.
> Issue was commented by Matthew Jordan here:
> http://lists.digium.com/pipermail/asterisk-dev/2015-October/075127.html
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list