简体   繁体   中英

Are all processes started by a Slurm job killed on cancelling the job?

If a Slurm job starts processes (could even be daemons), would all of them be automatically killed if I stop the job with scancel?

Yes if Slurm is configured with cgroup support. See details in the documentation

A cgroup is created upon job start and all processes belong to that cgroup . Once the job is terminated, the cgroup is removed and all processes then killed by the kernel.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM