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: [email protected] [mailto:[email protected]] On Behalf Of Ahmed Munir Sent: Wednesday, February 29, 2012 2:47 PM To: [email protected] 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" <[email protected]> Subject: Re: [asterisk-users] Getting Ulimit Message after restart asterisk service To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <[email protected]> Message-ID: <[email protected]> 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: [email protected] [mailto:[email protected]] On Behalf Of Ahmed Munir Sent: Wednesday, February 29, 2012 8:52 AM To: [email protected] 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
-- _____________________________________________________________________ -- 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
