<div dir="ltr"><div class="gmail_default" style="font-size:small">I have an Asterisk 13 that only processes app Transfer with PJSIP, to the tune of 60 per second. No voice calls.<br>
After like 2 hours, I can no longer get into Asterisk. This command, 
asterisk -r, fails, and also "asterisk -rx core show channels", etc. I 
am returned to the bash prompt. I checked the handles and 

<p>lsof | grep asterisk |wc -l<br>
7098126</p>

<p>I think there is a kind of handle leak here. Nothing else runs in the box<br>
If there is a way to find out what happens, let me know. The dialplan is
 confidential, for it belongs to my customer,but I can give you access 
to the box.<br>
In short , the app receives a call, checks the number against a database and calls app_transfer. That is it.</p>



<p>This is what I see when the command fails:</p>

<p>asterisk -r<br>
Asterisk SVN-branch-13-r431555M, Copyright (C) 1999 - 2014, Digium, Inc. and others.<br>
Created by Mark Spencer <<a href="mailto:markster@digium.com">markster@digium.com</a>><br>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.<br>
This is free software, with components licensed under the GNU General Public<br>
License version 2 and other licenses; you are welcome to redistribute it under<br>
certain conditions. Type 'core show license' for details.<br>
=========================================================================<br>
<span class="">[root@centos7 /]</span>#<br>
this command shows the issue, thousands of lines<br>
lsof | grep asterisk</p>

<p>asterisk  4077          root *450w     FIFO                0,8         0t0  110430221 pipe<br>
asterisk  4077          root *451r     FIFO                0,8         0t0  110429239 pipe<br>
asterisk  4077          root *452w     FIFO                0,8         0t0  110429239 pipe<br>
asterisk  4077          root *453r     FIFO                0,8         0t0  110417598 pipe<br>
asterisk  4077          root *454w     FIFO                0,8         0t0  110417598 pipe<br>
asterisk  4077          root *455r     FIFO                0,8         0t0  110426507 pipe<br>
asterisk  4077          root *456w     FIFO                0,8         0t0  110426507 pipe^</p>

<p>It looks like<br>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-823" class="" rel="nofollow">https://issues.asterisk.org/jira/browse/ASTERISK-823</a><br>
but in fact I am using PJSIP.</p>

<p>It is definitely PJSIP, for I replaced the dialplan with plain SIP, and there is no issue, ceteris paribus.</p><p>Note: I am not a developer and have no idea how to troubleshoot this. </p><p><br></p></div></div>