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

"Too many open files" #3472

Open
nedbat opened this issue Jan 28, 2025 · 3 comments
Open

"Too many open files" #3472

nedbat opened this issue Jan 28, 2025 · 3 comments
Labels
bug:minor does not affect many people or has no big impact help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted.

Comments

@nedbat
Copy link
Contributor

nedbat commented Jan 28, 2025

Issue

Running tox in https://github.com/nedbat/django_coverage_plugin results in "Too many open files" errors from inside tox, virtualenv, etc.

Environment

Provide at least:

  • OS: Mac OS 15.2
Output of pip list of the host Python, where tox is installed
% pip list
Package            Version
------------------ -----------
attrs              25.1.0
backports.tarfile  1.2.0
build              1.2.2.post1
cachetools         5.5.1
certifi            2024.12.14
chardet            5.2.0
charset-normalizer 3.4.1
click              8.1.8
click-log          0.4.0
colorama           0.4.6
distlib            0.3.9
docutils           0.21.2
filelock           3.17.0
id                 1.5.0
idna               3.10
importlib_metadata 8.6.1
jaraco.classes     3.4.0
jaraco.context     6.0.1
jaraco.functools   4.1.0
Jinja2             3.1.5
keyring            25.6.0
markdown-it-py     3.0.0
MarkupSafe         3.0.2
mdurl              0.1.2
more-itertools     10.6.0
nh3                0.2.20
packaging          24.2
pip                24.2
platformdirs       4.3.6
pluggy             1.5.0
Pygments           2.19.1
pyproject-api      1.9.0
pyproject_hooks    1.2.0
readme_renderer    44.0
requests           2.32.3
requests-toolbelt  1.0.0
rfc3986            2.0.0
rich               13.9.4
scriv              1.5.1
setuptools         74.0.0
tomli              2.2.1
tox                4.24.1
twine              6.1.0
typing_extensions  4.12.2
urllib3            2.3.0
virtualenv         20.29.1
wheel              0.44.0
zipp               3.21.0

Output of running tox

Output of tox -rvv

It's 5200 lines, I put it in a gist: https://gist.github.com/nedbat/9f54a1756f4d3d3f34d00cf9cceb8440

Minimal example

% git clone https://github.com/nedbat/django_coverage_plugin.git
% cd django_coverage_plugin
% git checkout a1f1d93bccbd495e0d019052a6e411f88f5cbc6f
% pip install -r requirements.txt
% tox 

Sorry I don't have a smaller example.

@gaborbernat gaborbernat added bug:minor does not affect many people or has no big impact help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted. labels Jan 28, 2025
@gaborbernat
Copy link
Member

Looking at the output it seems the issue is likely coming from virtualenv...

@nedbat
Copy link
Contributor Author

nedbat commented Jan 28, 2025

Will you handle reporting this to virtualenv, or should we transfer this issue, or ...?

@gaborbernat
Copy link
Member

Can't transfer... so should create a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:minor does not affect many people or has no big impact help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted.
Projects
None yet
Development

No branches or pull requests

2 participants