Low inotify watches Print

  • 3

 
OpenVZ/Virtuozzo users:  You cannot modify the inotify watches. Please ask your service provider to modify it at the node level. If The server provider does not modify the settings, please disable Instant Watch in your Pyxsoft Interface.
 
The Instant Scan depends on the inotify watches system, provided by the Linux Kernel.

Every Linux installation has a specific amount of inotify watches set by default.

If you want to know how many inotify watches your system has, execute the next command:

# cat /proc/sys/fs/inotify/max_user_watches

You will need one inotify watch per watched directory. Thus, the more directories on the server, the greater the amount of things that will be needed.

You can increase the number of inotify watches performing the next procedure:

CentOS/RHEL/CloudLinux/Debian/Ubuntu:
 
Execute the next command as root user:

NV=999999; sed -ni -e '/^fs.inotify.max_user_watches=/!p' -e "\$afs.inotify.max_user_watches=${NV}" /etc/sysctl.conf; sysctl -p

Increase the number 999999 as your needings.

And finally, restart the pyxsoft service. We provide an OS agnosic script:

/opt/pyxsoft/servicectl restart pyxsoft
 
 
 

Was this answer helpful?

« Back