You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Liu Zhao (Jira)" <ji...@apache.org> on 2023/04/27 08:41:00 UTC

[jira] [Created] (KYLIN-5538) JobServer线程泄露

Liu Zhao created KYLIN-5538:
-------------------------------

             Summary: JobServer线程泄露
                 Key: KYLIN-5538
                 URL: https://issues.apache.org/jira/browse/KYLIN-5538
             Project: Kylin
          Issue Type: Bug
          Components: Job Engine
    Affects Versions: v4.0.3, v4.0.2, v4.0.1, v4.0.0
            Reporter: Liu Zhao
         Attachments: image-2023-04-27-16-39-33-085.png, image-2023-04-27-16-39-40-312.png, image-2023-04-27-16-39-45-565.png, image-2023-04-27-16-39-54-859.png, image-2023-04-27-16-40-03-585.png, image-2023-04-27-16-40-09-304.png

发现kylin4在build job后都会重新new Broadcaster,Broadcaster构造器中会创建一个线程池然后执行任务不停的take广播事件。这个会导致每次构建完job都会创建线程,同时线程也会阻塞在takeFirst处,时间推移服务会不可用。
 !image-2023-04-27-16-39-33-085.png! 
 !image-2023-04-27-16-39-40-312.png! 
 !image-2023-04-27-16-39-45-565.png! 
 !image-2023-04-27-16-39-54-859.png! 
 !image-2023-04-27-16-40-03-585.png! 
 !image-2023-04-27-16-40-09-304.png! 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)