Nextjs _ipx function crashes ENOSPC

Hi, my nextjs portal runs on and has been working for some months. Recently i have started noticing some images not being rendered at all. Checking the _ipx function logs i see a lot of:
ERROR Invoke Error {"errorType":"Error","errorMessage":"ENOSPC: no space left on device, write","code":"ENOSPC","errno":-28,"syscall":"write","stack":["Error: ENOSPC: no space left on device, write"]}
How can i provide more space to the device? Cleaning the cache and redeploying solves the problem for some time but it comes back again. Can anyone help me fix this?

Hi @bruno.amui :wave:t6: welcome to the forums!

Have you tried identifying the files that are taking up the space? I would also recommend you clean up unnecessary files or increase the storage capacity on your device.

1 Like

To be clear, this error is completely generated by netlify’s code. It comes from netlify’s nextjs plugin.

How does one increase the storage capacity for running functions?

I think its the same issue from here Check if tmp has space, and clear it up if there is no space · Issue #45 · netlify/netlify-ipx · GitHub

Hi @SamO,

As mentioned in the helpdesk, this is being looked at by the devs. We’ll let you know as we have more info.