$ conda install conda-build
Traceback (most recent call last):
File "/home/vip/miniforge-pypy3/site-packages/conda/exceptions.py", line 1080, in __call__
File "/home/vip/miniforge-pypy3/site-packages/conda/cli/main.py", line 84, in _main
File "/home/vip/miniforge-pypy3/site-packages/conda/cli/conda_argparse.py", line 83, in do_call
File "/home/vip/miniforge-pypy3/site-packages/conda/cli/main_install.py", line 20, in execute
File "/home/vip/miniforge-pypy3/site-packages/conda/cli/install.py", line 263, in install
File "/home/vip/miniforge-pypy3/site-packages/conda/core/solve.py", line 117, in solve_for_transaction
File "/home/vip/miniforge-pypy3/site-packages/conda/core/solve.py", line 158, in solve_for_diff
File "/home/vip/miniforge-pypy3/site-packages/conda/core/solve.py", line 230, in solve_final_state
File "/home/vip/miniforge-pypy3/site-packages/conda/core/solve.py", line 1066, in __init__
File "/home/vip/miniforge-pypy3/site-packages/conda/core/prefix_data.py", line 140, in iter_records
File "/home/vip/miniforge-pypy3/site-packages/conda/core/prefix_data.py", line 169, in _prefix_records
File "/home/vip/miniforge-pypy3/site-packages/conda/common/io.py", line 88, in decorated
File "/home/vip/miniforge-pypy3/site-packages/conda/core/prefix_data.py", line 73, in load
OSError: [Errno 24] Too many open files: b'/home/vip/miniforge-pypy3/envs/ncnn/conda-meta'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/vip/miniforge-pypy3/bin/conda", line 13, in <module>
File "/home/vip/miniforge-pypy3/site-packages/conda/cli/main.py", line 152, in main
File "/home/vip/miniforge-pypy3/site-packages/conda/exceptions.py", line 1372, in conda_exception_handler
File "/home/vip/miniforge-pypy3/site-packages/conda/exceptions.py", line 1083, in __call__
File "/home/vip/miniforge-pypy3/site-packages/conda/exceptions.py", line 1127, in handle_exception
File "/home/vip/miniforge-pypy3/site-packages/conda/exceptions.py", line 1138, in handle_unexpected_exception
File "/home/vip/miniforge-pypy3/site-packages/conda/exceptions.py", line 1208, in print_unexpected_error_report
OSError: [Errno 24] Too many open files: '/home/vip/miniforge-pypy3/site-packages/conda/cli/main_info.py'
Linux kernel limited open files, default as 1024. To check, run ulimit -a.
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 13907
max locked memory (kbytes, -l) 65536
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 13907
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
To change value, run ulimit -n <number>. The number must not be larger than 655350. For example,
$ ulimit -n 65536
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 13907
max locked memory (kbytes, -l) 65536
max memory size (kbytes, -m) unlimited
open files (-n) 65536
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 13907
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
I was installing some packages for conda.
Linux kernel limited open files, default as 1024. To check, run
ulimit -a
.To change value, run
ulimit -n <number>
. Thenumber
must not be larger than655350
. For example,