Difference between revisions of "Set I/O limit for OpenVz container"

From vpsget wiki
Jump to: navigation, search
(Created page with "The original wiki: http://openvz.org/I/O_limits To take a look if I/O limit set for some container you can run next command: cat /etc/vz/conf/1786.conf | grep IOLIMIT If...")
 
 
Line 7: Line 7:
 
If you see output like this:
 
If you see output like this:
 
  IOLIMIT="1048576"
 
  IOLIMIT="1048576"
Means I/O limit set to !Mb to current container.
+
Means I/O limit set to 1Mb for specified container.
 +
 
  
 
Set I/O limit :   
 
Set I/O limit :   

Latest revision as of 16:10, 7 July 2014

The original wiki: http://openvz.org/I/O_limits

To take a look if I/O limit set for some container you can run next command:

cat /etc/vz/conf/1786.conf  | grep IOLIMIT

If you see output like this:

IOLIMIT="1048576"

Means I/O limit set to 1Mb for specified container.


Set I/O limit :

vzctl set 1786 --iolimit 1M --save

You can also modify this value in container config file /etc/vz/conf/<CTID>