Home > Article > System Tutorial > How to set the number of user handles and user processes in CentOS?
CentOS sets the number of user handles and the number of user processes
1. Number of user handles
vi /etc/security/limits.conf Add
at the end of the file# My add * softcore unlimit * hardcore unlimit * softfsizeunlimited * hardfsizeunlimited * softdata unlimited * harddata unlimited * softnproc65535 * hardnproc63535 * softstackunlimited * hardstackunlimited * softnofile409600 * hardnofile409600
2. Number of user processes
vim /etc/security/limits.d/90-nproc.conf
Change 1024 to 4096. By default, ordinary users are 1024. There is no limit for root
*softnproc 4096 root softnproc unlimited
The above is the detailed content of How to set the number of user handles and user processes in CentOS?. For more information, please follow other related articles on the PHP Chinese website!