Virtual Machines


Virtual Machines

Documentation > Products > Virtual Machines > It prompts insufficient space when Linux system views log by tail

It Prompts Insufficient Space When Linux System Views Log by tail

Problem Phenomenon:

When the Linux VM views the log by tail, it prompts insufficient space. The error message is as follows:

Problem Causes:

The tail operation requires system monitoring quota. The number of watch added by the same user exceeds max_user_watches parameter configuration of the kernel, leading to the problem.


Modify /proc/sys/fs/inotify/max_user_watches to a larger value:

sudo sysctl fs.inotify.max_user_watches=8192 # Take 8192 as an example, this mode takes effect temporarily

To take effect permanently, you need to modify /etc/sysctl.conf, add max_user_watches=8192, and then take effect by the following command:

sysctl -p

If your problem still can not solved, please submit open ticket to us.

Update Time:2019-08-28 21:38:32