[asterisk-bugs] [JIRA] (ASTERISK-26724) Hints appear to not expire properly resulting in duplicates
Zach R (JIRA)
noreply at issues.asterisk.org
Tue Jan 17 12:01:10 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-26724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234674#comment-234674 ]
Zach R commented on ASTERISK-26724:
-----------------------------------
Currently we are running GIT version GIT-13-139d86c from the branch 13.
> Hints appear to not expire properly resulting in duplicates
> -----------------------------------------------------------
>
> Key: ASTERISK-26724
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26724
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip_pubsub
> Affects Versions: 13.0.0
> Environment: CentOS 6.6 Final
> Reporter: Zach R
> Assignee: Unassigned
> Severity: Minor
>
> We have one serve that is running asterisk 13 in production. Once in the past we had noticed one day due to a reported trouble, that a couple hints were in the thousands for the number of watchers they had. This had been causing trouble due to maxing of bandwidth for this instance.
> Temporarily this was resolved by removing the hint and re-adding the hint with dialplan reloads, letting the endpoints resubscribe to bring it to the proper amount of watchers. Once this occurred we had set a shell script that dumps the subscriptions from the asterisk database as well as the hints via core show hints so we could see if it continued to increase again.
> Some of the subscriptions that were present in the database had been old, and duplicates of a present subscription based on the subscription persistence tokens. Basically for the duplicates there was one that would be expiring earlier than the second (though the timestamps did not appear to be updates as in issue [#26696|https://issues.asterisk.org/jira/browse/ASTERISK-26696].
> Recently this started to happen again on the same server showing it slowly increased for two different sets of hints. The first set increased by 1 for each phone that the endpoint was watching and the subscription persistence showed duplicates for 1 endpoint having the 2nd subscription. The duplicates showed the first subscription was around 4 AM when we have our phones resync their configurations for Cisco SPA series phones. The second sub of the duplicate set was around 10 AM that morning and both appeared to be active.
> The second set had increased by two watchers for each. With the first 2 being ones that should have expired.
> [Here is a gist|https://gist.github.com/ZRothy1/30ebabf3decd74ae604c431d017319fc] which contains the subs and hint output for each day where the watchers increased. Each set has 3 files, with the first set being the hints that increased by one, and the second being the one that increased by two.
> * hints - Contains the output of core show hints for with the set in question isolated. This is a diff of the files with the removed lines being the day before and the added lines being the day after it.
> * subscription_persistence - Contains the subscription_persistence tokens from the AST DB for the set which match up the hints
> * duplicates_subscriptions - Contains just the subscription_persistence tokens that appeared to be duplicate and active.
> If any additional logging is needed such as a sip debug to one of the duplicate subscriptions it can be gotten as well.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list