From bd52e99e1e1908ac29c8497800252e343649ceb0819407d0590ac683d73ce43c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 22 Nov 2016 10:44:16 +0000 Subject: [PATCH] Accepting request 441232 from home:michals Increase limit on file descriptors (bsc#998399) (fate#321645) OBS-URL: https://build.opensuse.org/request/show/441232 OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=57 --- Set-fd-limit.patch | 11 +++++++++++ irqbalance.changes | 5 +++++ irqbalance.spec | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 Set-fd-limit.patch diff --git a/Set-fd-limit.patch b/Set-fd-limit.patch new file mode 100644 index 0000000..90ef842 --- /dev/null +++ b/Set-fd-limit.patch @@ -0,0 +1,11 @@ +diff -ur irqbalance-1.0.7.orig/misc/irqbalance.service irqbalance-1.0.7/misc/irqbalance.service +--- irqbalance-1.0.7.orig/misc/irqbalance.service 2013-09-25 13:32:23.000000000 +0200 ++++ irqbalance-1.0.7/misc/irqbalance.service 2016-10-14 15:30:11.873319592 +0200 +@@ -5,6 +5,7 @@ + [Service] + EnvironmentFile=/path/to/irqbalance.env + ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS ++LimitNOFILE=4096 + + [Install] + WantedBy=multi-user.target diff --git a/irqbalance.changes b/irqbalance.changes index dca7bc4..110cc3c 100644 --- a/irqbalance.changes +++ b/irqbalance.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 14 13:31:38 UTC 2016 - msuchanek@suse.com + +- Increase limit on file descriptors (bsc#998399) (fate#321645) + ------------------------------------------------------------------- Tue Feb 23 10:11:19 UTC 2016 - schwab@suse.de diff --git a/irqbalance.spec b/irqbalance.spec index a460c55..cb0da98 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -26,6 +26,7 @@ Url: https://github.com/Irqbalance/irqbalance Source: https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz Source3: sysconfig.irqbalance Patch1: fix-aarch64-support.patch +Patch2: Set-fd-limit.patch BuildRequires: libcap-ng-devel BuildRequires: libtool BuildRequires: systemd-rpm-macros @@ -45,6 +46,7 @@ being used for all IRQs. %prep %setup -q %patch1 -p1 +%patch2 -p1 %build NOCONFIGURE=1 ./autogen.sh