Version: 8.0.4
Actions performed:
- cylc install
- cylc play
- cylc stop
After stopping a workflow, I am unable to delete the workflow directory under cylc-run. I am getting the following error:
rm: cannot remove 'workflow name/log/job/cycle/task name/01/.nfs… : Device or resource busy
When I run “cylc scan” it shows that nothing is running.
Thank you.
Even if the workflow was still running, its scheduler should not keep files open indefinitely in a job log directory.
Maybe some other non-Cylc process has a file open?
Try using lsof +D <dir>
(“list open files”) to list processes with files open under the directory. Then you can kill the process if necessary.
1 Like
Just to note that if you did cylc stop --now
then the jobs could still be running after the scheduler shut down; these could keep the job log files open.
1 Like