ssh 连接普通用户 报这个错误


-bash: fork: retry: No child processes

解决办法:

更改vi /etc/security/limits.d/20-nproc.conf
 
有的是更改vi /etc/security/limits.d/90-nproc.conf
 
*          soft    nproc     4096
 
root       soft    nproc     unlimited
 
  
 
把4096更改为更大或者unlimited