Hi, maybe there is a bug in vzsplit? I told the script to split the servers resources into 10 pieces. My harddrive in the test-system is 80 GB big (? ). Nethertheless, in the sample-script: DISKSPACE="694733:764207" DISKINODES="836174:919792" 694733 is around 670 MB. Wouldn´t be 6700 MB correct? Also, in my Suse Linux Template, only 670 MB had been shown. Bug? Size for cpuunits are correc, but I don´t know whether the following parameters were correctly calcuted (1 GB total mem) NUMPROC="800:800" AVNUMPROC="253:253" NUMTCPSOCK="800:800" NUMOTHERSOCK="800:800" VMGUARPAGES="152227:9223372036854775807" # Secondary parameters KMEMSIZE="20784087:22862495" TCPSNDBUF="3651229:6928029" TCPRCVBUF="3651229:6928029" OTHERSOCKBUF="1825614:5102414" DGRAMRCVBUF="1825614:1825614" OOMGUARPAGES="152227:9223372036854775807" PRIVVMPAGES="152227:167449" Maybe someone has some ideas ? Thanks Ronny
As far as I remember vzsplit calculated discspace and discinodes values based on the size of /vz partition. and rules are very simple: reserve some place for the templates and the rest divide to number of VPS-es. I would note that you can set any resonable values and you can change it in any time, even on started VPS. Rules for other parameters are more difficult, they depend on the total memory size, swap size, size of normal zone and probably some other parameters. more detailed the rules are described in the SLMGuide. I believe your values are correct and you may check your config file via vzcfgvalidate utility. Thank you Vasily Averin