How do you change limits in Linux?

Nguyễn Trà

New member
How do you change limits in Linux?
Answer
To Increase the File Descriptor
Limit (
Linux )

  1. Display the current hard
    limit of your machine. …
  2. Edit the /etc/security/
    limits .
    conf and add the lines: * soft nofile 1024 * hard nofile 65535.
  3. Edit the /etc/pam.d/login by adding the line: session required /lib/security/pam_limits.so.
 

Tìm kiếm

Back
Top