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

Maysara A. Abdulhaq maysara.abdulhaq at gmail.com
Wed Apr 18 05:56:03 MST 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070418/fefa53d4/attachment.htm


More information about the asterisk-users mailing list