<font color="#000066"><font size="2"><font face="tahoma,sans-serif">use &#39;ulimit&#39; to set a higher value on max open file descriptors<br></font></font></font><br><div class="gmail_quote">On 2 July 2011 02:00, Eric Wieling <span dir="ltr">&lt;<a href="mailto:EWieling@nyigc.com">EWieling@nyigc.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
&gt; [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of<br>
&gt; Kaushal Shriyan<br>
&gt; Sent: Friday, July 01, 2011 8:28 PM<br>
&gt; To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
&gt; Subject: Re: [asterisk-users] Starting asterisk:<br>
<div><div></div><div class="h5">&gt; /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot<br>
&gt; modify limit: Operation not permitted<br>
&gt;<br>
&gt; On Fri, Jul 1, 2011 at 11:13 AM, Kaushal Shriyan<br>
&gt; &lt;<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Hi<br>
&gt; &gt;<br>
&gt; &gt; Please help me understand about the below issue ?<br>
&gt; &gt;<br>
&gt; &gt; [root@asterisk1 ~]# /etc/init.d/asterisk restart Stopping<br>
&gt; &gt; safe_asterisk:                                    [  OK  ] Shutting<br>
&gt; &gt; down asterisk:                                    [  OK  ] Starting<br>
&gt; &gt; asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open<br>
&gt; &gt; files: cannot modify limit: Operation not permitted<br>
&gt; &gt;                                                           [  OK  ]<br>
&gt; &gt; (reverse-i-search)`d&#39;: /etc/init.d/asterisk restart<br>
&gt; &gt; [root@asterisk1 ~]# rpm -qa | grep asterisk<br>
&gt; &gt; asterisk-sounds-core-en-gsm-1.4.21-1_centos5<br>
&gt; &gt; asterisk18-1.8.4.4-1_centos5<br>
&gt; &gt; asterisk18-core-1.8.4.4-1_centos5<br>
&gt; &gt; asterisk18-doc-1.8.4.4-1_centos5<br>
&gt; &gt; asterisk18-dahdi-1.8.4.4-1_centos5<br>
&gt; &gt; asterisk18-configs-1.8.4.4-1_centos5<br>
&gt; &gt; asterisk18-voicemail-1.8.4.4-1_centos5<br>
&gt; &gt; [root@asterisk1 ~]# uname -a<br>
&gt; &gt; Linux asterisk1 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011<br>
&gt; &gt; x86_64 x86_64 x86_64 GNU/Linux<br>
&gt; &gt; [root@asterisk1 ~]# cat /proc/version<br>
&gt; &gt; Linux version 2.6.18-238.el5 (<a href="mailto:mockbuild@builder10.centos.org">mockbuild@builder10.centos.org</a>) (gcc<br>
&gt; &gt; version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu Jan<br>
&gt; 13 15:51:15<br>
&gt; &gt; EST 2011<br>
&gt; &gt; [root@asterisk1 ~]# cat /etc/redhat-release CentOS release<br>
&gt; 5.6 (Final)<br>
&gt; &gt; [root@asterisk1 ~]#<br>
&gt; &gt;<br>
&gt; &gt; Regards<br>
&gt; &gt;<br>
&gt; &gt; Kaushal<br>
&gt; &gt;<br>
&gt;<br>
&gt; Hi Again,<br>
&gt;<br>
&gt; Can someone please reply on my earlier post to this emailing list.<br>
<br>
</div></div>This is an operating system question.  The link is for core size, but the basic concept should work for open files as well.<br>
<br>
<a href="http://superuser.com/questions/79717/bash-ulimit-core-file-size-cannot-modify-limit-operation-not-permitted" target="_blank">http://superuser.com/questions/79717/bash-ulimit-core-file-size-cannot-modify-limit-operation-not-permitted</a><br>

<div><div></div><div class="h5"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>