192.168.3.201 limits Fail soft limit of 'stack' for user 'tidb' is not set or too low
192.168.3.201 limits Fail soft limit of 'nofile' for user 'tidb' is not set or too low
192.168.3.201 limits Fail hard limit of 'nofile' for user 'tidb' is not set or too low
192.168.3.200 sysctl Fail net.ipv4.tcp_syncookies = 1, should be 0
这种在/etc/security/limits.d/ 目录中独立设置用户资源限制,是 linux 系统中的标准。/etc/security/limits.conf 中描述如下:
[root@idc1-sjcredit-tiup ~]# cat /etc/security/limits.conf
# /etc/security/limits.conf
#
#This file sets the resource limits for the users logged in via PAM.
#It does not affect resource limits of the system services.
#
#Also note that configuration files in /etc/security/limits.d directory,
#which are read in alphabetical order, override the settings in this
#file in case the domain is the same or more specific.
#That means, for example, that setting a limit for wildcard domain here
#can be overridden with a wildcard setting in a config file in the
#subdirectory, but a user specific setting here can be overridden only
#with a user specific setting in the subdirectory.
#
#Each line describes a limit for a user in the form: