Node.js: what is ENOSPC error and how to solve?

后端 未结 16 2429
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 08:52

I have a problem with Node.js and uploading files to server. For uploading files to server I use this plugin. When starting file upload to the server, Node.js process crashe

16条回答
  •  不要未来只要你来
    2020-11-22 09:36

    If your /tmp mount on a linux filesystem is mounted as overflow (often sized at 1MB), this is likely due to you not specifying /tmp as its own partition and your root filesystem filled up and /tmp was remounted as a fallback.

    To fix this after you’ve cleared space, just unmount the fallback and it should remount at its original point:

    sudo umount overflow
    

提交回复
热议问题