Yugabyte recommends the following best practices for the YugabyteDB cluster:
[root@ydb-node2 ~]# cat /etc/security/limits.conf
* - core unlimited
* - data unlimited
* - fsize unlimited
* - sigpending 119934
* - memlock 64
* - rss unlimited
* - nofile 1048576
* - msgqueue 819200
* - stack 8192
* - cpu unlimited
* - nproc 12000
* - locks unlimited
* hard core unlimited
* soft core unlimited
[root@ydb-node2 ~]#
# cat /sys/kernel/mm/transparent_hugepage/enabled