[asterisk-dev] Asterisk Open File Limit

Roy Sigurd Karlsbakk roy at karlsbakk.net
Wed Oct 18 06:17:26 MST 2006


I've written a patch, http://bugs.digium.com/view.php?id=7499, that  
allows setting this in asterisk.conf. It is, however, not included in  
trunk/beta/something, but if we're lucky, someone might let it  
through anyway. it doesn't change much, and it certainly doesn't  
break anything, so IMHO it should be included.

roy

On 17. okt. 2006, at 18.24, Matt Florell wrote:

> Hello,
>
> What is the default open file limit in Asterisk and where is it  
> defined?
>
> I am testing a very high capacity Asterisk server and I am running
> into a lot of these types of errors that I have:
>
> Oct 17 12:14:23 ERROR[28770]: cdr_csv.c:237 csv_log: Unable to re-open
> master file /var/log/asterisk//cdr-csv//Master.csv : Too many open
> files
>
> Oct 17 12:14:19 WARNING[28630]: res_agi.c:247 launch_script: Unable to
> create toast pipe: Too many open files
>
>
> doing a /proc/sys/fs/file-nr shows me that I never seem to have many
> more than 2200 files open so I don't think this is a Linux issue
> specifically since that limit is set to over 300000.
>
> Any info would be greatly appreciated.
>
> Thanks,
>
> MATT---
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>

--
Roy Sigurd Karlsbakk
roy at karlsbakk.net
-------------------------------
MICROSOFT: Acronym for "Most Intelligent Customers Realise Our  
Software Only Fools Teenagers"



More information about the asterisk-dev mailing list