Deleting folders or files in Spaces is very slow sometimes

In the control panel of Spaces I am trying to delete folders with 3-4 files but it either spins for a very long time or not deleting them at all. Same happens with files sometimes.

I’ve seen same behavior in S3 panel when I try to delete something (especially with their Buckets, takes forever for just a few hundred GBs). I guess there is some generic problem with object storage facilities but if it is so please at least add some explanation so we can know/understand what to expect or how to use this infrastructure. This is really frustrating, I am trying to migrate from S3 and need to handle a few terabytes but it’s hard to test out how stuff work if I cannot do a simple thing as deleting a folder with 3 files in it.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hey Folks,

I’m sorry we didn’t comment on this earlier. We are aware of the performance issues surrounding deleting objects from Spaces. This particularly impacts bulk deletes on Spaces with a lot of objects.

To that end, we’ve been working to improve the bulk-deletion process. We’re currently working on some documentation on how to best take advantage of asynchronous deletes, which we implemented a few months ago in September.

We’ve also improved lifecycle policies – allowing them to take effect on more objects, more quickly. This allows users to set rules to delete objects from a Space automatically. On larger Spaces, consisting of millions of objects, there may still be some latency as to when an object is deleted, but we are making incremental improvements to speed up this process.

Still, we understand that deletions are not instant, but we’re working towards providing a better experience.

Thanks, Eris Customer Success Engineer

Yesterday I deleted about 350 files today some of them reappeared.

Wouldn’t stop spinning until I refreshed and it seemed like it had crashed. Since I was working with the API anyways, then I just deleted the folders / files using the API instead, much faster and seems to work flawlessly.

DigitalOcean really has moved away from the innovative part to the “Who cares, we’re making money anyways” ideology.