[asterisk-bugs] [JIRA] (ASTERISK-823) Asterisk + chan_sip + chan_capi leaks pipes
Private Name (JIRA)
noreply at issues.asterisk.org
Thu Feb 5 21:11:34 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224780#comment-224780 ]
Private Name edited comment on ASTERISK-823 at 2/5/15 9:11 PM:
---------------------------------------------------------------
I have the exact same issue with PJSIP and the app Transfer.
asterisk 4077 root *450w FIFO 0,8 0t0 110430221 pipe
asterisk 4077 root *451r FIFO 0,8 0t0 110429239 pipe
asterisk 4077 root *452w FIFO 0,8 0t0 110429239 pipe
asterisk 4077 root *453r FIFO 0,8 0t0 110417598 pipe
asterisk 4077 root *454w FIFO 0,8 0t0 110417598 pipe
asterisk 4077 root *455r FIFO 0,8 0t0 110426507 pipe
asterisk 4077 root *456w FIFO 0,8 0t0 110426507 pipe^
After a few hours the command
lsof | grep asterisk
goes to 700.000+
I cannot access Asterisk via asterisk -r.
SVN-branch-13-r431555M
Note: I only use PJSIP as channels, nothing else is loaded.
was (Author: falves11):
I have the exact same issue with PJSIP and the app Transfer.
asterisk 4077 root *450w FIFO 0,8 0t0 110430221 pipe
asterisk 4077 root *451r FIFO 0,8 0t0 110429239 pipe
asterisk 4077 root *452w FIFO 0,8 0t0 110429239 pipe
asterisk 4077 root *453r FIFO 0,8 0t0 110417598 pipe
asterisk 4077 root *454w FIFO 0,8 0t0 110417598 pipe
asterisk 4077 root *455r FIFO 0,8 0t0 110426507 pipe
asterisk 4077 root *456w FIFO 0,8 0t0 110426507 pipe^
After a few hours the command
lsof | grep asterisk
goes to 700.000+
I cannot access Asterisk via asterisk -r.
SVN-branch-13-r431555M
> Asterisk + chan_sip + chan_capi leaks pipes
> -------------------------------------------
>
> Key: ASTERISK-823
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-823
> Project: Asterisk
> Issue Type: Bug
> Components: Core/General
> Reporter: gcc
> Severity: Blocker
>
> Under some circumstances that I haven't determined yet, Asterisk will not close a pipe() that it has opened. This leads to the process file descriptor table filling up with pairs of pipes, like this:
> asterisk 10964 root 257r FIFO 0,5 2008558 pipe
> asterisk 10964 root 258w FIFO 0,5 2008558 pipe
> asterisk 10964 root 259r FIFO 0,5 2035715 pipe
> asterisk 10964 root 260w FIFO 0,5 2035715 pipe
> asterisk 10964 root 263r FIFO 0,5 2195281 pipe
> asterisk 10964 root 264w FIFO 0,5 2195281 pipe
> ****** ADDITIONAL INFORMATION ******
> Eventually Asterisk is unable to create any more pipes, and crashes or blocks. I think it blocks, since it's impossible to connect to the console anymore.
> SIP is configured with 7 peers: one Cisco 7940, two Cisco ATA-186s with 2 channels each, and two Grandstream Budgetones.
> CAPI is configured using KPJ's chan_capi 0.2.5c on three AVM Fritz PCI cards, using the kernel hack to support more than one Fritz.
> Perhaps it's worth adding some debugging code, for example to keep a list of open pipes along with the source file and line where they were opened?
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list