You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a very large Magento 2 setup we're seeing for fresh installs the following error when running composer install. With prestissimo removed it works fine.
[ErrorException]
fopen(/Users/jason.woods/.composer/cache/files/magento/module-currency-symbol/a88dd237717157a05217e9aec03be4a1eceb0c65.zip): failed to
open stream: Too many open files
The file is opened during the building of the requests. This means when you've got thousands of packages to download it can hit the file limit even though it's only going to proceed with 10/100 requests at a time.
I guess the best fix is that FP is opened on first call to getCurlOptions instead?
The text was updated successfully, but these errors were encountered:
On a very large Magento 2 setup we're seeing for fresh installs the following error when running
composer install
. Withprestissimo
removed it works fine.We tracked it down to this line:
https://github.com/hirak/prestissimo/blob/master/src/CopyRequest.php#L91
The file is opened during the building of the requests. This means when you've got thousands of packages to download it can hit the file limit even though it's only going to proceed with 10/100 requests at a time.
I guess the best fix is that FP is opened on first call to getCurlOptions instead?
The text was updated successfully, but these errors were encountered: