Skip to content
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

运行时间超过几个小时报错 #8

Open
ly147369 opened this issue Jun 29, 2023 · 3 comments
Open

运行时间超过几个小时报错 #8

ly147369 opened this issue Jun 29, 2023 · 3 comments

Comments

@ly147369
Copy link

ly147369 commented Jun 29, 2023

当运行时间超过几个小时就会报这个错误

image
image

@ly147369
Copy link
Author

ly147369 commented Jul 3, 2023

求作者解答 万分感谢

@xizixuejie
Copy link
Owner

根据你的截图来看,很久没有收到消息,猜测可能是长时间未通讯断开连接,这个我也没遇到过。我一直用的kafka模式,要不你改下 canal 服务端的 canal.instance.network.soTimeout 配置试试看

@Hisioni
Copy link
Contributor

Hisioni commented Mar 16, 2024

问题原因可能由于是 ThreadPoolAutoConfiguration 里线程池配置:

new ThreadPoolExecutor(20, 100, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<>(1024), factory, new ThreadPoolExecutor.AbortPolicy());

一个事物里涉及到太多数据变化后,提交事物后将线程池占满了导致拒绝引起的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants