Malahal has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/465631 )
Change subject: Fix max open files limit for ganesha daemon
......................................................................
Fix max open files limit for ganesha daemon
The current method involves setting proper resource limit using prlimit
command after starting the daemon, and then calling a dbus method to
recalculate the open fd limit.
systemd environment file and environment variables are used only in
Exec* lines but not setting limits like this. The best way to teach
systemd to start the daemon with a correct resource limit is having a
drop-in configuration file, a bit tedious but works!
Change-Id: I1c8332ca5f1e49073ac9fb9d74ce310bf652ff68
Signed-off-by: Malahal Naineni <malahal(a)us.ibm.com>
---
M src/scripts/nfs-ganesha-config.sh
M src/scripts/systemd/nfs-ganesha.service.debian8
M src/scripts/systemd/nfs-ganesha.service.el7
3 files changed, 7 insertions(+), 6 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/31/465631/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/465631
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I1c8332ca5f1e49073ac9fb9d74ce310bf652ff68
Gerrit-Change-Number: 465631
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <malahal(a)gmail.com>
Gerrit-MessageType: newchange