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

#1

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?

0 Likes

#2

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.

0 Likes

closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes