[asterisk-users] asterisk unable to create files, too many files open

Giorgio Incantalupo gincantalupo at fgasoftware.com
Wed Apr 18 06:39:26 MST 2007


Hi Maysara,
I have your same problem.
are you using mISDN? If yes update your driver.

Giorgio Incantalupo


Maysara A. Abdulhaq wrote:
> hello,
>
> im having trouble with asterisk with medium load, it seems im running 
> out of files, here is a chunk of the logs with grep "\(file\|pipe\)":
>
> Apr 18 15:40:46 WARNING[11644] res_agi.c: Unable to create toast pipe: 
> Too many open files
> Apr 18 15:40:46 WARNING[11574] channel.c: Channel allocation failed: 
> Can't create alert pipe!
> Apr 18 15:40:46 WARNING[11574] channel.c: Channel allocation failed: 
> Can't create alert pipe!
> Apr 18 15:40:46 ERROR[11643] cdr_csv.c: Unable to re-open master file 
> /var/log/asterisk//cdr-csv//Master.csv : Too many open files
> Apr 18 15:40:46 ERROR[11643] cdr_custom.c: Unable to re-open master 
> file /var/log/asterisk/cdr-custom/Master.csv : Too many open files
> Apr 18 15:40:46 ERROR[11645] cdr_csv.c: Unable to re-open master file 
> /var/log/asterisk//cdr-csv//Master.csv : Too many open files
>
> i tried to increase the number in /proc/sys/fs/file-max , which was:
> 203511
> and file-nr was
> 2112    0       203511
> so i did :
> echo 400176 >/proc/sys/fs/file-max
> but it didn't help, what could possibly make this happen, and does 
> asterisk need that huge number of files ? this machine takes less than 
> ~40 calls at peaks!
>
> this is asterisk 1.2.17 running on Debian etch 2.6.18-4-amd64 #1 SMP 
> on xeon cpu, i got the same behaviour with 1.2.16 too!
>
> -- 
> uwe maysara
> ------------------------------------------------------------------------
>
> _______________________________________________
> --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
>   



More information about the asterisk-users mailing list