[asterisk-bugs] [JIRA] (ASTERISK-28567) Problem with ASTERISK-20207: Asterisk should clear out any .lock files in the voice mail directory on startup.
Sean Bright (JIRA)
noreply at issues.asterisk.org
Mon Oct 7 12:47:48 CDT 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Bright updated ASTERISK-28567:
-----------------------------------
Comment: was deleted
(was: [~ringo], can you test the attached patch [^0001-WIP.patch] against Asterisk 13 and see if there is any speed improvement?)
> Problem with ASTERISK-20207: Asterisk should clear out any .lock files in the voice mail directory on startup.
> --------------------------------------------------------------------------------------------------------------
>
> Key: ASTERISK-28567
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28567
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Applications/app_voicemail
> Affects Versions: 13.28.0, 16.5.0
> Environment: debian9 realtime odbc mysql
> Reporter: Michael
> Assignee: Unassigned
>
> While attempting upgrade from vcertified-13 to v13.28.1 or to v16.5.1, asterisk takes a really long time to start. It stops after loading app_voicemail. No logging or debug indicates what is wrong. While strace'ing the pid, i see asterisk is traversing the voicemail directory. This lead me to ASTERISK-20207. Clear out any lock files on startup. This probably works fine with a small amount of mailboxes, but with 7,500+ mailboxes, it takes up to 30 minutes to start.
> after commenting out the call in :
> static int load_module(void)
> ...
> /* Now that we have a spool directory, clean up old lock files */
> /* cleanup_orphaned_lock_files(VM_SPOOL_DIR); */
> ...
> and recompiling, asterisk starts up right away.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list