<font color="#000066"><font size="2"><font face="tahoma,sans-serif">use 'ulimit' 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"><<a href="mailto:EWieling@nyigc.com">EWieling@nyigc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
> -----Original Message-----<br>
> From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of<br>
> Kaushal Shriyan<br>
> Sent: Friday, July 01, 2011 8:28 PM<br>
> To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
> Subject: Re: [asterisk-users] Starting asterisk:<br>
<div><div></div><div class="h5">> /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot<br>
> modify limit: Operation not permitted<br>
><br>
> On Fri, Jul 1, 2011 at 11:13 AM, Kaushal Shriyan<br>
> <<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>> wrote:<br>
> > Hi<br>
> ><br>
> > Please help me understand about the below issue ?<br>
> ><br>
> > [root@asterisk1 ~]# /etc/init.d/asterisk restart Stopping<br>
> > safe_asterisk: [ OK ] Shutting<br>
> > down asterisk: [ OK ] Starting<br>
> > asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open<br>
> > files: cannot modify limit: Operation not permitted<br>
> > [ OK ]<br>
> > (reverse-i-search)`d': /etc/init.d/asterisk restart<br>
> > [root@asterisk1 ~]# rpm -qa | grep asterisk<br>
> > asterisk-sounds-core-en-gsm-1.4.21-1_centos5<br>
> > asterisk18-1.8.4.4-1_centos5<br>
> > asterisk18-core-1.8.4.4-1_centos5<br>
> > asterisk18-doc-1.8.4.4-1_centos5<br>
> > asterisk18-dahdi-1.8.4.4-1_centos5<br>
> > asterisk18-configs-1.8.4.4-1_centos5<br>
> > asterisk18-voicemail-1.8.4.4-1_centos5<br>
> > [root@asterisk1 ~]# uname -a<br>
> > Linux asterisk1 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011<br>
> > x86_64 x86_64 x86_64 GNU/Linux<br>
> > [root@asterisk1 ~]# cat /proc/version<br>
> > Linux version 2.6.18-238.el5 (<a href="mailto:mockbuild@builder10.centos.org">mockbuild@builder10.centos.org</a>) (gcc<br>
> > version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu Jan<br>
> 13 15:51:15<br>
> > EST 2011<br>
> > [root@asterisk1 ~]# cat /etc/redhat-release CentOS release<br>
> 5.6 (Final)<br>
> > [root@asterisk1 ~]#<br>
> ><br>
> > Regards<br>
> ><br>
> > Kaushal<br>
> ><br>
><br>
> Hi Again,<br>
><br>
> 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>