From f6fc04578b4dbc5eea1d572f4affacdec37f581f Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 5 Mar 2019 13:59:56 +0000 Subject: [PATCH] remove the lower file limit as we have lots of hosts and services needing open files --- roles/fedmsg/hub/templates/fedmsg-hub-systemd.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/fedmsg/hub/templates/fedmsg-hub-systemd.conf.j2 b/roles/fedmsg/hub/templates/fedmsg-hub-systemd.conf.j2 index 45f6b90d3d..05a76d7b56 100644 --- a/roles/fedmsg/hub/templates/fedmsg-hub-systemd.conf.j2 +++ b/roles/fedmsg/hub/templates/fedmsg-hub-systemd.conf.j2 @@ -13,6 +13,8 @@ LimitAS={{ (fedmsg_hub_memory_limit_mb|int + (ansible_memory_mb.swap.total / 2)) {% endif %} {% endif %} +LimitNOFILE=16384 + {% if fedmsg_hub_auto_restart %} Restart=on-failure {% if env == 'staging' %}