Posted on 2011-10-26
Last Modified: 2012-05-12
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?
Question by:lolaferrari
    LVL 68

    Expert Comment

    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.
    LVL 31

    Expert Comment

    No, you don't need to. As soon as you save your file, it gets into effect.
    LVL 68

    Accepted Solution

    sshd doesn't need a restart. The shells (or scp/sftp) started by sshd will recognize the new limits, and that's sufficient,

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
    This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now