Systemctl Error: No space left on device when starting/stopping services only

Error: No space left on device when starting/stopping services only

Sometimes we may face an error like this on starting/stopping services even if there is enough space in the disk.

This error is due to too few watchers for inotify.

The problem can be fixed by increasing the watchers.

Step1: Open the file '/etc/sysctl.conf adding'.

#vi /etc/sysctl.conf adding

Step2: Update the following value.

fs.inotify.max_user_watches = 1048576

Step3: Reload the configuration.

sysctl -p

That's all…

Leave a Reply

Your email address will not be published. Required fields are marked *