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!

Anyone willing to share ve.cfg examples?

Discussion in 'CloudLinux' started by unco, Sep 17, 2016.

  1. unco

    unco Member

    Joined:
    Jun 17, 2010
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    53
    Location:
    Southern Pines, NC
    Hi -

    I'm trying to configure LVEs optimally. I'm not being very successful. Sites either run out of resources or use too many resources. I'm hoping someone will be willing to share their optimized config. It would sure help me to better understand!

    Here's a summary that gives some details about the particular server:
    CLOUDLINUX 6.8 x86_64 standard WHM 58.0 (build 28)
    Total processors: 8
    GenuineIntel
    Intel(R) Xeon(R) CPU E5606 @ 2.13GHz
    Speed 2133.533 MHz
    Cache 8192 KB
    Memory: 24497984k/26214400k available

    My default ve.cfg (I've removed all the custom entries because I wind up with a slow server!):

    <?xml version="1.0" encoding="utf-8"?>
    <lveconfig>
    <defaults>
    <cpu limit="50%"/>
    <ncpu limit="1"/>
    <io limit="1024"/>
    <vmem limit="0"/>
    <pmem limit="262144"/>
    <nproc limit="100"/>
    <other maxentryprocs="20"/>
    <mem limit="262144"/>
    <iops limit="1024"/>
    </defaults>
    </lveconfig>

    There are right around 140 sites on this server. Most use very little CPU and RAM, but I have about 4 sites that are more resource intensive.

    Thanks for your insight!

    Beth
     
    #1 unco, Sep 17, 2016
    Last edited by a moderator: Sep 17, 2016
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. unco

    unco Member

    Joined:
    Jun 17, 2010
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    53
    Location:
    Southern Pines, NC
    Thank you! I got some great help from CloudLinux support. I am still tweaking, but am getting close.
     
    cPanelMichael likes this.
  4. Bazinga

    Bazinga Active Member

    Joined:
    Aug 23, 2016
    Messages:
    32
    Likes Received:
    7
    Trophy Points:
    8
    Location:
    Ukraine
    cPanel Access Level:
    Website Owner
    It is not recommended to set CPU limit less then 100% . For your server with 8 cores - change CPU limit back to 100% .
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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