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 with). > > Hi Tony > > Thanks for replying. > > 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
>From what you said below, the above is probably not relevant... > > SOMETHING NEW > > I have now ran > > /usr/bin/prlimit --pid `pidof asterisk` > > and I have noticed that even though I have 800 000 files specified, the > ACTUAL limit in place on Asterisk for numbers of files is only 1024?! Yes, this is likely. Have a look in /usr/sbin/safe_asterisk, at the commented-out settings for SYSMAXFILES and MAXFILES, and try setting those. Cheers Tony -- Tony Mountifield Work: t...@softins.co.uk - http://www.softins.co.uk Play: t...@mountifield.org - http://tony.mountifield.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users