Re: Docker into OpenVZ container [message #52369 is a reply to message #52368] |
Sun, 27 March 2016 09:31 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
tburazin
Messages: 6 Registered: June 2015
|
Junior Member |
|
|
Hi locara,
the number of inodes is set per container. If you are experiencing a shortage of inodes you can check with the command:
vzctl exec CTID df -i
You can find some explanation regarding disk quotas here: https://openvz.org/Resource_shortage#Disk_quota
The command to change number of inodes is:
vzctl set CTID --diskinodes softlimit:hardlimit --save
eg:
vzctl set 101 --diskinodes 5000000:5500000 --save
The default size is 2000000:2200000 if I remember correctly and it's recommended to allocate 200000 inodes per GB hard drive (for softlimit) and 220000 inodes per GB hard drive (hardlimit)
You can go with a different amount, but be careful not to use up all your inodes on one container.
blog.codeanywhere.com/tag/tommy-burazin
|
|
|