[asterisk-users] Getting Ulimit Message after restart asterisk service

Danny Nicholas danny at debsinc.com
Wed Feb 29 14:51:53 CST 2012


The good folks at Asterisk wish to limit the number of open files used by
Asterisk to 32K (see line 32).  If you aren't a super-user, chances are that
Linux will cut you off at a number much less than that anyway.  The reason
you are getting the message;  your user/sudo user can't execute ulimit.

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ahmed Munir
Sent: Wednesday, February 29, 2012 2:47 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Getting Ulimit Message after restart asterisk
service

 

Thanks Danny,

I would like to know do I need to worry about this message? And why I'm
getting this ulimit message? Please provide reason briefly 


From: "Danny Nicholas" <danny at debsinc.com>

Subject: Re: [asterisk-users] Getting Ulimit Message after restart
       asterisk        service
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
       <asterisk-users at lists.digium.com>
Message-ID: <00c101ccf6f2$9e8c11c0$dba43540$@debsinc.com>
Content-Type: text/plain; charset="us-ascii"

This one is simple.  Open /usr/sbin/safe_asterisk and put # in first
character of line 86 and 102.  Or modfy /etc/sudoers to allow your sudo to
execute ulimit.



From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ahmed Munir
Sent: Wednesday, February 29, 2012 8:52 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Getting Ulimit Message after restart asterisk
service



Hi all,

Currently I'm getting this message after restarting asterisk service;

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

Before when I had root access I was not facing this message after that
system administrator assigned me sudo access for restarting asterisk
service.

Please assist me out to resolve this issue at earliest. I also tried to set
ulimit till 4-40 times higher than currently set i.e. 1024 but still giving
me same message.


--
Regards,

Ahmed Munir Chohan





-- 
Regards,

Ahmed Munir Chohan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120229/71d77041/attachment.htm>


More information about the asterisk-users mailing list