dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Question] [Worker] Process won't kill

Open gjzhappy opened this issue 3 years ago • 4 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

I ran a java command in the shell task, I set the max memory of the task to 30M, I expected the java process will be killed when it reaches the max memory, but it won't, can you give me some tips, thanks. image

What you expected to happen

I expected the java process will be killed when it reaches the max memory

How to reproduce

please see the pic above.

Anything else

No response

Version

3.1.x

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

gjzhappy avatar Jun 27 '23 01:06 gjzhappy

Did you turn on the switch of task.resource.limit.state?

https://dolphinscheduler.apache.org/zh-cn/docs/3.1.7/guide/task/appendix

SbloodyS avatar Jun 27 '23 06:06 SbloodyS

@SbloodyS , Hello, I refer to the link you mentioned above, then it directed me to this URL: https://dolphinscheduler.apache.org/zh-cn/docs/3.1.7/architecture/configuration, but I didn't find where to configure. Thanks.

gjzhappy avatar Jun 30 '23 01:06 gjzhappy

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Jul 31 '23 00:07 github-actions[bot]

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

github-actions[bot] avatar Aug 07 '23 00:08 github-actions[bot]