From 3a4d724068013b8ef1550eb4eda3310dd5be285e Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 1 Oct 2021 18:53:03 +0200 Subject: ma stats/server: up NOFILE Limit --- makefu/2configs/stats/server.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'makefu') diff --git a/makefu/2configs/stats/server.nix b/makefu/2configs/stats/server.nix index 52fb28a03..679bfd65c 100644 --- a/makefu/2configs/stats/server.nix +++ b/makefu/2configs/stats/server.nix @@ -14,6 +14,8 @@ in { services.grafana.addr = "0.0.0.0"; services.influxdb.enable = true; + systemd.services.influxdb.serviceConfig.LimitNOFILE = 8192; + # redirect grafana to stats.makefu.r services.nginx.enable = true; services.nginx.virtualHosts."stats.makefu.r".locations."/".proxyPass = "http://localhost:3000"; -- cgit v1.2.3