Skip to content

建议PowerJobWorkerConfig提供线程池参数配置,默认10倍核心数导致线程数暴涨 #1102

@qianyong198765

Description

@qianyong198765

Image

在使用JDK1.8 8u131-的版本时,JVM无法感知容器环境,Runtime.getRuntime().availableProcessors()返回了宿主机的CPU核心数,最终导致一台4C8G的容器创建了320个powerjob相关的线程。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions