"too many open files in system" from Cache:push


Here is the error I am getting when trying to introduce cache to my pipeline

Generating cache archive

Failed to populate archive: failed to lstat(/Users/vagrant/git/node_modules/@angular-devkit/build-angular/node_modules/rxjs/operators/first.js.map), error: lstat /Users/vagrant/git/node_modules/@angular-devkit/build-angular/node_modules/rxjs/operators/first.js.map: too many open files in system

wonder if there is a need/way to tweak cache image params?



Hy @ciekawy

It is generally not a good solution to cache node modules, because of the “garbage collecting” nature of it, mainly it causes system level errors such as this, besides this to archive all the files upload them, then download and extract them can take more time then simply npm install it.