Failed to execute / bin / bash: resource temporarily unavailable

[[email protected] config]# su-mform
Last login: Mon 08:05 CST 2018 on PTS /4
su: failed to execute /bin/bash: Resource temporarily unavailable
[[email protected] config] #
[[email protected] config] #
[[email protected] config] # egrep – v $| “^ ^ #”/etc/security/limits. D/20 – nproc. Conf
* soft Nproc 4096
root soft nproc unlimited
root
[[email protected] config]# su-mform
Last login: Mon 16:16:25 CST 2018 on PTS /4
su: Failed to execute /bin/bash: Resource questions have no further use
[[email protected] config]#
[[email protected] config]#

[[email protected] config] #

# will default value instead of 4096 8192

[[email protected] config] # vim/etc/security/limits. D/20 – nproc. Conf
[[email protected] config] # egrep – v $| “^ ^ #”/etc/security/limits. D/20 – nproc. Conf
* soft nproc 8192
root soft nproc unlimited
[[email protected] config]# su-mform
Last login: Mon 16 14:16:49 CST 2018 on PTS /4
[[email protected] ~]$id
uid=1002(mform) gid=1003(mform) groups=1003(mform)

Read More: