SOLVED Set number of files opened simultaneously

Rogerio

Well-Known Member
Sep 26, 2016
78
15
8
Sao Paulo, Brazil
cPanel Access Level
Root Administrator
Hello,

I have a server with cPanel and also installed an Icecast on it, on another IP not used by cPanel. The server is a CentOS 7. I am trying to change /etc/security/limits.conf and set the user "ices" to have a high number of files opened simultaneously, because Icecast will have >1000 users.

Instructions:
cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/

ices soft nofile 600000
ices hard nofile 600000

I have done this on other servers without cPanel and, when running the check command below, the value correctly appears. But on this server with cPanel, instead of 600000 it always shows 100 and I can not figure out why. Everything on both servers was installed in the same way.

Other server:
su - ices -c 'ulimit -n'
600000

cPanel server:
su - ices -c 'ulimit -n'
100

Can you help me?
 
Last edited by a moderator: