[asterisk-users] Too many open files

Juan David Diaz juanchonk at gmail.com
Sat Jan 28 17:47:51 CST 2012


You can also Try:

ulimit -c unlimited , then restart asterisk

Juan.
Linux User #441131


On Thu, Jan 26, 2012 at 5:53 PM, Chad Wallace
<cwallace at lodgingcompany.com>wrote:

> On Thu, 26 Jan 2012 10:35:14 -0700
> Mike Diehl <mdiehl at diehlnet.com> wrote:
>
> > While trying to track down a T.38 issue, I came across a series of log
> > entries like this:
> >
> ============================================================================
> > [Jan 26 10:23:31] WARNING[32508]: udptl.c:948
> > ast_udptl_new_with_bindaddr: Unable to allocate socket: Too many open
> > files [Jan 26 10:23:31] ERROR[32508]: acl.c:488 ast_ouraddrfor:
> > Cannot create socket
> >
> ============================================================================
> >
> > What causes it and how do I fix/mitigate it?
>
> In the script that runs asterisk, execute this command before running
> asterisk:
>
> ulimit -n 8192
>
> Then restart asterisk.
>
> Or, if you have the /etc/default/asterisk file on your system (like I
> do), uncomment the MAX_FILES line (or increase it), and the default init
> script should take care of it when you next restart asterisk.
>
>
> --
>
> C. Chad Wallace, B.Sc.
> The Lodging Company
> http://www.lodgingcompany.com/
> OpenPGP Public Key ID: 0x262208A0
>
>
> --
> _____________________________________________________________________
> -- 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/20120128/5b0bffd4/attachment.htm>


More information about the asterisk-users mailing list