Closed rrchai closed 2 years ago
@vpchung Is there anything else I should change to increase the disk size?
try to increase the instance volume first (to e.g. 50G)
Setting --defaultDisk
works, but setting --maxDisk
is still not working. Closing it since with larger --defaultDisk
solves the issue for this challenge.
Currently, the
run_docker.cwl
will try to pass two outputs to other steps:To achieve ^, what I currently implement is to: 1) copy the input files from the docker container of submission to a folder in working dir
https://github.com/Sage-Bionetworks-Challenges/Single-cell-RNA-seq-and-ATAC-seq-Data-Analysis-DREAM-Challenge-Infra/blob/0b68f8595d066682afe5726315ee1d8213c6c81f/run_docker.py#L154-L156 2) output as array of files: https://github.com/Sage-Bionetworks-Challenges/Single-cell-RNA-seq-and-ATAC-seq-Data-Analysis-DREAM-Challenge-Infra/blob/0b68f8595d066682afe5726315ee1d8213c6c81f/run_docker.cwl#L65-L69
However, I think it also double the size of files which eventually causes to exceed the max of disk size: 1G. And I got below error:
My initial thought is to increase requested size by changing
--defaultDisk
inTOIL_CLI_OPTIONS
. However, it does not work, if I set--defaultDisk 10G
:I also tried to add
--maxDisk 10G
, but the error/maximum of disk did not change. I wonder how to properly add the requested size?Note:
run_docker
. However, since we haven't decided how many input files will be, and total size of input files could be in the range of 4GB ~ 10GB. I am not sure if it will raise the error, even running in a separated step. So I think figuring out the reason why setting --defaultDisk fails ahead is helpful ~/var/lib/docker/volumes/...
, so I tried to clean up the volume usingdocker volume prune
and it solved the issue for now. I don't know if it is recurring after running multiple submissions over time.