-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
最新ali cloud 链接 nacos 在 window 一直403,同时系统一直循环卡住 nacos 授权异常四五分钟(mac 下正常。) #12949
Comments
我认为这大概率和nacos没什么关系, nacos-client只会同步进行一次login,无论成功失败都会转为异步login,不会阻塞。 如mac 系统中的行为。 我认为大概率是应用中别的什么资源阻塞了启动,可以使用jstack指令,打印堆栈信息看一下。 |
@KomachiSion 实际情况就是这样啊。而且叫了10个开发同事试试,都这样。稍等,我提供异常的堆栈信息 |
@KomachiSion 这是汲取的一段,还麻烦分析下(下面是在 window 下的。mac 正常的我就没提供了)
|
"main" #1 [9264] prio=5 os_prio=0 cpu=6421.88ms elapsed=69.18s tid=0x000001656b16d4b0 nid=9264 runnable [0x00000048042fa000] 可以看到main线程卡在连接数据库上了,对应的看起来在做域名解析 应该向着这个方向去排查一下 |
@KomachiSion 非常感谢。确实是数据库问题。目前druid 连接池配置改为异步初始化已恢复正常。具体原因我自己在看看(感觉是初始化连接数过多了,initial-size 20看着也不是很多) |
Describe the bug
mac.mp4
win.mp4
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: