[Icecast] Icecast locks with WARN connection/_accept_connection accept() failed with error 24: Too many open files

Karl Heyes karl at xiph.org
Wed Jun 1 14:04:42 UTC 2005


On Wed, 2005-06-01 at 14:51, Joel Ebel wrote:
> My icecast server has been running happily for months now, but just 
> yesterday it locked up, chewing up all the cpu time it could find, and 
> not allowing connections.  The last snippet of the error log shows this:
> 
> [2005-06-01  09:36:13] WARN connection/_accept_connection accept() 
> failed with error 24: Too many open files
> [2005-06-01  09:36:15] WARN connection/_accept_connection accept() 
> failed with error 24: Too many open files
...
> The error had repeated itself for almost 24 hours before I noticed it. 
> Obviously it had too many files open, but I can't account for how.  The 
> logs before the repeating errors look completely normal.  I tried 
> shutting down the streams, which didn't fix it, so I sent it some kills, 
> and it didn't die.  I had to kill -9 it.  Once it restarted it was fine. 
>   Is there some leak preventing icecast from running indefinitely?  Or 
> will I just need to restart it every few months when this happens again? 
>   Has anyone else seen this happen?

I've only seen one other report of 'too many open files'.

Can you send the error and access log to me, so I can check through the
usage pattern. 

karl





More information about the Icecast mailing list