The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ulimit / processes.

Discussion in 'General Discussion' started by Mark_CFH, May 3, 2014.

  1. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    How do you set the ulimit for a specific user on the server? Ive tried /etc/profile /etc/security/limits.conf

    But its not changing...


    Also, in cpanel you can view

    Number of Processes 4 / 10

    How do you raise that number up ?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    If you want to such limit for your hosting user. You will have to install cloudlinux on your server. Please check it CloudLinux OS
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,734
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    This statistic is available if your server uses the CloudLinux operating system. You will need to adjust the Cloud Linux settings for the account to change that value. As for the ulimit values, could you verify if CloudLinux and CageFS are enabled on your system?

    Thank you.
     
  4. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    The thing is I never even installed CloudLinux.. Just out of no where it was installed on 2 of our servers. And none of us ever installed it. So we had someone do a reversal on it and get it back to normal CentOS.

    But even though it has been switched back, that stuff is still showing up. Where as before this awful cloudlinux was installed, everything was just fine.

    On top of that, we have several websites that are redirecting to "Default web page" and can't figure out how to get that back to normal.

    (Its like trying to uninstall Nortons from your PC)...
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,734
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It seems odd that Cloud Linux was installed on it's own. Were there any other administrators on the server that might have installed it, or perhaps your provider installed it? What method did you use to uninstall it?

    Thank you.
     
  6. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    No, we found out that our server was compromised. And that person installed it..

    We had some Admins from mycpadmin uninstall it and set CentOS back up.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,734
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please note that if the system was compromised, anything short of reinstalling the OS completely and restoring the accounts from backup would leave open the possibility the server was still compromised.

    Thank you.
     
  8. rodstewart

    rodstewart Active Member

    Joined:
    Feb 4, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hamburg Germany
    cPanel Access Level:
    DataCenter Provider
    Mark_CFH
    If you have "Shell Fork Bomb Protection" enabled you should check /etc/bashrc because here are also ulimits set.
     
  9. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    We got everything squared away and back to normal again, yes we have SFBP installed as well as several other items for more protection and security
     
Loading...

Share This Page