-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Question]: gnet engine is stopping with error: kevent add|clear:function not implemented #552
Comments
怎么还是用的这个模板。。。算了,看起来相关的信息应该够了。 |
看起来像是你的 freebsd 系统没有 运行一下 |
你是在服务器上进行虚拟化还是桌面电脑的虚拟机软件?这个问题比较奇怪,可能是虚拟机的问题,我以前在 freebsd 云服务器上测试过是没问题的。 |
在我个人电脑上运行的虚拟机VMware® Workstation 17.0.0 build-20800274 |
This issue is marked as stale because it has been open for 30 days with no activity. You should take one of the following actions:
This issue will be automatically closed in 7 days if no further activity occurs. |
This issue is marked as stale because it has been open for 30 days with no activity. You should take one of the following actions:
This issue will be automatically closed in 7 days if no further activity occurs. |
This issue is marked as stale because it has been open for 30 days with no activity. You should take one of the following actions:
This issue will be automatically closed in 7 days if no further activity occurs. |
Actions I've taken before I'm here
Questions with details
gnet跑一个基于tcp的socket服务端.目标系统freebsd11.2
实现了onboot,onopen,onclose,onshutdown,ontraffic 接口.
启动时提示错误:
[gnet] 2024-03-19T20:45:28.808010602+08:00 ERROR [email protected]/engine_unix.go:282 gnet engine is stopping with error: kevent add|clear: function not implemented
github.com/panjf2000/gnet/v2.run
/root/go/pkg/mod/github.com/panjf2000/gnet/[email protected]/engine_unix.go:282
github.com/panjf2000/gnet/v2.Run
/root/go/pkg/mod/github.com/panjf2000/gnet/[email protected]/gnet.go:495
mt_server/Client.InitMtServer
/usr/zz/server1/game1/Client/Server.go:71
Code snippets (optional)
The text was updated successfully, but these errors were encountered: