Minggu, 22 Agustus 2021

LSYNCD-error termination watch

 

Error: Terminating since out of inotify watches.

Question The following messages is logged in container: Wed Jan 29 15:11:01 2014 Error: Terminating since out of inotify watches.Wed Jan 29 15:11:01 2014 Error: Consider increasing /proc/sys/fs/inotify/max_user_watchesWed Jan 29 15:25:00 2014 Error...

Sep 12, 2018Knowledge
Applies To
Body

Question

The following messages is logged in container:

Wed Jan 29 15:11:01 2014 Error: Terminating since out of inotify watches.
Wed Jan 29 15:11:01 2014 Error: Consider increasing /proc/sys/fs/inotify/max_user_watches
Wed Jan 29 15:25:00 2014 Error: Terminating since out of inotify watches.
Wed Jan 29 15:25:00 2014 Error: Consider increasing /proc/sys/fs/inotify/max_user_watches

How to increase max_user_watches in container?

Answer

It is possible to change the max_user_watches limit on the hardware node only. This will raise the limit for all containers.

Increase the limit on the node:

[root@vz ~]# sysctl -w fs.inotify.max_user_watches=100000

To save it across reboots, redirect the output to sysctl configuration file:

[root@vz ~]# sysctl -w fs.inotify.max_user_watches=100000 >> /etc/sysctl.conf
Keywords
Title
Error: Terminating since out of inotify watches.
URL Name
000014388

Tidak ada komentar:

Posting Komentar