Displaying 3 results from an estimated 3 matches for "icecast2_pid".
2016 Sep 20
4
Too many open files
...tc/sysctl.conf
fs.file-max = 100000
/etc/icecast2/icecast.xml
<clients>20000</clients>
# open file limit
/etc/security/limits.conf
icecast2 hard nofile 90000
icecast2 soft nofile 50000
icecast2 hard nproc 90000
icecast2 soft nproc 50000
How do I know?
ps aux | grep icecast2
cat /proc/ICECAST2_PID/limits
max open file is still 1024
In the end, I have to add the following line to /etc/init.d/icecast2
ulimit -n 20000
And I can stream over 1k users now. There is no config about ulimit for
icecast2, and therefore, I suggest that we add something like this in
/etc/init.d/icecast2
# Check if t...
2016 Oct 08
0
Too many open files
....xml
> <clients>20000</clients>
>
> # open file limit
> /etc/security/limits.conf
> icecast2 hard nofile 90000
> icecast2 soft nofile 50000
> icecast2 hard nproc 90000
> icecast2 soft nproc 50000
>
> How do I know?
> ps aux | grep icecast2
> cat /proc/ICECAST2_PID/limits
> max open file is still 1024
>
> In the end, I have to add the following line to /etc/init.d/icecast2
>
> ulimit -n 20000
>
> And I can stream over 1k users now. There is no config about ulimit
> for
> icecast2, and therefore, I suggest that we add something like...
2016 Oct 08
0
Too many open files
...tc/sysctl.conf
fs.file-max = 100000
/etc/icecast2/icecast.xml
<clients>20000</clients>
# open file limit
/etc/security/limits.conf
icecast2 hard nofile 90000
icecast2 soft nofile 50000
icecast2 hard nproc 90000
icecast2 soft nproc 50000
How do I know?
ps aux | grep icecast2
cat /proc/ICECAST2_PID/limits
max open file is still 1024
In the end, I have to add the following line to /etc/init.d/icecast2
ulimit -n 20000
And I can stream over 1k users now. There is no config about ulimit for
icecast2, and therefore, I suggest that we add something like this in
/etc/init.d/icecast2
# Check if t...