[asterisk-bugs] [JIRA] (ASTERISK-26881) bridge_channel.c:989 ast_bridge_channel_queue_frame: We couldn't write alert pipe for Local/XXXXXXX at dialpeer. something is VERY wrong

Private Name (JIRA) noreply at issues.asterisk.org
Mon Mar 20 16:33:10 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235982#comment-235982 ] 

Private Name edited comment on ASTERISK-26881 at 3/20/17 4:31 PM:
------------------------------------------------------------------

I have a bash script that generates hundreds of calls and loads them via
{noformat}
while true;do
command="Local/${number}@$Peer ${callerid} MusicOnHold default"
asterisk -rx "$command"
sleep 1
loop
{noformat}
the $Peer is simple
{noformat}
[context]
dial(PJSIP/number at IP)
{noformat}

If somebody answers, Asterisk drops them into MusicOnHold

Basically, the dialplan is one line, the Dial line.
It crashes after 600+ calls. You try to call in via a softphone, and I can see the INVITE coming in, PJSIP sees it, but Asterisk never processes the INVITE, neither sends back the ACK, Asterisk is dead.

ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 1048576
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1048576
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 20000
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimite

free -g
              total        used        free      shared  buff/cache   available
Mem:             61           4           3           0          53          55
Swap:             0           0           0




was (Author: falves11):
I have a bash script that generates hundreds of calls and loads them via
{noformat}
while true;do
command="Local/${number}@$Peer ${callerid} MusicOnHold default"
asterisk -rx "$command"
sleep 1
loop
{noformat}
the $Peer is simple
{noformat}
[context]
dial(PJSIP/number at IP)
{noformat}

If somebody answers, Asterisk drops them into MusicOnHold

Basically, the dialplan is one line, the Dial line.
It crashes after 600+ calls. You try to call in via a softphone, and I can see the INVITE coming in, PJSIP sees it, but Asterisk never processes the INVITE, neither sends back the ACK, Asterisk is dead.
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 1048576
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1048576
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 20000
cpu time               (seconds, -t) unlimited
max user processes              (-u) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimite

free -g
              total        used        free      shared  buff/cache   available
Mem:             61           4           3           0          53          55
Swap:             0           0           0



>  bridge_channel.c:989 ast_bridge_channel_queue_frame: We couldn't write alert pipe for Local/XXXXXXX at dialpeer. something is VERY wrong
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26881
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26881
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_local
>    Affects Versions: 14.3.0
>         Environment: Linux 64
>            Reporter: Private Name
>            Assignee: Unassigned
>            Severity: Critical
>
> After 600 calls, all of them achieved by 
> Originate Local/XXXXXXXXXX at dialpeer application MusicOnHold default
> Note: all calls are dialed with PJSIP inside the context.
> I get this error:
> [Mar 18 00:18:01] ERROR[40175][C-000004cb]: bridge_channel.c:989 ast_bridge_channel_queue_frame: We couldn't write alert pipe for 0x7ff39000fd90(Local/XXXXXXX at dialpeer-000004cc;2)... something is VERY wrong
> Please let me know where to start looking for the culprit.



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



More information about the asterisk-bugs mailing list