1[ 2{ type: install 3 message: <<EOM 4Gamin will only provide realtime notification of changes for at most n files, 5where n is the minimum value between (kern.maxfiles * 0.7) and 6(kern.maxfilesperproc - 200). Beyond that limit, files will be polled. 7 8If you often open several large folders with Nautilus, you might want to 9increase the kern.maxfiles tunable (you do not need to set 10kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles). 11 12For a typical desktop, add the following line to /boot/loader.conf, then 13reboot the system: 14 15 kern.maxfiles="25000" 16 17The behavior of gamin can be controlled via the various gaminrc files. 18See http://www.gnome.org/~veillard/gamin/config.html on how to create 19these files. In particular, if you find gam_server is taking up too much 20CPU time polling for changes, something like the following may help 21in one of the gaminrc files: 22 23# reduce polling frequency to once per 10 seconds 24# for UFS file systems in order to lower CPU load 25fsset ufs poll 10 26EOM 27} 28] 29