It's a tremendous PITA for the user to do this at the system level on a mac, where it is sorely needed. This commit allows raising to a desired minimum level, but won't decrease from an already larger soft limit. refs: https://github.com/wez/wezterm/discussions/3353
460 B
460 B
ulimit_nofile = 2048
{{since('nightly')}}
On Unix systems, specifies the minimum desirable value for the RLIMIT_NOFILE
soft limit.
That system parameter controls the maximum number of file descriptors that a given process is permitted to open.
On startup, wezterm will inspect the soft and hard limits, and if the soft
limit is below the value of the ulimit_nofile option, wezterm will attempt to
raise it to min(ulimit_nofile, hard_limit).