forked from DevOps/deploy.stack
添加了 `limits.conf` 和 `sysctl.conf` 配置文件,用于优化系统资源限制、网络性能和安全性。这些配置包括增加文件句柄数、优化TCP连接、防止资源耗尽以及增强系统安全性等。
9 lines
282 B
Plaintext
9 lines
282 B
Plaintext
#<domain> <type> <item> <value>
|
|
#
|
|
|
|
* soft nproc 65535
|
|
* hard nproc 65535
|
|
* soft nofile 65535
|
|
* hard nofile 65535
|
|
root soft nofile 65535
|
|
root hard nofile 65535 |