在 JBoss7 中,我们通过使用此限制了 Web 连接数
<connector name="https" scheme="https" protocol="HTTP/1.1" socket-binding="https" secure="true" max-connections="3000">
为
urn:jboss:domain:web:1.0
子系统被 urn:jboss:domain:undertow:1.2
取代在野蝇。如何设置 max-connections
在野蝇?我浏览了文档并没有找到匹配的属性。
谢谢
最佳答案
尝试在过滤器定义下添加
<filters>
<connection-limit name="limit-connections" max-concurrent-requests="3000" queue-size="100"/>
</filters>
然后在主机或位置添加(取决于您的需要)
<filter-ref name="limit-connections"/>
见 configuration example和 Model Reference
另请查看配置 Web 服务器池:http://www.javacodegeeks.com/2014/01/entering-undertow-web-server.html
关于wildfly - 为 Web 设置最大连接数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29825894/