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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 19 16:33:01 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-01-15 15:23 CST
Last Modified:              2009-02-19 16:33 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
====================================================================== 

---------------------------------------------------------------------- 
 (0100411) svnbot (reporter) - 2009-02-19 16:33
 http://bugs.digium.com/view.php?id=14253#c100411 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 177537

_U  trunk/
U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r177537 | tilghman | 2009-02-19 16:33:00 -0600 (Thu, 19 Feb 2009) | 14
lines

Merged revisions 177536 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r177536 | tilghman | 2009-02-19 16:26:01 -0600 (Thu, 19 Feb 2009) | 7
lines
  
  Fix up potential crashes, by reducing the sharing between interactive
and non-interactive threads.
  (closes issue http://bugs.digium.com/view.php?id=14253)
   Reported by: Skavin
   Patches: 
         20090219__bug14253.diff.txt uploaded by Corydon76 (license 14)
   Tested by: Skavin
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=177537 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-19 16:33 svnbot         Checkin                                      
2009-02-19 16:33 svnbot         Note Added: 0100411                          
======================================================================




More information about the asterisk-bugs mailing list