Soft limit for maxfiles is NOT increased to the hard one on macOS #6206
Labels
bug
A problem with current functionality, as opposed to missing functionality (enhancement)
frozen-due-to-age
Issues closed and untouched for a long time, together with being locked for discussion
Milestone
Expected behaviour
During the startup, the soft limit for the number of concurrently open files, a.k.a.
maxfiles
inmacOS
, is increased up the hard one.Actual behaviour
During the startup, the soft limit for the number of concurrently open files, a.k.a.
maxfiles
inmacOS
, is not increased up to the hard one.During syncing of large directories, there are many "too many open files errors" on the
stdout
.Steps to reproduce
maxfiles
to an extremely small number (e.g. 30) and the hard one tounlimited
sudo launchctl limit maxfiles 30 unlimited
syncthing
Version Information
Syncthing Version: syncthing v1.3.1 "Fermium Flea" (go1.13.4 darwin-amd64)
OS Version: macOS 10.15.1 Catalina
The text was updated successfully, but these errors were encountered: