limits.conf

Do you have to restart the machine to get the hard limit setting to kick in? Do you have to restart sshd for the soft limits to kick in?
lolaferrariAsked:
Who is Participating?
 
woolmilkporcCommented:
sshd doesn't need a restart. The shells (or scp/sftp) started by sshd will recognize the new limits, and that's sufficient,
0
 
woolmilkporcCommented:
Just log out and log in to make the new values known to your shell.

Restart background processes, if needed.

Reboot only if some processes cannot be restarted but need to know the modifications.
0
 
farzanjCommented:
No, you don't need to. As soon as you save your file, it gets into effect.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.