OpenVZ Forum


Home » General » Support » [how-to] allocating disk quota / memory / cpu
Re: [how-to] allocating disk quota / memory / cpu [message #29403 is a reply to message #2712] Sat, 12 April 2008 05:10 Go to previous messageGo to previous message
SoftDux is currently offline  SoftDux
Messages: 55
Registered: November 2007
Location: Johannesburg, South Afric...
Member
zoom wrote on Tue, 18 April 2006 00:17




example: 4GB quota for VPS 100
Remember that disk quota block size for OpenVZ is 1024 Bytes

vzctl set 100 --diskspace 4194304:4718592
(VPS 100 softlimit 4G, hardlimit 4.5G)

vzctl set 100 --quotatime 86400
(VPS 100 can exceed the softlimit for 1 day)

Look at the user guide again it's very good and explaining how quotas are used in OpenVZ.





Thank you for the great explanation. What happens if the VE, in this example, use more than 4GB for more than 1 day (say 2 days)? Will it crash? Or what will happen?
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: can't connect to public VPS randomly
Next Topic: max. amount of memory for ve limited?
Goto Forum:
  


Current Time: Wed Jul 10 15:17:30 GMT 2024

Total time taken to generate the page: 0.02599 seconds