dinky icon indicating copy to clipboard operation
dinky copied to clipboard

[Bug] [Data Development - Project] Multiple people use Dinky to write Flink-SQL at the same time, and the problem of the entire service of dinky will not respond every once in a while

Open adu-shzz opened this issue 11 months ago • 2 comments

Search before asking

  • [x] I had searched in the issues and found no similar issues.

What happened

如标题所述,同时2~6个人在 【数据开发 => 项目】 界面中编写 Flink-SQL,每隔一段时间就会出现 dinky 服务不影响,刷新浏览器也没效果,只能重启 dinky server 才能解决。 而仅有1个人使用的情况下,连续一周甚至1个月都正常,不会出现此问题。

这个时间间隔无规律,有时1小时,有时刚重启,使用不到2分钟就不响应,看日志只发现这个: [dinky] 2025-02-17 16:13:33.329 ERROR 27365 --- [ XNIO-1 I/O-1] org.dinky.ws.GlobalWebSocket: Error sending sse data:UT000094: Blocking await method called from IO thread. Blocking IO must be dispatched to a worker thread or deadlocks will result.

看起来像是 dinky server 的线程池用完了,不确定是否这个原因导致的。

What you expected to happen

期望:多人同时使用 dinky,能稳定使用,无需重启 dinky server。

How to reproduce

只需多人同时使用,过一段时间就能复现此问题了。

Anything else

No response

Version

1.2.1

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

adu-shzz avatar Feb 17 '25 08:02 adu-shzz

Hello @adu-shzz, this issue is about web, so I assign it to @Zzm0809. If you have any questions, you can comment and reply.

你好 @adu-shzz, 这个 issue 是关于 web 的,所以我把它分配给了 @Zzm0809。如有任何问题,可以评论回复。

github-actions[bot] avatar Feb 17 '25 08:02 github-actions[bot]

Hello @, this issue has not been active for more than 30 days. This issue will be closed in 7 days if there is no response. If you have any questions, you can comment and reply.

你好 @, 这个 issue 30 天内没有活跃,7 天后将关闭,如需回复,可以评论回复。

github-actions[bot] avatar Apr 01 '25 00:04 github-actions[bot]