Inotify not delivering changes on time for DHCP module


smart-proxy DHCP module contains an inotify observer on Linux (different one on BSD) which tracks changes of dhcpd.leases file and fires up cache reload. However I have a report that these changes are not propagating quickly enough and are “randomly” delivered late.

Have anyone experienced this mis-behavior? I am wondering what can cause this, probably queue filling up by another process. The instance uses the default setting:

# sysctl -a | grep inotify
fs.inotify.max_queued_events = 16384
fs.inotify.max_user_instances = 128
fs.inotify.max_user_watches = 8192

Any help appreciated. Thanks.