[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/...

Sean Bright (JIRA) noreply at issues.asterisk.org
Fri Jun 12 15:07:25 CDT 2020


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

Sean Bright commented on ASTERISK-28943:
----------------------------------------

Tested with 50k and it took about 40 minutes for Asterisk to start. I think the performance would generally be the same regardless of if the cache files exist or not.

> 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