- pike/lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike (+10/-1)(11 lines)
Filesystem.Monitor [Inotify]: Reduce the number of complaints.
The inotify kernel subsystem has a maximum number of concurrent
watchpoints (controlled via /proc/sys/fs/inotify/max_user_watches).
With the default at just 8192 it is not hard to run out of watchpoints,
at which point the subsystem will start to complain.
With this change only every ~100th failure of this type will be logged
- pike/lib/modules/Filesystem.pmod/Monitor.pmod/basic.pike (+2/-1)(3 lines)
Filesystem.Monitor [Inotify]: Always monitor explicitly added paths.
Fixes issue with symlinked root directories not being monitored.