[asterisk-bugs] [JIRA] (ASTERISK-24052) Imap voicemail support. Voicemail reload issue

Louis Jocelyn Paquet (JIRA) noreply at issues.asterisk.org
Thu Jul 17 10:23:56 CDT 2014


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

Louis Jocelyn Paquet updated ASTERISK-24052:
--------------------------------------------

    Attachment: Issue24052

This is the log in debut. File is long since I reproduce the issue and keep the debug running until the imap connection fall into close wait.

Final result on server
[root at voip5b asterisk]# netstat -ap |grep imap
tcp      144      0 192.168.101.21:48309        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48303        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48311        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48307        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48313        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48308        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48304        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48314        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp        0      0 192.168.101.21:48316        199.231.220.27:imap         ESTABLISHED 20404/asterisk
tcp      144      0 192.168.101.21:48310        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48301        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48306        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48305        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48300        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48312        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk
tcp      144      0 192.168.101.21:48315        199.231.220.27:imap         CLOSE_WAIT  20404/asterisk

(Restricted to JIRA Users group)
> Imap voicemail support. Voicemail reload issue
> ----------------------------------------------
>
>                 Key: ASTERISK-24052
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24052
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail/IMAP
>    Affects Versions: 1.8.22.0
>         Environment: Free pbx distro
>            Reporter: Louis Jocelyn Paquet
>            Assignee: Louis Jocelyn Paquet
>            Severity: Minor
>         Attachments: Issue24052
>
>
> When we do a voicemail reload, the application is recreating new IMAP connection whithout closing the active one. This is resulting with extra open connection. After about 30 minutes, the old connections moving in states close_wait and stay like this until we restart asterisk.
> For my production server with 65 users using IMAP storage vor voicemail, this is resulting with 65 extra IMAP connections every time we do an apply. So after 1 week, we got all IMAP TCP socket use and we need to restart Asterisk because the server cannot establish new IMAP connections.



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



More information about the asterisk-bugs mailing list