[Asterisk-Dev] clearing 'stuck' channels
Jayson Vantuyl
kagato at souja.net
Sun Sep 14 17:38:11 MST 2003
On Thu, Aug 28, 2003 at 01:59:47PM -0700, John Todd wrote:
> Did you find any solutions to this? I've recently discovered the
> same problem with my server here. I had 499 "sip show channels"
> entries, and then Asterisk refused to start up any new sessions due
> to "Too many files open". In fact, 'reload' worked but didn't work,
> due to the inability of the system to open any of the config files.
> I had to shut Asterisk down to get things working again. My CVS
> version was four days old.
You may be able to temporarily avoid this problem (i.e. thus allowing
you to plan an Asterisk restart every midnight) by cranking up your
max-files in the kernel. Echo a larger value into
/proc/sys/fs/file-max.
Jayson
More information about the asterisk-dev
mailing list