Question

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.

Subscribe
Share

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

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.

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.

It’s 2022 now and it’s still slow. Seen like never improve after 4 years…

I like using s3cmd for deleting from my Space. That package may be faster than using the DO webpage controls and definitely is better for the feedback given during the delete process (use the -v or --verbose option).

Seems crazy that after more than a year no one from DO has commented on this thread.

And yes, until today the problem still not fixed, what is wrong with them ? Took me 3 second per file to delete in bulk, there is thousands of files, make a calculate, very very very long time to wait, and so I refresh to hope it stop so I’ll find another way, but after I refreshed, it didn’t stop, it just keep deleting, 3 sec per file, that is so shit, there is no stop button, i’m stuck with this, and i’m sick with this

Just started a deletion of 850k objects… it won’t let me delete the bucket until I do this. I’m only able to delete about 3 per second, no matter how many request threads I run in parallel. This deletion problem is serious. Napkin math estimates figure it’s going to cost me a few hundred bucks.

Same Issue, deleting a folder (even an empty one) or more than 1 file takes minutes…

Same issue here with multiple delete files.