[Home]

Summary:ASTERISK-15093: WARNING channel.c __ast_channel_alloc_ap: Channel allocation failed: Can't create alert pipe!
Reporter:Atis Lezdins (atis)Labels:
Date Opened:2009-11-06 10:24:14.000-0600Date Closed:2009-11-09 09:45:50.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Documentation
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When spooling a lot of calls through pbx_spool, Asterisk sometimes starts to fail:

   -- Attempting call on Local/8006772943@did-dial for 8006772943@did-out:1 (Retry 1)
[Nov  6 07:47:57] WARNING[14063]: channel.c:830 __ast_channel_alloc_ap: Channel allocation failed: Can't create alert pipe!
[Nov  6 07:47:57] WARNING[14063]: chan_local.c:732 local_new: Unable to allocate channel structure(s)                          
[Nov  6 07:47:57] NOTICE[14063]: channel.c:3785 __ast_request_and_dial: Unable to request channel Local/8006772943@did-dial                
[Nov  6 07:47:57] NOTICE[14063]: pbx_spool.c:338 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)

Comments:By: Leif Madsen (lmadsen) 2009-11-09 09:00:16.000-0600

I'm dropping this from major to minor as it isn't clear what the issue is really here. I see the WARNING and NOTICE, but there isn't any additional information about how this was produced, what happens when the notice and warning messages come up, or any backtrace when this happens, or other useful information.

By: Atis Lezdins (atis) 2009-11-09 09:23:01.000-0600

Please disregard this issue.

The problem was with generating more calls, but it was solved by increasing max file descriptors:

ulimit -n 32768

Perhaps it would be a good to mention this in warning message:

WARNING[14063]: channel.c:830 __ast_channel_alloc_ap: Channel allocation failed: Can't create alert pipe! Try increasing max file descriptors with `ulimit -n`

By: Digium Subversion (svnbot) 2009-11-09 09:43:33.000-0600

Repository: asterisk
Revision: 228896

U   branches/1.4/main/channel.c

------------------------------------------------------------------------
r228896 | lmadsen | 2009-11-09 09:43:33 -0600 (Mon, 09 Nov 2009) | 6 lines

Update WARNING message.
Update a WARNING message to give a suggested fix when encountered.

(closes issue ASTERISK-15093)
Reported by: atis
Tested by: atis
------------------------------------------------------------------------

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

By: Digium Subversion (svnbot) 2009-11-09 09:44:27.000-0600

Repository: asterisk
Revision: 228897

_U  trunk/
U   trunk/main/channel.c

------------------------------------------------------------------------
r228897 | lmadsen | 2009-11-09 09:44:27 -0600 (Mon, 09 Nov 2009) | 14 lines

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

........
 r228896 | lmadsen | 2009-11-09 09:37:43 -0600 (Mon, 09 Nov 2009) | 6 lines
 
 Update WARNING message.
 Update a WARNING message to give a suggested fix when encountered.
 
 (closes issue ASTERISK-15093)
 Reported by: atis
 Tested by: atis
........

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

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

By: Digium Subversion (svnbot) 2009-11-09 09:44:59.000-0600

Repository: asterisk
Revision: 228898

U   branches/1.6.0/main/channel.c

------------------------------------------------------------------------
r228898 | lmadsen | 2009-11-09 09:44:58 -0600 (Mon, 09 Nov 2009) | 21 lines

Merged revisions 228897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r228897 | lmadsen | 2009-11-09 09:38:38 -0600 (Mon, 09 Nov 2009) | 14 lines
 
 Merged revisions 228896 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r228896 | lmadsen | 2009-11-09 09:37:43 -0600 (Mon, 09 Nov 2009) | 6 lines
   
   Update WARNING message.
   Update a WARNING message to give a suggested fix when encountered.
   
   (closes issue ASTERISK-15093)
   Reported by: atis
   Tested by: atis
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-11-09 09:45:27.000-0600

Repository: asterisk
Revision: 228899

U   branches/1.6.1/main/channel.c

------------------------------------------------------------------------
r228899 | lmadsen | 2009-11-09 09:45:26 -0600 (Mon, 09 Nov 2009) | 21 lines

Merged revisions 228897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r228897 | lmadsen | 2009-11-09 09:38:38 -0600 (Mon, 09 Nov 2009) | 14 lines
 
 Merged revisions 228896 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r228896 | lmadsen | 2009-11-09 09:37:43 -0600 (Mon, 09 Nov 2009) | 6 lines
   
   Update WARNING message.
   Update a WARNING message to give a suggested fix when encountered.
   
   (closes issue ASTERISK-15093)
   Reported by: atis
   Tested by: atis
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-11-09 09:45:50.000-0600

Repository: asterisk
Revision: 228900

U   branches/1.6.2/main/channel.c

------------------------------------------------------------------------
r228900 | lmadsen | 2009-11-09 09:45:50 -0600 (Mon, 09 Nov 2009) | 21 lines

Merged revisions 228897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r228897 | lmadsen | 2009-11-09 09:38:38 -0600 (Mon, 09 Nov 2009) | 14 lines
 
 Merged revisions 228896 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r228896 | lmadsen | 2009-11-09 09:37:43 -0600 (Mon, 09 Nov 2009) | 6 lines
   
   Update WARNING message.
   Update a WARNING message to give a suggested fix when encountered.
   
   (closes issue ASTERISK-15093)
   Reported by: atis
   Tested by: atis
 ........
................

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

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