Just deployed a couple phoenix apps to a dokku droplet and loving it so far. The only thing is that disk usage seems to be steadily growing for each, until I do a dokku ps:rebuild, at which point it sharply drops. Has anybody had this problem before? Dokku github issues seemed to suggest app logs, but I thought Phoenix just wrote those to stdoud…
Hmm, interesting. Thanks for looking into it. With this issue, your disk space was growing on each deploy, right? My problem seems to be that it’s growing even without being redeployed…
Without knowing your application its hard to tell.
Do you have any IO in your project? Do you possibly create a lot of large binaries which need to be swapped, while the system is configured to use a swap-file? Other temporary data on the host like file uploads before the get pushed to AWS or similar that you do not delete?
If you are able to, run du -sh /* right after starting and again and again after a couple of hours each (or any other timescale suitable to your problem). As you identify the growing folder dig deeper into it, until you are deep enough to identify the location where the data is gathered.
Perhaps you are able to identify the owner of the data by the name of the location or because of the filesystem ownership, perhaps you can identify it from the kind of the data. Perhaps it gives you another thing you can google for.