Set number of files opened simultaneously
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?
-
Hi @Rogerio I assume you have Shell Fork Bomb Protection enabled? When it is enabled it limits each user to 100 open-file descriptors. Shell Fork Bomb Protection - Version 80 Documentation - cPanel Documentation 0 -
Hmmmm, perfect @cPanelLauren, you're right! I didn't remember about this... Thanks!! Fixed. 0
Please sign in to leave a comment.
Comments
2 comments