[Linux] Wildcard * not working for nproc
I needed to expand the number of open files or processes for linux systems because HBase demands it. But one day realized that the limits.conf won't take the * wildcard for 'nproc'. It absuredly works for 'nofile'.
So here is how /etc/security/limits.conf suppose to look
# max number of open files *Ā Ā hardĀ Ā Ā nofileĀ 1000000 *Ā Ā softĀ Ā Ā nofileĀ 1000000 # max number of processes; DO NOT USE * for nproc hbase Ā softĀ Ā Ā nprocĀ Ā 320000 hbase Ā hardĀ Ā Ā nprocĀ Ā 320000











