[asterisk-bugs] [Asterisk 0014253]: [patch] app_voicemail leaves sockets in close wait.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 4 17:22:14 CST 2009


The following issue is now READY FOR TESTING. 
====================================================================== 
http://bugs.digium.com/view.php?id=14253 
====================================================================== 
Reported By:                Skavin
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   14253
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.21.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-15 15:23 CST
Last Modified:              2009-02-04 17:22 CST
====================================================================== 
Summary:                    [patch] app_voicemail leaves sockets in close wait.
Description: 
app_voicemail is not closing imap sockets and they are going into
CLOSE_WAIT.
I am using imap-2006j
open files seem to go up during busy times but never drop.
my asterisk-vm process does not notify it is only there to isolate
recording and playback of voice mail from the rest of asterisk.
my asterisk process forwards to asterisk-vm in the case of busy/noanswer
or checking voicemail.
in 50 hours I have generated 
836 handles in CLOSE_WAIT all to imap
33 handles in ESTABLISHED 1 mysql 32 imap
12 udp handles
====================================================================== 

---------------------------------------------------------------------- 
 (0099465) Corydon76 (administrator) - 2009-02-04 17:22
 http://bugs.digium.com/view.php?id=14253#c99465 
---------------------------------------------------------------------- 
After reviewing it further, I think I may be able to patch this up a bit. 
See attached. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-04 17:22 Corydon76      Note Added: 0099465                          
2009-02-04 17:22 Corydon76      Assigned To               => Corydon76       
2009-02-04 17:22 Corydon76      Status                   feedback => ready for
testing
2009-02-04 17:22 Corydon76      Summary                  app_voicemail leaves
sockets in close wait. => [patch] app_voicemail leaves sockets in close wait.
======================================================================




More information about the asterisk-bugs mailing list