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.

Anyone willing to share ve.cfg examples?

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

  1. unco

    unco Registered

    Joined:
    Jun 17, 2010
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. unco

    unco Registered

    Joined:
    Jun 17, 2010
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    1
    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:
    26
    Likes Received:
    5
    Trophy Points:
    3
    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% .
     
Loading...
Similar Threads - Anyone willing share
  1. Metro2
    Replies:
    7
    Views:
    1,074

Share This Page