Re: [asterisk-users] 786 000 files limit Centos 7 - Asterisk keep complaining

2015-08-12 Thread Stefan Viljoen
Hi Steve Just running about 50 calls?? If I do lsof | grep asterisk | wc -l to narrow the realm of what is reported I still get just under 100 000 files: lsof | grep asterisk | wc -l 95903 with 50 calls running. So apparently this is excessive? I can only guess that there must be a MAJOR

Re: [asterisk-users] 786 000 files limit Centos 7 - Asterisk keep complaining

2015-08-12 Thread Joshua Colp
On Wed, Aug 12, 2015, at 04:06 AM, Stefan Viljoen wrote: Hi Steve Just running about 50 calls?? If I do lsof | grep asterisk | wc -l to narrow the realm of what is reported I still get just under 100 000 files: lsof | grep asterisk | wc -l 95903 with 50 calls running. So

Re: [asterisk-users] 786 000 files limit Centos 7 - Asterisk keep complaining

2015-08-11 Thread Stefan Viljoen
Anybody else ran into this? No, but I would ask myself why so many file descriptors are being used. It sounds like you have a file descriptor leak (not being closed when finished with). Hi Tony Thanks for replying. I suspected something like that, though repeatedly running lsof | wc -l

Re: [asterisk-users] 786 000 files limit Centos 7 - Asterisk keep complaining

2015-08-11 Thread Markus Weiler
Hi Stefan, we ran into a similar problem using Debian. There we are able to check the current limits using: pidof asterisk - 23351 cat /proc/23351/limits Output: Limit Soft Limit Hard Limit Units Max open files1024 1024 files I

Re: [asterisk-users] 786 000 files limit Centos 7 - Asterisk keep complaining

2015-08-11 Thread Tony Mountifield
In article 002b01d0d414$36af31b0$a40d9510$@verishare.co.za, Stefan Viljoen viljo...@verishare.co.za wrote: Anybody else ran into this? No, but I would ask myself why so many file descriptors are being used. It sounds like you have a file descriptor leak (not being closed when finished

Re: [asterisk-users] 786 000 files limit Centos 7 - Asterisk keep complaining

2015-08-11 Thread Steve Edwards
On Tue, 11 Aug 2015, Stefan Viljoen wrote: I suspected something like that, though repeatedly running lsof | wc -l Always stays quite low - 100 000 open files, which is still 8 times less than the system maximum as confirmed by running ulimit -n What the 'h' are you doing that takes x00,000