-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having 5132 deleted files results in a unresponsive webbrowser #2860
Comments
if youve enabled the trashbin app, those files are copied to the trashbin. Thats why its taking so long. As for the rendering this is a general issue of the files app because it doesnt use autopaging cc @schiesbn @icewind1991 |
I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version. Please reopen if you still encounter this issue with the latest stable version (currently ownCloud 5.0.9) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :) Thank you! |
No, this issue is not resolved in the latest release. Is the same a issue #3361 |
Ok, @a-schild thank you for retesting and letting us know. Now can we get the coding experts on this? @bantu @ringmaster @VicDeo please help. |
Same issue here, currently 28247 files with 38GB in my user's trashbin and so far not able to clean them manually. So far OK for me in terms of disk space, but sometimes I like to clean-up :) OC takes currently 500GB on my server's disk. ls -l files_trashbin/files/ | wc -l du -hs files_trashbin/ Not Loading all items is of course required to not crash the browser. I don't know if its possible to keep the old directory structure? But still ppl could have thousands of files in a directory. Also a queued maintenance task would be an option for the deletion of large file collections that asynchronous deletes the files when the user selects files for deletion (if not already the case). |
If you delete the files with the web interface the folder structure is preserved. But with the sync client we get one delete request for every single file which results in such large file lists in the first place. See: owncloud/client#612 |
As a workaround you may temporary (or if you want permanent) set This will trigger the files_trashbin app to delete files in your trashbin after one day which helped me to cleanup (I didn't test the behaviour if you set it to zero). Default is 180 days/50% of available free disk space. I am not sure if it is triggered by the regular cron jobs (which it should because many ppl don't use the frontend to handle files, like me) or just when you delete an item in the web frontend. It blocks the user interface while deleting the files which took a long time (~1h/20k files) in this case. Access with another browser at the same time was possible. It also triggers a lot of |
@fekepp The trash bin expire old files every time a file gets deleted and every time we overstep the max size if a new file gets added to your ownCloud. This is completely independent from the interface you use (web, mobile client, desktop client or plain webdav) |
Sounds good. My case was also a bit artificial because i triggered the permanent deletion of 20k+ files at the same time with the new configuration. |
Setting 'trashbin_retention_obligation' => 30, solved the problem for me. Or better it is a work arround. The basic problem with the UI freezing when too many files/folders are to be displayed still exists. |
@a-schild Do you deleted the files with the sync client? Than the main problem needs to be solved here: owncloud/client#612 I'm also a bit confused about all the .part files in your trash. I will check this, .part files shouldn't be copied to the trash at all. |
Yes, most deletes have been done with the desktopclient, either from windows or ubuntu. |
We need endless scrolling in the files app and then we can have this in the trash bin as well |
BTW, the problem that the sync client sends a delete request for every single file and not for the complete folder should be fixed in the next version (1.5): owncloud/client#612 |
The problem still exists in owncloud. |
How about adding an "empty trash" action as a workaround ? I'll look into infinite scrolling for OC7. |
Empty trash would definitely be a nice workaround. |
The catch is that if we put that button in the trash files view, the UI will still need quite some time to just render the list before you can click it... |
@schiesbn I remember you mentioned something about the trashbin auto-deleting files when disk space is low ? For the "clean trash" another idea would be to put the button on the personal page (instead of or additionally to the trashbin app). Why the personal page ? Because that's where you can see how much of your quota you are using, so it might make sense to put a "Cleanup" button there. Thoughts ? @owncloud/designers |
When people have too many files, it is currently difficult to select them all since the browser is unresponsive when updating so many elements. The empty trash button will send a simple POST request to delete ALL files in the trashbin. Fixes #2860
Here we go, the mighty "Delete all that stinky trash" button. PR will follow soon. |
Nice |
I vote for having a clear trash button in the personal settings near the
|
No. The resolution to this is not introducing more buttons and features,
|
@PVince81 Didn't we improve this lately? |
A bit. If you delete all files it will be a bit faster.
The only thing that was improved on 6.0.1 is 3), when deleting it only sends a flag "allfiles=true".
I intended to close this issue once that PR is merged. |
Closing this in favor of the corresponding task ticket, please follow up there: #7597 |
Server ownCloud 5.0.3 (and 5.0.4RC1) on Debian 6.0.7 64bit with apache+mysql
Due to some clean-up of files I now have 5132 files in the "deleted files" section of owncloud.
When I browse to the recycle bin, it trys to show all 5132 files in a long list,
which actually freezes firefox 20.0 on Ubuntu 12.10.
There are also about 100-200 deleted folders (if it matters)
Not sure how owncloud is behaving when a not-deleted folder holds several thousand files.
The text was updated successfully, but these errors were encountered: