前段时间同事管理的一台DNS服务器,由于并发数太大,导致了日志中存在着大量这样的记录:
有错误的字面意思,就是需要提供可以打开的socket数量,可以在/etc/sysconfig/named中添加如下配置:
ulimit -HSn 200000 OPTIONS="-4 -S 8096"
然后保存,在重启named:
service named restart
时间: 2024-08-08 22:29:56
前段时间同事管理的一台DNS服务器,由于并发数太大,导致了日志中存在着大量这样的记录:
有错误的字面意思,就是需要提供可以打开的socket数量,可以在/etc/sysconfig/named中添加如下配置:
ulimit -HSn 200000 OPTIONS="-4 -S 8096"
然后保存,在重启named:
service named restart