You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running multiple instances of LDNe in a HPC environment quickly exhaust temporary partition space. This is difficult to manage since there are deleted files in which LDNe continues to write data into. This step can be reproduced by running a single instance of LDNe using a quite big input file. After a few minutes, we can inspect the content of the linux /proc directory:
$ cd /proc/104286/fd
$ ll
total 0
lr-x------ 1 paolo paolo 64 mag 2 11:14 0 -> /dev/null
l-wx------ 1 paolo paolo 64 mag 2 11:14 1 -> /dev/shm/nxf.BfoLPCWMLq/.command. Out
l-wx------ 1 paolo paolo 64 mag 2 11:14 2 -> /dev/shm/nxf.BfoLPCWMLq/.command. Err
lr-x------ 1 paolo paolo 64 mag 2 11:14 3 -> /home/paolo/Projects/NEXTFLOWetude/nf-rldne/work/86/67a17d3c3ed82d7c4d27707559a79a/.command.sh
lr-x------ 1 paolo paolo 64 mag 2 11:14 4 -> /home/paolo/Projects/NEXTFLOWetude/nf-rldne/work/86/67a17d3c3ed82d7c4d27707559a79a/murciano_gmmphk_50_individuals_1_step_genepop_Ne_params.txt
lr-x------ 1 paolo paolo 64 mag 2 11:14 5 -> /home/paolo/Projects/NEXTFLOWetude/nf-rldne/work/05/48715bf152998b241a103f440fe91f/murciano_gmmphk_50_individuals_1_step_genepop.txt
l-wx------ 1 paolo paolo 64 mag 2 11:14 6 -> /home/paolo/Projects/NEXTFLOWetude/nf-rldne/work/86/67a17d3c3ed82d7c4d27707559a79a/murciano_gmmphk_50_individuals_1_step_genepop_Ne_out.txt
l-wx------ 1 paolo paolo 64 mag 2 11:14 7 -> /home/paolo/Projects/NEXTFLOWetude/nf-rldne/work/86/67a17d3c3ed82d7c4d27707559a79a/murciano_gmmphk_50_individuals_1_step_genepop_Ne_outxLD.txt
lrwx------ 1 paolo paolo 64 mag 2 11:14 8 ->'/tmp/#5508702 (deleted)'
lrwx------ 1 paolo paolo 64 mag 2 11:14 9 ->'/tmp/#5508703 (deleted)'
The two temporary files are associated to file descriptor 8 and 9 in this example and since they are deleted, we can't estimate how much spaces they require. The only way is trying to write a fancy command line found in stackoverflow after a few minutes the process is running:
Running multiple instances of LDNe in a HPC environment quickly exhaust temporary partition space. This is difficult to manage since there are deleted files in which LDNe continues to write data into. This step can be reproduced by running a single instance of LDNe using a quite big input file. After a few minutes, we can inspect the content of the linux
/proc
directory:The two temporary files are associated to file descriptor
8
and9
in this example and since they are deleted, we can't estimate how much spaces they require. The only way is trying to write a fancy command line found in stackoverflow after a few minutes the process is running:Where
fd 8
has written more than 1Gb of data for a 3' and 30'' running processThe text was updated successfully, but these errors were encountered: