# This is the configuration I'm currently using on my 8GB RAM # AMD64 OpenVZ system - generated using the "vzsplit" command. # This configuration should allow ample resources for a Gentoo # VE. -Daniel # # to use: # # copy this file to /etc/vz/conf # do: # vzctl set --applyconfig vps.drobbins --save # inside the ve, after it is booted: # cat /proc/user_beancounters to look for issues # df # df -i # # Enjoy! # Primary parameters NUMPROC="406:406" AVNUMPROC="203:203" NUMTCPSOCK="406:406" NUMOTHERSOCK="406:406" VMGUARPAGES="14616:9223372036854775807" # Secondary parameters KMEMSIZE="16704438:18374881" TCPSNDBUF="3905170:5568146" TCPRCVBUF="3905170:5568146" OTHERSOCKBUF="1952585:3615561" DGRAMRCVBUF="1952585:1952585" OOMGUARPAGES="14616:9223372036854775807" PRIVVMPAGES="87696:96465" # Auxiliary parameters LOCKEDPAGES="815:815" SHMPAGES="8769:8769" PHYSPAGES="0:9223372036854775807" NUMFILE="6496:6496" NUMFLOCK="649:713" NUMPTY="40:40" NUMSIGINFO="1024:1024" DCACHESIZE="3632714:3741696" NUMIPTENT="20:20" DISKSPACE="8G:8G" DISKINODES="300000:300000" CPUUNITS="2382"