-
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
Deleting big files within webinterface takes long time #12866
Comments
Can you post a full bug report using the issue template please? Do you use encryption? |
Detailed template cough No enc used. |
Assuming trashbin and/or versions are enabled: the reason is that files are copied around - moving them would be faster but has other limitations. @schiesbn |
This indeed might be the reason. So, NFS RPC is used, but files are intentionally copied to the trash and deleted afterwards? If so, maybe the solution for me might be to use (a modified version of) the file move plugin and move the files to the bin. Writing a plugin, that deletes files skipping the trash bin also might be a solution. Thanks for your thoughts, @DeepDiver1975! |
we really should address this issue on the trashbin and versions app @schiesbn has to have a look at this - THX |
Versions aren't a problem on delete operations. The problem is the trashbin. I would love to improve this. IMHO the best solution would be to implement the trashbin as a storage wrapper which moves the deleted files to either a ".trash"-folder on the same storage or keep them where they are and only rename them to something like from |
for sure - and this brings back the ideas of having storage based implementations. We should schedule this together with @karlitschek and @MTRichards for the next release after OC8 |
Either of the two suggestions would be a massive improvement imho, although only affecting the minor part of the community; in e.g. in my case with the mounted NFS data storage this led to massive traffic; having 2 TB of monthly free traffic this issue bumped my traffic usage astronomically. The culprit of my current solution is that every byte gets doubled due to my setup consisting of a separate data storage. For now I will disable the trash bin plugin before deleting big files (at least in the current monthly period), but this is annoying... have to
I want to point out that I am not angry by any means, because as admin it's me who is responsible for anything and alarm bells should automatically have rung... but there was no mechanism yet to indicate this circumstance... So this issue at least should be pointed out publicly. |
This isn't fully finished. I suggest to keep this ticket open for now. |
On another note, here are some fixes for the trashbin expiration which was also slow: #13974 (comment) |
yes |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I have OC running on a Server (s1) using nginx; the data directory resides on another server (storage - s2) and is mounted via NFS.
Deleting a big file, e.g. of 2.5GB size, takes quite long; investigating this behavior I realized, that utilization is very high, but no cpu is used (top/htop).
iotop (on s1) shows initial writing activity for the first 20 secs, than nothing; no cpu then as well, but load climbs as high as >8.0, but is <0.1 in idle.
Just checked with a folder containing 2 files, 2.2GB in sum and it tool 6-7 mins to "delete" the file via webinterface (different devices showed the file(s)/folder being still available (webinterface) for that time.
Connection betw. s1&s2 is 100mbit and usually is not fully utilizable. So, it might be possible that the file "gets fetched" before it gets deleted.
What is happening in background there?
Both (s1&s2) are running in VMs on different phys. hardware. oc vers. btw. is up2date.(7.?)
The text was updated successfully, but these errors were encountered: