Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Too many open files #47

Closed
stefandiederich opened this issue Sep 2, 2021 · 5 comments
Closed

ERROR: Too many open files #47

stefandiederich opened this issue Sep 2, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@stefandiederich
Copy link

Hi,

I have run Clair on WGS ONT data an got the following error:

...
[mpileup] 1 samples in 1 input files
Total processed positions in chrY (chunk 4/4) : 9661
Total time elapsed: 129.47 s

real    186m27.439s
user    8776m44.801s
sys     77m56.150s
Traceback (most recent call last):
  File "/media/Data/clair3/clair3/bin/scripts/../clair3.py", line 89, in <module>
  File "/media/Data/clair3/clair3/bin/scripts/../clair3.py", line 83, in main
  File "/media/Data/clair3/clair3/bin/preprocess/SortVcf.py", line 193, in main
  File "/media/Data/clair3/clair3/bin/preprocess/SortVcf.py", line 132, in sort_vcf_from
OSError: [Errno 24] Too many open files: '/media/Data/NA12878_run1-5/NA12878_run1-5.vcf/tmp/full_alignment_output/full_alignment_chrX.101_193.vcf'

real    735m16.230s
user    31395m25.386s
sys     151m23.800s
(/media/Data/clair3/clair3) die9s@k-hg-srv3:/media/Data/clair3/clair3/bin>

Do you have any idea what migth be the cause of this error?
Bests
Stefan

@aquaskyline
Copy link
Member

This is a system limitation that was reported in a previous issue, please take a look at #45 (comment)

@aquaskyline
Copy link
Member

For now, two options are lifting ulimit -n or lowering THREADS. On the other hand, we are preparing v0.1.6 that requires a lower ulimit -n, we target to release it by the next week.

@stefandiederich
Copy link
Author

Thanks for your reply. I will test version 0.1.6 as soon as it is released. If it is not working either, I will increase the ulimit.

Bests Stefan

@zhengzhenxian
Copy link
Collaborator

Hi,

Version 0.1-r6 released with lower ulimit -n requirement, please feel free to have a try, Thanks!

@aquaskyline aquaskyline added the enhancement New feature or request label Sep 7, 2021
@aquaskyline
Copy link
Member

@stefandiederich does the new version solve your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants