[asterisk-bugs] [JIRA] (ASTERISK-30181) HTTP AMI sessions doesn't get purged fast enough (or at all)

Jaco Kroon (JIRA) noreply at issues.asterisk.org
Mon Aug 15 16:35:08 CDT 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-30181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaco Kroon updated ASTERISK-30181:
----------------------------------

    Regression: No  (was: Yes)

> HTTP AMI sessions doesn't get purged fast enough (or at all)
> ------------------------------------------------------------
>
>                 Key: ASTERISK-30181
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30181
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/ManagerInterface
>    Affects Versions: 18.13.0
>            Reporter: Jaco Kroon
>
> https://community.freepbx.org/t/solved-pjsip-service-unavailable/81416/41?page=3 relates.
> Looking at the code the moment one opens sessions faster than once every 5s the session purging code will never catch up.
> It should be noted that according to my testing that if one does send and explicit logoff for the session the session is correctly closed and all is normal, as such, a very simple fix is to just issue a /arawman?action=logoff (assuming you're using the http authenticated raw manager as we are).
> In spite of a simple workaround being available, should that logoff not happen, this results in an eventual denial of service on asterisk, and excessive memory use, and in the worst case as described on the relevant link, a potential (self inflicted) denial of service.



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



More information about the asterisk-bugs mailing list