-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
With MDC enabled NC becomes excruciatingly slow #108
Comments
@YouveGotMeowxy Hi! Thanks for reporting this. It needs more investigation to understand what's the reason, as I didn't notice such symptoms. About log entry - mentioned commit should fix this, background cleanup job was broken. |
@andrey18106 ty, how long before it's available to update via the apps in NC? |
In a few days, I think, after we transfer this repository to cloud-py-api org. Also performance issues could probably be because of unused and being replaced Thrift third party dependency in cloud_py_api, it'll be updated soon too. |
Sounds good! |
@YouveGotMeowxy Could you verify please performance changes for your instance with the latest updates of |
Yessir, I will as soon as I get my PC that was running docker back up again. The root hard drive died on it and I'm in the process of getting it all back together again. |
I just installed both cloud_py_api and mediadc on my system and ran a test using two directories with a lot of duplicates. It pushed my CPU usage up to 100% Basically NextCloud froze up. I ended up having to restart my PHP-FPM server to use nextcloud. System Information Operating system: Ubuntu Linux 20.04.5 |
@ksihota does encryption enabled on your instance? |
@bigcat88 Just checked to make sure and No, encryption is not enabled. I'm pretty sure its because there were GBs of duplicates. Doesn't happen with few matches |
There is only a single threaded code for duplicates. As I understand there was a multi-threaded load on 50% of logical cores? |
It is obviously a resources issue with PHP. I have no idea what is causing it. I assumed it was just the number of duplicates it was finding. The specific folder I targeted had been a copy of the original so my guess was that all images were duplicates. My aim in running the task was to see if the app would be good at cleaning up directory duplicates or partial duplicates. |
I am getting a lot of these: I could push my PHP memory up to 1024 but I figured 512 should be enough to cover nearly anything. |
We'll post a new version in a few days and see how it goes. |
Thanks, but I didn't mean to push this in, I just thought it might be something you would like to be aware of. I only just started using the app so I am just learning some of its ins and outs. |
Describe the bug
I've tested this a few times now; with MDC enabled NC becomes so slow to load anything, and most times when it finishes loading, most of the "stuff" isn't there (no folder images, icons, etc.)
After disabling MDC, NC becomes responsive again.
Oddly, but this seems to possibly only happen upon first start of NC with MDC already enabled. If I disabled and then re-enable MDC once, then it seems NC is back to normal responsiveness, though I haven't really put that to the test yet to confirm that NC continues to stay responsive.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No negative speed affect of NC at all. :)
Desktop (please complete the following information):
Additional context
Not sure what other info might be needed, just let me know and I will post it.
Update:
After doing the r-enable thing, I tried loading the MDC page, and I just get the loading indicator and a blank tab perpetually. Looking in the NC log I see this:
The text was updated successfully, but these errors were encountered: