After doing some research on SLM it looks like it is the way to go if you are running Virtuozzo 3.0. What is SLM, “Virtuozzo Service Level Management (SLM) is a system that maintains and allows administrators to configure and control the levels of service (i.e., the set of ‘promises’) provided to VPS owners.”
I came across some different ways of enabling SLM on the VP Node, by far the best was the information about how to enable it with out a Node reboot. If you are running a current version of Virtuozzo you can do this with pretty much a simple modprobe. Just connect to the VP Node of your chose and run the following commands. These are the steps I tood to enabled SLM on my 512mb Virtual Dedicated server.
Edit the following files and make said changes
/etc/sysconfig/vz and change the SLM entry to slm=yes
/etc/sysconfig/vzagent/vzagent.conf Locate the SLM entry, change it to 1.
Now you need to enable SLM on your Virtual Dedicated server. Since mine was a 512mb server I enabled it as shown to give it dedicated 512mb, with a burstable 1024mb.
vzctl set 408 –slmmode all –slmmemorylimit 512M:1024M –save
To check your settings you can login to your vps and use the free command.
If everthing went as planned you should now have an SLM enabled Virtual Dedicated server.