chengshiwen edited a comment on issue #5118: URL: https://github.com/apache/incubator-dolphinscheduler/issues/5118#issuecomment-811130529
> worker can work when the cpu is greater than the config value of worker.max.cpuload.avg @keepmeup This description is inaccurate. In fact, when the CPU load is lower than `worker.max.cpuload.avg` on a worker, a task dispatched to the worker can be executed. The following description is accurate: > only cpu avg load lower than `worker.max.cpuload.avg`, worker server can work. default value -1: the number of cpu cores * 2 Could you submit a PR to solve this issue and join the DolphinScheduler open source community? Thanks sincerely I have review the configurations of master and server, and you can revise the website: **Master** ```properties # master listen port #master.listen.port=5678 # master execute thread number to limit process instances #master.exec.threads=100 # master execute task number in parallel per process instance #master.exec.task.num=20 # master dispatch task number per batch #master.dispatch.task.num=3 # master host selector to select a suitable worker, default value: LowerWeight. Optional values include Random, RoundRobin, LowerWeight #master.host.selector=LowerWeight # master heartbeat interval, the unit is second #master.heartbeat.interval=10 # master commit task retry times #master.task.commit.retryTimes=5 # master commit task interval, the unit is millisecond #master.task.commit.interval=1000 # master max cpuload avg, only higher than the system cpu load average, master server can schedule. default value -1: the number of cpu cores * 2 #master.max.cpuload.avg=-1 # master reserved memory, only lower than system available memory, master server can schedule. default value 0.3, the unit is G #master.reserved.memory=0.3 ``` **Worker** ```properties # worker listener port #worker.listen.port=1234 # worker execute thread number to limit task instances #worker.exec.threads=100 # worker heartbeat interval, the unit is second #worker.heartbeat.interval=10 # worker max cpuload avg, only higher than the system cpu load average, worker server can be dispatched tasks. default value -1: the number of cpu cores * 2 #worker.max.cpuload.avg=-1 # worker reserved memory, only lower than system available memory, worker server can be dispatched tasks. default value 0.3, the unit is G #worker.reserved.memory=0.3 # default worker groups separated by comma, like 'worker.groups=default,test' #worker.groups=default ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
