dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[BUG] MasterExecThread frequently create/destroy thread pool.

Open taiyi-demon opened this issue 6 years ago • 4 comments

Describe the bug In branch dev-1.3.0, MasterExecThread frequently create and destroy thread pool. Furthermore, you only use the thread pool once each time, why do you frequently create and destroy thread pool? it's a misuse!

在 dev-1.3.0分支中,MasterExecThread 线程中频繁的进行线程池的创建和销毁。更进一步来说,既然每次只使用一次线程池,为啥要频繁的创建和销毁呢?这显然是一种线程池的错误使用方式!

Screenshots 1 1 2 1 3

taiyi-demon avatar May 14 '20 03:05 taiyi-demon

good idea, thread is a heavy resource in the Operating System we will update policy in use Thread

davidzollo avatar Jun 10 '20 09:06 davidzollo

@qiaozhanwei Please confirm the issue  

xingchun-chen avatar Jul 14 '20 09:07 xingchun-chen

OK, I will fix this issue. @qiaozhanwei @xingchun-chen

hermeshephaestus avatar Oct 02 '20 03:10 hermeshephaestus

We will focus on discussing and optimizing these issues in the near future. You can read this and follow this issue #4983. You are very welcome to participate.

CalvinKirs avatar Nov 27 '20 09:11 CalvinKirs