Low inotify watches

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:

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
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Cannot connect to Pyxsoft interface

If you cannot see the Pyxsoft Interface after installation or upgrade, please follow the next...

WordPress captcha appears over and over

Sometimes we have seen the WordPress captcha appear over and over again despite typing the...