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
This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 1 days if no further activity occurs.
This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 1 days if no further activity occurs.
版本:0.9.3
问题:在单机测试环境,测试通过kill -2 kill -9 后会有一段时间提示端口号被占用
日志:panic: create netpoll listener fail: listen tcp 0.0.0.0:8523: bind: address already in use
-2 也看到了优雅停机的日志:
2024/10/14 17:45:08.359425 hertz.go:113: [Info] HERTZ: Received signal: interrupt
2024/10/14 17:45:08.359502 hertz.go:77: [Info] HERTZ: Begin graceful shutdown, wait at most num=5 seconds...
2024/10/14 17:45:08.361387 registry.go:121: [Info] HERTZ: deregister instance success
2024/10/14 17:45:08.361504 engine.go:314: [Info] HERTZ: Execute OnShutdownHooks finish
但重启应用,就会提示被占用。
启动命令:nohup ./xxxx &
The text was updated successfully, but these errors were encountered: