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

OSError: [Errno 24] Too many open files #18

Open
zhangcf0309 opened this issue Dec 13, 2024 · 0 comments
Open

OSError: [Errno 24] Too many open files #18

zhangcf0309 opened this issue Dec 13, 2024 · 0 comments

Comments

@zhangcf0309
Copy link

The following error occurs when running inference.py
Traceback (most recent call last):
File "/root/code/inference.py", line 392, in
File "/root/code/inference.py", line 328, in main
File "/root/miniconda3/envs/RF-Diffusion/lib/python3.8/site-packages/tqdm/std.py", line 1181, in iter
File "/root/miniconda3/envs/RF-Diffusion/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 440, in iter
File "/root/miniconda3/envs/RF-Diffusion/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 388, in _get_iterator
File "/root/miniconda3/envs/RF-Diffusion/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1038, in init
File "/root/miniconda3/envs/RF-Diffusion/lib/python3.8/multiprocessing/process.py", line 121, in start
File "/root/miniconda3/envs/RF-Diffusion/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
File "/root/miniconda3/envs/RF-Diffusion/lib/python3.8/multiprocessing/context.py", line 277, in _Popen
File "/root/miniconda3/envs/RF-Diffusion/lib/python3.8/multiprocessing/popen_fork.py", line 19, in init
File "/root/miniconda3/envs/RF-Diffusion/lib/python3.8/multiprocessing/popen_fork.py", line 69, in _launch
OSError: [Errno 24] Too many open files

I still have the problem using the command ulimit - n 1000000. Can you please tell me the reason and solution for the problem。

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

No branches or pull requests

1 participant