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

Composer install... failed to extract - too many open files #3469

Open
farroyo-git opened this issue Oct 21, 2023 · 1 comment
Open

Composer install... failed to extract - too many open files #3469

farroyo-git opened this issue Oct 21, 2023 · 1 comment

Comments

@farroyo-git
Copy link

Description:

Systematic error when executing the composer install command from the workspace terminal

Expected Behavior:

I need install laravel composer.json (the error occurs even with new projects)

Context information:

Output of git rev-parse HEAD

v15.0 origin/master origin/HEAD

Output of docker version

Docker Desktop 4.24.2 (124339) is currently the newest version available

Output of docker-compose version

Docker Compose version v2.22.0-desktop.2

System info: Mac, Windows or Linux. Include which disto/version

Mac - MacOs Sonoma 14.0

Steps to reproduce the issue:

  1. When execute composer install - many errors like this:
  2. Failed to extract symfony/http-kernel: (50) '/usr/bin/unzip' -qq '/var/www/html/project/vendor/composer/tmp-571845f5535721d113bd68ea082df17f.zip' -d '/var/www/html/project/vendor/composer/5ad6a087'
  3. error: cannot create /var/www/html/project/vendor/composer/5ad6a087/symfony-http-kernel-9f991a9/HttpCache/Store.php
    Too many open files

Stacktrace & Additional info:

I have tried everything I have found on google, chatgpt and bard and nothing has solved the problem... ulimit, composer client, expand memory...
@farroyo-git
Copy link
Author

I have detected that with mariadb active, composer install resolves this error.

If we stop at docker mariadb no error occurs with composer install.

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

No branches or pull requests

1 participant