Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have VPS. It has Burstable memory service. My guaranteed memory limit is 1GB. I want linux not to take more that 1GB to programs on OS level. How to do it? It is ubuntu server.

share|improve this question
Don't use OpenVZ-based VPSes. – Michael Hampton Jan 21 '13 at 18:00
up vote 2 down vote accepted

I don't believe this is possible. If this were possible, it would require kernel tweaks, which isn't an option in your case due to the fact that you're running an OpenVZ and as such, don't have your own kernel.

This is one of the many reasons why OpenVZ-based VPSes are looked down upon here. There are a few use cases where they will work just fine, but in general, the limitations imposed by the platform create more issues than are worth dealing with.

I'd recommend ditching the OpenVZ VPS and instead using a VPS providers that uses Xen, KVM, etc., where this isn't an issue.

share|improve this answer
Which VPS provider would you recomend me? – Zango Jan 21 '13 at 16:06
I need it just for fund, but want it to be stable. – Zango Jan 21 '13 at 16:19
@Zango - I've been a Linode customer for ~7 years and have had a great experience. – EEAA Jan 21 '13 at 20:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.