forked from DevOps/deploy.stack
chore: 添加系统安全与性能优化配置文件
添加了 `limits.conf` 和 `sysctl.conf` 配置文件,用于优化系统资源限制、网络性能和安全性。这些配置包括增加文件句柄数、优化TCP连接、防止资源耗尽以及增强系统安全性等。
This commit is contained in:
9
etc/security/limits.conf
Normal file
9
etc/security/limits.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
#<domain> <type> <item> <value>
|
||||
#
|
||||
|
||||
* soft nproc 65535
|
||||
* hard nproc 65535
|
||||
* soft nofile 65535
|
||||
* hard nofile 65535
|
||||
root soft nofile 65535
|
||||
root hard nofile 65535
|
||||
Reference in New Issue
Block a user