Flood of files in tmp folder outside of media

kirby 3.7.2.1

Every time an image needs to be created, it is created in the tmp folder at the root of the hosting, otuside of public_html, outside of course of media.

I saw some similar questions in the forum, but I don’t quite get what is going on.

I mean, I can see that images are also created in the media folder, so that seems to be working, but, why also in the tmp folder? Is that kirby’s behaviour? server’s behaviour?

Of course I assume that the tmp folder not being emptied is hosting related, but I would like to understand the other thing.

Thanks

Ah, I can see that this was fixed in 3.9 at least partially. I should update, I guess.