mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
8c8500aaef
- also use kqueue to monitor files within a monitored directory - tremendously improve the scalability of the backend when monitoring very large directories - periodically attempt to switch polled files to kqueue notification - do not perform an extra useless lstat() when a missing file is created - code cleanups Approved by: marcus
17 lines
704 B
Plaintext
17 lines
704 B
Plaintext
===============================================================================
|
|
|
|
Gamin will only provide realtime notification of changes for at most n files,
|
|
where n is the minimum value between (kern.maxfiles * 0.7) and
|
|
(kern.maxfilesperproc - 200). Beyond that limit, files will be polled.
|
|
|
|
If you often open several large folders with Nautilus, you might want to
|
|
increase the kern.maxfiles tunable (you do not need to set
|
|
kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles).
|
|
|
|
For a typical desktop, add the following line to /boot/loader.conf, then
|
|
reboot the system:
|
|
|
|
kern.maxfiles="25000"
|
|
|
|
===============================================================================
|