[asterisk-users] Too many open files, asterisk crash

Justin Hamade justhamade at gmail.com
Wed Apr 25 23:09:54 MST 2007


What does ulimit -a say?

Did you update limits.conf.  This is a documented issue:
http://voip-info.org/wiki/index.php?page=file%20descriptors

Justin

On 4/25/07, Rilawich Ango <maillisting at gmail.com> wrote:
>
> Hi,
>   Recently, I got the following error from the system and it caused
> the asterisk down.
> Apr 25 13:48:22 WARNING[27460] rtp.c: Unable to allocate socket: Too
> many open files
> Apr 25 13:48:22 WARNING[27460] acl.c: Cannot create socket
>
> The output of ulimit is "unlimited".
>
> I have searched about the error but there is no solution to avoid it.
> Then I issue lsof in the system and I got many asterisk with pipe
> output like below.
> asterisk    325    root 4469r
> FIFO                0,7              4474531 p
> ipe
> asterisk    325    root 4470r
> FIFO                0,7              4473427 p
> ipe
> Such message of lsof will keep growing.  I think it is the reason to
> reach the maximum socket opened.  According to the lsof above, I have
> no idea what hold the socket and keep it growing.  Anyone can give me
> some hints?
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070425/300ae732/attachment.htm


More information about the asterisk-users mailing list