From 19f165484b51326d2ec670f07979af35cb82e347 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 20 Oct 2017 20:22:51 +0200 Subject: feat(adho): Configure larger local POSIX queue sizes Required for some testing at work. --- adho-configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/adho-configuration.nix b/adho-configuration.nix index 5374f62fd6a0..a9328925ab6a 100644 --- a/adho-configuration.nix +++ b/adho-configuration.nix @@ -28,4 +28,10 @@ }; hardware.bluetooth.enable = true; + + # Configure POSIX queue limits (for work) + systemd.tmpfiles.rules = let mqueue = "/proc/sys/fs/mqueue"; in [ + "w ${mqueue}/msgsize_max - - - - ${toString (64 * 1024)}" + "w ${mqueue}/msg_max - - - - 50" + ]; } -- cgit 1.4.1