How to set ulimit values - Red Hat Customer Portal
Red Hat Enterprise Linux (RHEL) 5, 6, 7, 8 Settings in /etc/security/limits.conf take the following form: # vi /etc/security/limits.conf # * - core * - data * - priority * - fsize * soft sigpending eg:57344 * hard sigpending eg:57444 * - memlock * - nofile eg:1024 * - msgqueue eg:819200 * - locks * soft core * hard nofile @ hard nproc soft nproc % hard nproc hard nproc @ - maxlogins hard cpu soft cpu hard locks Exit and re-login from the terminal for the change to take effect.
https://access.redhat.com/solutions/61334