From d02cd192bf2318ad47e443f6ddbc833d3f0055a8127d7933947ccae27ad23426 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Tue, 8 Dec 2015 12:53:06 +0000 Subject: [PATCH] Accepting request 347820 from home:elvigia:branches:Apache - systemd: Set TasksMax=infinity for current systemd releases. The default limit of 512 is too small and prevents the creation of new server processes. Apache has its own runtime/harcoded limits. OBS-URL: https://build.opensuse.org/request/show/347820 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=468 --- apache2.changes | 7 +++++++ apache2.service | 1 + apache2@.service | 1 + 3 files changed, 9 insertions(+) diff --git a/apache2.changes b/apache2.changes index 21c7b85..9e6ef87 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Dec 7 18:05:37 UTC 2015 - crrodriguez@opensuse.org + +- systemd: Set TasksMax=infinity for current systemd releases. + The default limit of 512 is too small and prevents the creation of + new server processes. Apache has its own runtime/harcoded limits. + ------------------------------------------------------------------- Thu Dec 3 10:00:28 UTC 2015 - pgajdos@suse.com diff --git a/apache2.service b/apache2.service index 268c403..6988107 100644 --- a/apache2.service +++ b/apache2.service @@ -11,6 +11,7 @@ ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start ExecReload=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop KillMode=mixed +TasksMax=infinity [Install] WantedBy=multi-user.target diff --git a/apache2@.service b/apache2@.service index b4ebe7a..16f2319 100644 --- a/apache2@.service +++ b/apache2@.service @@ -12,6 +12,7 @@ ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start ExecReload=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop KillMode=mixed +TasksMax=infinity [Install] WantedBy=multi-user.target