[asterisk-dev] Asterisk Open File Limit

Richard Lyman pchammer at dynx.net
Tue Oct 17 11:55:13 MST 2006


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---
matt, look in /proc/sys/fs/ 

you should see various files one of which is 'file-max' 

that would be the first place i would try.





More information about the asterisk-dev mailing list