OpenVZ container config for ISP3

Discussion in 'Installation/Configuration' started by theWeird, Feb 22, 2011.

  1. theWeird

    theWeird Member

    Hey there,
    at the moment I try to install ISP3 with debian squeeze (thanks for the great tutorial falko) on an OpenVZ container.
    This vz-guest shall become my main server for my customers.
    But just while installing ISPC3 I get stuck with the container configuration of my OpenVZ guest.
    Has anyone succeded in running an ISPC3 Server on an OpenVZ guest and could share his container configuration as a kind of 'optimal settings suggestion'?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig 3 runs fine in OpenVZ, I use it for all my servers.

    There is no such thing as a perfect openvz settings as they depend on the load of your server etc. Run the command:

    cat /proc/user_beancounters

    to see which Limit got hit and increase this Limit. Then restart the VM.

    As a starting point, this settings should work:

    Code:
    KMEMSIZE="21055923:21377049"
    LOCKEDPAGES="256:256"
    PRIVVMPAGES="565536:569632"
    SHMPAGES="21504:21504"
    NUMPROC="240:240"
    PHYSPAGES="0:2147483647"
    VMGUARPAGES="33792:2147483647"
    OOMGUARPAGES="26112:2147483647"
    NUMTCPSOCK="360:360"
    NUMFLOCK="188:206"
    NUMPTY="16:16"
    NUMSIGINFO="256:256"
    TCPSNDBUF="1720320:2703360"
    TCPRCVBUF="1720320:2703360"
    OTHERSOCKBUF="1126080:2097152"
    DGRAMRCVBUF="262144:262144"
    NUMOTHERSOCK="480:480"
    DCACHESIZE="3409920:3624960"
    NUMFILE="9312:9312"
    AVNUMPROC="180:180"
    NUMIPTENT="128:128"
     

Share This Page