commit 4a3fc36903aa928d2a62fce4d4f1db988d5494dd
parent 8cd845e756c616b97bfa19af0d98d87a96060309
Author: MTRNord <mtrnord1@gmail.com>
Date: Tue, 5 Sep 2023 19:30:47 +0200
Increase the noFile Limit
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/nixos/common/lib/pgbouncer.nix b/nixos/common/lib/pgbouncer.nix
@@ -22,6 +22,7 @@
description = "PgBouncer - PostgreSQL connection pooler";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
+ LimitNOFILE = 8192;
ExecStart = "${pkgs.pgbouncer}/bin/pgbouncer /etc/pgbouncer/pgbouncer.ini";
Restart = "always";
RestartSec = 5;