[asterisk-bugs] [JIRA] (ASTERISK-28567) CLONE - problem with ASTERISK-20207: Asterisk should clear out any .lock files in the voice mail directory on startup.

Michael (JIRA) noreply at issues.asterisk.org
Sat Oct 5 10:42:47 CDT 2019


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

Michael updated ASTERISK-28567:
-------------------------------

    Description: 
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.


We recently experienced a segfault while a user was accessing their voice mail messages.  This resulted in Asterisk leaving behind a .lock file in the user's voice mail directories.  This prevented them from accessing their voice mail or receiving new voice mails until we noticed it.  Can Asterisk automatically delete these lock files when it starts up?

  was:
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 find with a small amount of mailboxes, but with 7,500+ mailboxes, it takes up to 30 minutes to start.


We recently experienced a segfault while a user was accessing their voice mail messages.  This resulted in Asterisk leaving behind a .lock file in the user's voice mail directories.  This prevented them from accessing their voice mail or receiving new voice mails until we noticed it.  Can Asterisk automatically delete these lock files when it starts up?


> CLONE - 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
>      Target Release: 13.27.0, 16.4.0, 17.0.0
>
>
> 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.
> We recently experienced a segfault while a user was accessing their voice mail messages.  This resulted in Asterisk leaving behind a .lock file in the user's voice mail directories.  This prevented them from accessing their voice mail or receiving new voice mails until we noticed it.  Can Asterisk automatically delete these lock files when it starts up?



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



More information about the asterisk-bugs mailing list