How do I fix "No space left on device"?

Hi everybody,
I’m developing my app on platform sh and sometimes it warn to me

Notice: file_put_contents(): write of 6847 bytes failed with errno=28 No space left on device.

This issue stop every api calls, how can I fix it? Thanks :slight_smile:

Hi @fabio-mezzogori!

I assume you are trying to write to a file path that is defined in the mounts section of your application config, right?

If so, it could be that you need to allocate more disk space to your app. See Troubleshooting Mounts the Disk Space Issues section may be of particular interest.

Good luck!