<div dir="ltr"><br>[root@abc asterisk]# lsof -u 50771 | wc -l<br>0<br><br>BTW, I'm using CentOS 6.5<br><div class="gmail_extra"><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div><div class="gmail-h5"><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Date: Thu, 13 Oct 2016 10:20:19 -0400<br>
From: Dovid Bender <<a href="mailto:dovid@telecurve.com" target="_blank">dovid@telecurve.com</a>><br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
<<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.c<wbr>om</a>><br>
Subject: Re: [asterisk-users] Openfile Issue<br>
Message-ID:<br>
<CAM3TTh1yvoHmRUBb=<a href="mailto:EJbEb-HMmni-5ExKDCUMgQhnAeGF70qOA@mail.gmail.com" target="_blank">EJbEb-HMmni<wbr>-5ExKDCUMgQhnAeGF70qOA@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Strange. What's the output of:<br>
lsof -u <USER RUNNING ASTERISK> | wc -l<br>
<br>
I know that on some CentOS7 setups we needed to remove the<br>
file 90-nproc.conf as well as add to the Asterisk init script:<br>
ulimit -s unlimited<br>
ulimit -n 65535<br>
ulimit -Hn 65535<br>
ulimit -u 65535<br>
ulimit -Hu 65535<br>
<br>
<br>
<br>
On Thu, Oct 13, 2016 at 9:59 AM, Ahmed Munir <<a href="mailto:ahmedmunir007@gmail.com" target="_blank">ahmedmunir007@gmail.com</a>><br>
wrote:<br>
<br>
><br>
> See below;<br>
><br>
> [root@abc asterisk]# cat /proc/50771/limits<br>
> Limit Soft Limit Hard Limit Units<br>
> Max cpu time unlimited unlimited seconds<br>
> Max file size unlimited unlimited bytes<br>
> Max data size unlimited unlimited bytes<br>
> Max stack size 10485760 unlimited bytes<br>
> Max core file size unlimited unlimited bytes<br>
> Max resident set unlimited unlimited bytes<br>
> Max processes 256389 256389<br>
> processes<br>
> Max open files 20000 25000 files<br>
> Max locked memory 65536 65536 bytes<br>
> Max address space unlimited unlimited bytes<br>
> Max file locks unlimited unlimited locks<br>
> Max pending signals 256389 256389 signals<br>
> Max msgqueue size 819200 819200 bytes<br>
> Max nice priority 0 0<br>
> Max realtime priority 0 0<br>
> Max realtime timeout unlimited unlimited us<br>
><br>
><br>
> Date: Thu, 13 Oct 2016 09:37:34 -0400<br>
>> From: Dovid Bender <<a href="mailto:dovid@telecurve.com" target="_blank">dovid@telecurve.com</a>><br>
>> To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
>> <<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.<wbr>com</a>><br>
>> Subject: Re: [asterisk-users] Openfile Issue<br>
>> Message-ID:<br>
>> <<a href="mailto:CAM3TTh2ykzifYwjoqF1EZkn9qRuVLHLi38cMPP6UxJsqcK4pQg@mail.gm" target="_blank">CAM3TTh2ykzifYwjoqF1EZkn9qRu<wbr>VLHLi38cMPP6UxJsqcK4pQg@mail.<wbr>gm</a><br>
>> <a href="http://ail.com" rel="noreferrer" target="_blank">ail.com</a>><br>
>> Content-Type: text/plain; charset="utf-8"<br>
>><br>
>> What do you get when you do:<br>
>> cat /proc/<PID OF ASTERISK>/limits ?<br>
>><br>
>> On Thu, Oct 13, 2016 at 9:30 AM, Ahmed Munir <<a href="mailto:ahmedmunir007@gmail.com" target="_blank">ahmedmunir007@gmail.com</a>><br>
>> wrote:<br>
>><br></blockquote></div></div></div></div></div></blockquote></div>-- <br><div class="gmail_signature">Regards,<br><br>Ahmed Munir Chohan<br><br></div>
</div></div>