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

Reply via email to