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.

PHP Resource

Discussion in 'General Discussion' started by cancer10, Jun 22, 2007.

  1. cancer10

    cancer10 Well-Known Member

    Joined:
    Aug 27, 2006
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    How do I restrict all php sites (which are located on my server) not to consume more than a specified amount of CPU?

    FYI, I run Linux CentOS 4.4 with Apache + cPanel 11



    Thanx
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I would recommend checking into using /etc/security/limits.conf for this purpose :)
     
  3. yamaharr1

    yamaharr1 Well-Known Member

    Joined:
    Jun 22, 2007
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Very old post I know but this looks to be an interesting solution, could anyone explain a bit more on how we should fill in the details?
     
Loading...

Share This Page