[asterisk-bugs] [Asterisk 0014253]: [patch] app_voicemail leaves sockets in close wait.
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Feb 19 15:38:00 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: 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-19 15:38 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
======================================================================
----------------------------------------------------------------------
(0100403) Skavin (reporter) - 2009-02-19 15:38
http://bugs.digium.com/view.php?id=14253#c100403
----------------------------------------------------------------------
no crash on hangup of voice mail access with new patch
no crash on multiple access of voice mail 1 leaving and one picking up
voice mail for same account at the same time.
I am getting errors on the console
-- <SIP/119.224.129.2-08326648> Playing 'vm-theperson' (language
'en')
-- <SIP/119.224.129.2-08326648> Playing 'digits/3' (language 'en')
-- <SIP/119.224.129.2-08326648> Playing 'digits/8' (language 'en')
-- <SIP/119.224.129.2-08326648> Playing 'vm-isunavail' (language
'en')
[Feb 20 10:34:06] WARNING[30100]: app_voicemail.c:1750 mm_log: IMAP
Warning: Unknown message data: 1 FETCH
[Feb 20 10:34:06] WARNING[30100]: app_voicemail.c:1750 mm_log: IMAP
Warning: Unknown message data: 2 FETCH
[Feb 20 10:34:06] ERROR[30100]: app_voicemail.c:1625 mm_searched: No state
found.
[Feb 20 10:34:06] ERROR[30100]: app_voicemail.c:1625 mm_searched: No state
found.
[Feb 20 10:34:06] WARNING[30100]: app_voicemail.c:1750 mm_log: IMAP
Warning: Bad quota resource list for ROOT
-- <SIP/119.224.129.2-08326648> Playing 'beep' (language 'en')
-- Recording the message
-- x=0, open writing:
/var/spool/asterisk/voicemail/default/38/tmp/x0Ocj4 format: wav, 0x8341288
-- x=1, open writing:
/var/spool/asterisk-vm/voicemail/default/38/tmp/x0Ocj4 format: gsm,
0x83414c8
-- User hung up
[Feb 20 10:34:10] ERROR[30100]: app_voicemail.c:1625 mm_searched: No state
found.
[Feb 20 10:34:10] ERROR[30100]: app_voicemail.c:1625 mm_searched: No state
found.
[Feb 20 10:34:10] ERROR[30100]: app_voicemail.c:1625 mm_searched: No state
found.
== Spawn extension (default, 38, 3) exited non-zero on
'SIP/119.224.129.2-08326648'
-- Executing [h at default:1] GotoIf("SIP/119.224.129.2-08326648",
"?gresyncvm:gnoresyncvm") in new stack
-- Goto (default,h,5)
-- Executing [h at default:5] Hangup("SIP/119.224.129.2-08326648", "") in
new stack
Issue History
Date Modified Username Field Change
======================================================================
2009-02-19 15:38 Skavin Note Added: 0100403
======================================================================
More information about the asterisk-bugs
mailing list