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

🐛[BUG]: Too many open files error in ahmed_body_mgn example #551

Closed
naruhikot opened this issue Jun 13, 2024 · 1 comment
Closed

🐛[BUG]: Too many open files error in ahmed_body_mgn example #551

naruhikot opened this issue Jun 13, 2024 · 1 comment
Assignees
Labels
? - Needs Triage Need team to review and classify bug Something isn't working

Comments

@naruhikot
Copy link

Version

24.04

On which installation method(s) does this occur?

Docker

Describe the issue

Converted docker container to apptainer. When I ran training script, I got "too many open files" error. See the trimmed log bellow.

Minimum reproducible example

apptainer run --nv --bind `pwd`,$USER_DIR $CONTAINER_IMAGE bash -c "python train.py"

Relevant log output

...
OSError: [Errno 24] Too many open files: '/usr/local/lib/python3.10/dist-packages/pandas/core/api.py'
OSError: [Errno 24] Too many open files: '/usr/local/lib/python3.10/dist-packages/pandas/core/algorithms.py'
OSError: [Errno 24] Too many open files: '/usr/local/lib/python3.10/dist-packages/pandas/core/config_init.py'
...

Environment details

Environment location: TSUBAME4.0 (https://www.t4.gsic.titech.ac.jp/en)
ulimit -n is set to 16384 on this system
@naruhikot naruhikot added ? - Needs Triage Need team to review and classify bug Something isn't working labels Jun 13, 2024
@Alexey-Kamenev
Copy link
Collaborator

Please try the most recent version of Modulus, as I remember, there was previously an issue with visualizers not releasing the resources.

Also, recommend to set max number of open files to a larger number (Docker has default of 1048576) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
? - Needs Triage Need team to review and classify bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants