[Icecast] Maximum Listeners.

Michel van Dop mvandop at xs4all.nl
Mon Mar 25 07:41:33 UTC 2019


Can you check your /var/log/messages when you do the the test 1?
Give? 

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

I set this
open the sysctl.conf and add this line fs.file-max = 65536 

vi /etc/sysctl.conf add end of line 

fs.file-max = 65536

Michel 

Paul Martin schreef op 2019-03-24 21:26:

> On Sun, Mar 24, 2019 at 06:02:47PM +0000, Pedro M. Oliveira wrote: 
> 
>> If I set this: 
>> [root at scast1 ~]# prlimit -n5000 -p <pid>
>> 
>> Everything works perfectly. But if I stop or reboot my ice cast
>> server, 1024 backs again.
>> 
>> What can I do to save that open file setting?
> 
> What is starting icecast?
> 
> If it's controlled by systemd, you probably want to add
> "LimitNOFILE=50000" to icecast's .service file.
> 
> If it's the .deb produced by Xiph (which doesn't have a .service
> file), you'll probably want to edit /etc/init.d/icecast2 (or
> /etc/default/icecast2) and add
> 
> prlimit --pid $$ --nofile=50000
> 
> to it.

--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20190325/42f0f79c/attachment.htm>


More information about the Icecast mailing list