max user processes" must not be less than 120000 (Current value: 4096),

Please execute echo -e "* soft nproc 120000\n* hard nproc 120000" >> /etc/security/limits.d/nproc.conf as root in 127.0.0.1. if it dosen’t work, please check whether UsePAM is yes in /etc/ssh/sshd_config.

看不明白,这怎么更改?


这 几个值在哪里更改?

/etc/security/limits.d/nproc.conf
安装提示这个文件需要更改,但是转到超级用户后用VIM打开后发现里面没有相应参数?

Check before start observer x
[ERROR] OBD-1007: (127.0.0.1) The value of the ulimit parameter “max user processes” must not be less than 120000 (Current value: 4096), Please execute echo -e "* soft nproc 120000\n* hard nproc 120000" >> /etc/security/limits.d/nproc.conf as root in 127.0.0.1. if it dosen’t work, please check whether UsePAM is yes in /etc/ssh/sshd_config.
[WARN] OBD-1007: (127.0.0.1) The recommended number of core file size is unlimited (Current value: 0)
[WARN] OBD-1007: (127.0.0.1) The recommended number of stack size is unlimited (Current value: 8192)
[WARN] OBD-1017: (127.0.0.1) The value of the “vm.max_map_count” must be within [327600, 1310720] (Current value: 65530, Recommended value: 655360)
[WARN] OBD-1017: (127.0.0.1) The value of the “fs.file-max” must be greater than 6573688 (Current value: 3204278, Recommended value: 6573688)
[WARN] OBD-1012: (127.0.0.1) clog and data use the same disk (/home)

直接在root执行这个就可以了

1 个赞

执行后,数据库已经启动,感谢老师指导!