[asterisk-bugs] [JIRA] (ASTERISK-28943) Asterisk can't start with the errors media_cache_item_populate_from_astdb: Unable to obtain information for file /tmp/...

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Tue Jun 16 18:00:25 CDT 2020


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

Kevin Harwell commented on ASTERISK-28943:
------------------------------------------

Sure thing! Check out this page to get your started:

https://wiki.asterisk.org/wiki/display/AST/Gerrit+Usage

Also, the [CLI command|https://github.com/asterisk/asterisk/blob/master/main/media_cache.c#L579] I mentioned above is just a wrapper around the [ast_media_cache_delete|https://github.com/asterisk/asterisk/blob/master/include/asterisk/media_cache.h#L159] API call. So if removing the item from the cache via ARI is all that you need you can probably find how a similar call is handled and do similar.

Be sure to query the IRC channel and/or the asterisk-dev mailing list if you need any help:

http://www.asterisk.org/community/discuss

> Asterisk can't start with the errors media_cache_item_populate_from_astdb: Unable to obtain information for file /tmp/...
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28943
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28943
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 16.5.0
>            Reporter: Volodymyr Dotsenko
>            Assignee: Unassigned
>         Attachments: cache.log
>
>
> We heavily used media files that asterisk played via ARI by HTTP. As I understand asterisk caches the file in /tmp directory, and because we have a lot of such files we periodically clean the /tmp folder. The problem arises after restart the server and asterisk restart takes a very long time with error: "media_cache_item_populate_from_astdb: Unable to obtain information for file /tmp/bucket-tdh5CZ.wav for URI http://.."
> Today our asterisk is still starting already 5 hours.



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



More information about the asterisk-bugs mailing list