Help Me Understand Please (About Setting Resource Per VE with OpenVZ)

Discussion in 'Installation/Configuration' started by adobe, Sep 9, 2008.

  1. adobe

    adobe New Member

    I am trying to set a VPS I created to have the following specs:

    1 Ghz Guaranteed CPU (Burstable Up-to 2 Ghz)
    512 MB Guaranteed RAM (No bursting)

    How do I go about doing this? OpenVZ does not uses straight forward setting like (vzctl VEID xxx --ram=256M) and therefore, setting the resource per VE is quite confusing.

    Can someone help me figure it out please?
    iphone games
    buy glass bongs
    Last edited: Feb 9, 2011
  2. adobe

    adobe New Member

    I saw in this guide ( a "possible" way of setting RAM per VE and so I tried this:

    $ vzctl set VEID --vmguarpages $((256 * 512)) --save
    $ vzctl set VEID --privvmpages $((256 * 512)) --save

    and I checked the configuration like this ...

    $ vzcfgvalidate /etc/vz/conf/VEID.conf

    and it replies like this ...

    Error: limit should be = 9223372036854775807 for vmguarpages (currently, 131072)

    This doesn't make any sense... can someone plz shed some light on this?
    Last edited: Feb 2, 2011
  3. falko

    falko Super Moderator ISPConfig Developer

    Can you post the configuration file?

Share This Page