[Asterisk-Dev] Problem with too many files open

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Sat Jan 29 20:34:22 MST 2005


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.

-- 
Tilghman



More information about the asterisk-dev mailing list