In the Stratos Datacenter, our Storage server is encountering performance degradation due to excessive processes held by the nfsuser user. To mitigate this issue, we need to enforce limitations on its maximum processes. Please set the maximum process limits as specified below:
a. Set the soft limit to 1025
b. Set the hard limit to 2026
-
SSH into the Server:
ssh natasha@ststor01
-
Switch to Root User:
sudo su
-
Check the
nfsuser
ID:id nfsuser
-
Edit the Limits Configuration File:
vi /etc/security/limits.conf
-
Add or Modify Limits for
nfsuser
:-
Add the following lines to set the soft and hard limits for the
nfsuser
:#@student - maxlogins 4 nfsuser soft nproc 1025 nfsuser hard nproc 2026
-
ulimit -u