美文网首页
HAproxy-警告(Please raise 'ulimit-

HAproxy-警告(Please raise 'ulimit-

作者: 测绘小兵 | 来源:发表于2020-03-05 07:09 被阅读0次

Using poll() as the polling mechanism.
[WARNING] 331/192147 (17228) : [haproxy.main()] Cannot raise FD limit to 200014, limit is 3200.
[WARNING] 331/192147 (17228) : [haproxy.main()] FD limit (3200) too low for maxconn=100000/maxsock=200014. Please raise 'ulimit-n' to 200014 or more to avoid any trouble.


系统里的能打开的文件描述符太小,程序里的比较大,只要将系统里的FD重新调大就好。

ulimit -n 200014

查看系统FD值可以用 ulimit -a
参考:
https://blog.csdn.net/aa168b/article/details/50372649


Windows通过组策略设置开机自启动脚本
参考:
https://blog.csdn.net/kongxx/article/details/80621573

相关文章

网友评论

      本文标题:HAproxy-警告(Please raise 'ulimit-

      本文链接:https://www.haomeiwen.com/subject/yqkiwctx.html