diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2019-05-14 11:38:25 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2019-05-14 11:38:25 +0200 |
| commit | 1a2c29203529f4317e9135ffcedb2859ad79043e (patch) | |
| tree | b3d30009a7f4221608a798f970f0a7d1fb310d6e | |
| parent | dd8dc2bfdb522be640521059cb9a95dc92ca8c70 (diff) | |
| parent | 26ae4197da9e7777798a725b15fd5d6f487438e8 (diff) | |
| download | mullvadvpn-1a2c29203529f4317e9135ffcedb2859ad79043e.tar.xz mullvadvpn-1a2c29203529f4317e9135ffcedb2859ad79043e.zip | |
Merge branch 'increase-macos-fd-limit'
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rwxr-xr-x | dist-assets/pkg-scripts/postinstall | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a760a8d35..2e704fd415 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,9 @@ Line wrap the file at 100 chars. Th - Stop allowing the wrong IPv6 net fe02::/16 in the firewall when allow local network was enabled. Instead allow the correct multicast nets ff02::/16 and ff05::/16. +#### macOS +- Raise max number of open files for the daemon to 1024. Should prevent threads from panicking. + ## [2019.4-beta1] - 2019-05-02 ### Added diff --git a/dist-assets/pkg-scripts/postinstall b/dist-assets/pkg-scripts/postinstall index e213c73b62..3b784506e5 100755 --- a/dist-assets/pkg-scripts/postinstall +++ b/dist-assets/pkg-scripts/postinstall @@ -35,6 +35,12 @@ DAEMON_PLIST=$(cat <<-EOM <key>KeepAlive</key> <true/> + <key>SoftResourceLimits</key> + <dict> + <key>NumberOfFiles</key> + <integer>1024</integer> + </dict> + <key>StandardErrorPath</key> <string>$LOG_DIR/stderr.log</string> </dict> |
