HowTo modify parameters in /etc/sysconfig/vz-scripts/ve-vps conf file [message #21417] |
Mon, 08 October 2007 17:59 ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
![](http://new-forum.openvz.org/images/custom_avatars/1214.gif) |
andyreed
Messages: 6 Registered: February 2007 Location: Minneapolis, MN
|
Junior Member |
|
|
I split my dedicated server resources for 3 VEs. These 3 VEs share 2 x 160GB HDs RAID1, and 2GB RAM Memeory, respectively.
---------- My conf file ----------
CLASSID="2"
VERSION="2"
# Primary parameters
VMGUARPAGES="32770:32770"
# Secondary parameters
DGRAMRCVBUF="1318528:1318528"
OOMGUARPAGES="31250:31250"
OTHERSOCKBUF="1318528:2440832"
PRIVVMPAGES="500000:750000"
TCPRCVBUF="2637056:3759360"
TCPSNDBUF="2637056:3759360"
# Auxiliary parameters
CPULIMIT="300"
CPUUNITS="7370"
DCACHESIZE="8525184:9525184"
DISKINODES="55781934:55960128"
DISKSPACE="5208598:59714458"
IPTENTRIES="3000:4000"
KMEMSIZE="60252800:121278080"
LOCKEDPAGES="550:550"
NUMFILE="20000:25000"
NUMFLOCK="438:481"
NUMOTHERSOCK="10000:12000"
NUMPROC="700:1000"
NUMPTY="100:200"
NUMSIGINFO="1024:1024"
NUMTCPSOCK="1000:2000"
PHYSPAGES="0:2147483647"
SHMPAGES="400000:512000"
But, when I validate the my conf file, I get the following error message:
Error: barrier should be equal to limit for numproc (currently, 700:1000)
Error: barrier should be equal to limit for numtcpsock (currently, 1000:2000)
Error: barrier should be equal to limit for numothersock (currently, 10000:12000)
Error: limit should be = 2147483647 for vmguarpages (currently, 32770)
Error: barrier should be <= limit for tcpsndbuf (currently, 2637056:2560000)
Error: barrier should be <= limit for tcprcvbuf (currently, 2637056:2560000)
Error: barrier should be <= limit for othersockbuf (currently, 2637056:2560000)
Error: limit should be = 2147483647 for oomguarpages (currently, 31250)
Error: barrier should be equal to limit for shmpages (currently, 400000:512000)
Error: barrier should be equal to limit for numfile (currently, 20000:25000)
Error: barrier should be equal to limit for numpty (currently, 100:200)
Error: barrier should be equal to limit for numiptent (currently, 3000:4000)
Would you please help me fix the parameters above? Thank you
[Updated on: Mon, 08 October 2007 18:00] Report message to a moderator
|
|
|