When trying to restart a VPS on a node with SolusVM OR Virtuzzo installed, you will receive an error as below.
vzquota : (error) Quota on syscall for id 101: Device or resource busy
vzquota : (error) Possible reasons:
vzquota : (error) – Container’s root is already mounted
vzquota : (error) – there are opened files inside Container’s private area
vzquota : (error) – your current working directory is inside Container’s
vzquota : (error) private area
vzquota : (error) Currently used file(s):
Read the error message carefully and you will know that it is due to a file/directory open OR being processed. This is the reason you are unable to restart the VPS.
lsof 2>&1 | grep ‘/vz/private/101’
The above command will show the pid (ProcessID) of the file. Here 101 is the CTID. Replace it with your actual CTID set for VPS. You have to kill it & restart the VPS. VPS will be restarted without any issues/errors.