How Do You Set a Hard Limit in Linux?
Contents How Do I Permanently Set Ulimit in Linux? to Set or Verify the Ulimit Values on Linux: Log in as the Root User. Edit the /Etc/Security/Limits. Conf...
Contents
How do I permanently set Ulimit in Linux?
To set or verify the ulimit values on Linux:
- Log in as the root user.
- Edit the /etc/security/limits.conf file and specify the following values: admin_user_ID soft nofile 32768. admin_user_ID hard nofile 65536. …
- Log in as the admin_user_ID .
- Restart the system: esadmin system stopall. esadmin system startall.
Must Read
How check hard and soft limits in Linux?
- Display the current soft limit for stack: $ ulimit -s 32768.
- Display the current hard limit (maximum) for stack: $ ulimit -H -s 4194304.
- Set the stack soft limit to some value between the current and the maximum: $ ulimit -s 65536.
- Start the enterprise server with the new stack limit in effect: $ casstart.