hello, <br><br>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\)":<br><br>Apr 18 15:40:46 WARNING[11644] res_agi.c: Unable to create toast pipe: Too many open files
<br>Apr 18 15:40:46 WARNING[11574] channel.c: Channel allocation failed: Can't create alert pipe!<br>Apr 18 15:40:46 WARNING[11574] channel.c: Channel allocation failed: Can't create alert pipe!<br>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
<br>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<br>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
<br><br>i tried to increase the number in /proc/sys/fs/file-max , which was:<br><span>203511<br>and file-nr was <br>2112 0 203511<br>so i did :<br>echo 400176 >/proc/sys/fs/file-max<br>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!
<br><br>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!<br clear="all"></span><br>-- <br>uwe maysara