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
461 B
461 B
ulimit_nproc = 2048
{{since('nightly')}}
On Unix systems, specifies the minimum desirable value for the RLIMIT_NPROC
soft limit.
That system parameter controls the maximum number of simultaneous processes that a given user is permitted to spawn.
On startup, wezterm will inspect the soft and hard limits, and if the soft
limit is below the value of the ulimit_nproc option, wezterm will attempt to
raise it to min(ulimit_nproc, hard_limit).