From 030449898610e14000dd7c5cd717b099754c21fa Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 1 Aug 2022 21:14:16 +0200 Subject: [PATCH] VEGAS/ipfs: raise LimitNOFILE --- hosts/VEGAS/services/ipfs/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/hosts/VEGAS/services/ipfs/default.nix b/hosts/VEGAS/services/ipfs/default.nix index f9aff9a..f8c9267 100644 --- a/hosts/VEGAS/services/ipfs/default.nix +++ b/hosts/VEGAS/services/ipfs/default.nix @@ -10,12 +10,15 @@ in aspect.modules.ipfs ]; - systemd.services.ipfs.environment = { - OTEL_TRACES_EXPORTER = "otlp"; - OTEL_EXPORTER_OTLP_PROTOCOL = "grpc"; - OTEL_EXPORTER_OTLP_ENDPOINT = config.links.tempo-otlp-grpc.url; - OTEL_TRACES_SAMPLER = "parentbased_traceidratio"; - OTEL_TRACES_SAMPLER_ARG = "0.01"; + systemd.services.ipfs = { + serviceConfig.LimitNOFILE = 524288; + environment = { + OTEL_TRACES_EXPORTER = "otlp"; + OTEL_EXPORTER_OTLP_PROTOCOL = "grpc"; + OTEL_EXPORTER_OTLP_ENDPOINT = config.links.tempo-otlp-grpc.url; + OTEL_TRACES_SAMPLER = "parentbased_traceidratio"; + OTEL_TRACES_SAMPLER_ARG = "0.01"; + }; }; systemd.slices.remotefshost.sliceConfig = {