[asterisk-users] Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted

Tiago Geada tiago.geada at gmail.com
Sat Jul 2 08:50:32 CDT 2011


use 'ulimit' to set a higher value on max open file descriptors

On 2 July 2011 02:00, Eric Wieling <EWieling at nyigc.com> wrote:

>
>
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com
> > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> > Kaushal Shriyan
> > Sent: Friday, July 01, 2011 8:28 PM
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: Re: [asterisk-users] Starting asterisk:
> > /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot
> > modify limit: Operation not permitted
> >
> > On Fri, Jul 1, 2011 at 11:13 AM, Kaushal Shriyan
> > <kaushalshriyan at gmail.com> wrote:
> > > Hi
> > >
> > > Please help me understand about the below issue ?
> > >
> > > [root at asterisk1 ~]# /etc/init.d/asterisk restart Stopping
> > > safe_asterisk:                                    [  OK  ] Shutting
> > > down asterisk:                                    [  OK  ] Starting
> > > asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open
> > > files: cannot modify limit: Operation not permitted
> > >                                                           [  OK  ]
> > > (reverse-i-search)`d': /etc/init.d/asterisk restart
> > > [root at asterisk1 ~]# rpm -qa | grep asterisk
> > > asterisk-sounds-core-en-gsm-1.4.21-1_centos5
> > > asterisk18-1.8.4.4-1_centos5
> > > asterisk18-core-1.8.4.4-1_centos5
> > > asterisk18-doc-1.8.4.4-1_centos5
> > > asterisk18-dahdi-1.8.4.4-1_centos5
> > > asterisk18-configs-1.8.4.4-1_centos5
> > > asterisk18-voicemail-1.8.4.4-1_centos5
> > > [root at asterisk1 ~]# uname -a
> > > Linux asterisk1 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011
> > > x86_64 x86_64 x86_64 GNU/Linux
> > > [root at asterisk1 ~]# cat /proc/version
> > > Linux version 2.6.18-238.el5 (mockbuild at builder10.centos.org) (gcc
> > > version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu Jan
> > 13 15:51:15
> > > EST 2011
> > > [root at asterisk1 ~]# cat /etc/redhat-release CentOS release
> > 5.6 (Final)
> > > [root at asterisk1 ~]#
> > >
> > > Regards
> > >
> > > Kaushal
> > >
> >
> > Hi Again,
> >
> > Can someone please reply on my earlier post to this emailing list.
>
> This is an operating system question.  The link is for core size, but the
> basic concept should work for open files as well.
>
>
> http://superuser.com/questions/79717/bash-ulimit-core-file-size-cannot-modify-limit-operation-not-permitted
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110702/e7a8e24a/attachment-0001.htm>


More information about the asterisk-users mailing list