Skip to content

Commit

Permalink
nixos/samba: increase LimitNOFILE to recommended value (#32085)
Browse files Browse the repository at this point in the history
fixes warning:

    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)

https://serverfault.com/a/641411
  • Loading branch information
davidak authored and joachifm committed Dec 14, 2017
1 parent fbc452c commit ffc0bfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/network-filesystems/samba.nix
Expand Up @@ -56,6 +56,7 @@ let
serviceConfig = {
ExecStart = "${samba}/sbin/${appName} ${args}";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
LimitNOFILE = 16384;
Type = "notify";
};

Expand Down

0 comments on commit ffc0bfa

Please sign in to comment.