-
-
Notifications
You must be signed in to change notification settings - Fork 426
Excess temporary files can lead to inode shortage #934
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
Comments
@wchest I ran into this problem today. My builds started failing due to
What is taking up space in your I use strict caching for my node_modules also but have installed Strider in my home dir
|
@crobinson42 I believe it was cached versions of node modules that were taking up space in |
I'm now experiencing this error. After running
|
We have just come across an issue on our Strider CI server where use of npm module caching leads to very large number of folders and files being created in
/tmp
. We use strict module caching on our repos and were alerted to this issue when our tests failed because of the following error:Error: ENOSPC: no space left on device, open '/home/[user]/strider/builds/data/techchange-shawhowa-573f4bb9e8c8eb04091498f7/node_modules/lodash/_baseInverter.js
We checked and had plenty of disk space on our server, so a bit more inspection alerted us to the fact that all of the inodes on our server were being consumed by the npm temporary files.
I haven't dug enough into the code to figure out where these temporary files are being created and not sure if there's a programmatic solution to this, but at the very least it might be helpful to provide a warning to people using the caching that they may need to clear out their
/tmp
folder on a regular basis to prevent inode issues.The text was updated successfully, but these errors were encountered: