You are not logged in.
Hi,
I'd like to set nice value of the nfsd processes on my NFS server to 19 by default. On Debian there is the file /etc/default/nfs-kernel-server which contains
# Runtime priority of server (see nice(1))
RPCNFSDPRIORITY=0
Unfortunately, I can't find something similar in /etc/conf.d/nfs-server.conf:
# Parameters to be passed to nfs-server init script.
#
# Options to pass to rpc.nfsd.
# See rpc.nfsd(8) for more details.
NFSD_OPTS=""
# Number of servers to start up; the default is 8 servers.
NFSD_COUNT=""
# Where to mount nfsd filesystem; the default is "/proc/fs/nfsd".
PROCNFSD_MOUNTPOINT=""
# Options used to mount nfsd filesystem; the default is "rw,nodev,noexec,nosuid".
PROCNFSD_MOUNTOPTS=""
# Options for rpc.mountd.
# If you have a port-based firewall, you might want to set up
# a fixed port here using the --port option.
# See rpc.mountd(8) for more details.
MOUNTD_OPTS=""
# Do you want to start the svcgssd daemon? It is only required for Kerberos
# exports. Valid alternatives are "yes" and "no"; the default is "no".
NEED_SVCGSSD=""
# Options to pass to rpc.svcgssd.
# See rpc.svcgssd(8) for more details.
SVCGSSD_OPTS=""
Does anyone know how to accomplish this?
Thanks in advance,
Holzhaus
Offline
See man:systemd.exec(5), there are tunables like Nice=, IOSchedulingPriority=, etc..
You can override the system-installed unit as explained here: https://wiki.archlinux.org/index.php/Sy … unit_files
Offline