Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Set number of files opened simultaneously

Discussion in 'General Discussion' started by Rogerio, May 22, 2019.

  1. Rogerio

    Rogerio Well-Known Member

    Joined:
    Sep 26, 2016
    Messages:
    74
    Likes Received:
    13
    Trophy Points:
    8
    Location:
    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?
     
    #1 Rogerio, May 22, 2019
    Last edited by a moderator: May 22, 2019
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,136
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Rogerio likes this.
  3. Rogerio

    Rogerio Well-Known Member

    Joined:
    Sep 26, 2016
    Messages:
    74
    Likes Received:
    13
    Trophy Points:
    8
    Location:
    Sao Paulo, Brazil
    cPanel Access Level:
    Root Administrator
    Hmmmm, perfect @cPanelLauren, you're right! I didn't remember about this...

    Thanks!! Fixed.
     
    cPanelLauren likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice