[Asterisk-Dev] Problem with too many files open

George Konstantoulakis gkon at inaccessnetworks.com
Sun Jan 30 12:01:12 MST 2005


The problem is that you reach the max number of open files.
Do as root :
    ulimit -n 8192
before running asterisk.
To see  that  you changed the number of open files :
    ulimit -a

George.


Tilghman Lesher wrote:

>On Saturday 29 January 2005 20:44, Federico Alves wrote:
>  
>
>>I face this problem twice a day. Any ideas? I already set the Linux
>>ulimit parameter to unlimited. What steps should I take to
>>understand the problem? Federico Alves
>>Jan 29 10:05:16 WARNING[12238858]: Alert pipe creation failed!
>>Jan 29 10:05:16 WARNING[12238858]: Failed to create new H.323
>>private structure 1.
>>Jan 29 10:05:16 NOTICE[12238858]: Unable to create channel of type
>>'OH323' Jan 29 10:05:17 WARNING[98310]: Unable to allocate socket:
>>Too many open files
>>    
>>
>
>First, OH323 is an external channel driver.  You should contact the
>developers at inAccess Networks, as it is their code.  Second, there
>is no such thing as unlimited open files (there's always a limit, even
>if limited only by memory).  Third, you have a file descriptor leak,
>in that some files are getting opened and never closed.  Eventually,
>you run into your machine limits for open files.
>
>  
>




More information about the asterisk-dev mailing list