-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
可能与Netty存在冲突 #122
Comments
wisp通过在线程进入阻塞的逻辑处添加进入协程调度的逻辑来进行透明切换,netty 框架中 的JNI中的无法切换。 请尝试下使用 -Dio.netty.noUnsafe=true 来强制netty 使用 Nio而非netty transport里面的epoll. |
请参考文档的这部分 https://github.com/alibaba/dragonwell8/wiki/Wisp-Documentation#limitations Please refer to this part of the document https://github.com/alibaba/dragonwell8/wiki/Wisp-Documentation#limitations |
多谢两位,-Dio.netty.noUnsafe=true不行,但通过-Dio.netty.transport.noNative=true可以解决。 |
Description
A clear and concise description of what the bug is.
Steps to Reproduce
Steps to reproduce the behavior:
开启wisp2参数后,发现凡是依赖netty的服务存在问题,具体现象为:可以正常启动,但是凡是涉及通过netty走nio进行远程访问时,访问不通,长时间handle无响应;
Expected behavior
未抛出异常;
JDK version
使用8.4.4版本
Execution environment
The text was updated successfully, but these errors were encountered: