You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
找到解决方案了有客户端的也有服务端的。服务端的方案需要修改源码MocoAggregator.java文件中的channelReadComplete函数,在ctx.fireChannelReadComplete();后面加上ctx.close();这样在高并发时就不会出现no buffer space available的错误了。
原因是系统的端口数耗尽了,当请求数超过65535就开始出问题了。原因可能是服务端没有及时关闭连接,我以前用python也写过类似的socket挡板,压测时也出现过类似问题,主动在服务端处理完请求后,释放连接就不会报错了。开发大神能否给出解决方案。
The text was updated successfully, but these errors were encountered: