Skip to content
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

High CPU usage #2910

Closed
warpedwood opened this issue Jun 24, 2024 · 10 comments
Closed

High CPU usage #2910

warpedwood opened this issue Jun 24, 2024 · 10 comments

Comments

@warpedwood
Copy link

Debug log ID

J6652M6A-euc/6.7.207-7

What happened?

I have recently noticed high CPU usage (around 15%). It occurs without any specific action being taken. I have opened an issue on Zotero forums, but the problem seems to come from BBT: https://forums.zotero.org/discussion/115438/zotero-7-beta-high-cpu-usage#latest. I'm running Ubuntu 24.04, Zotero 7.0.0-beta.91+3c6625f3c (64-bit), and BBT 6.7.207.
Thanks for your help and your work

@retorquere
Copy link
Owner

Does the CPU usage drop when you set auto-export to "off"? Although I don't see any BBT activity after start.

@warpedwood
Copy link
Author

Yes, it drops when I put auto-export on "pause". Maybe I should delete some of the folders that are on auto-export, at least when I'm not using them.

@retorquere
Copy link
Owner

I'm going to add an option to allow disabling individual auto-exports. It's expected that system load will rise while an auto-export runs, but I don't see any auto-export activity in J6652M6A-euc/6.7.207-7.

@warpedwood
Copy link
Author

Thanks for adding the option.
The high CPU usage doesn't happen every time I start Zotero. I can't figure out why. I enabled the "on change" option for auto-export again, added new references, and restarted Zotero, but there was no high CPU usage again. Just before that, I deleted some collections with auto-export. That may have helped. So I think you're right that the problem is auto-export.

@retorquere
Copy link
Owner

I would say the cause rather than the problem, but yes.

@warpedwood
Copy link
Author

Actually, it just started again. I sent you a new debug log. Here is the ID if it helps: 5TLAXLIQ-euc/6.7.207-7

@retorquere
Copy link
Owner

detailed debug logging is off on your system, so there isn't anything in the log.

@warpedwood
Copy link
Author

Sorry. Here is a new one, hoping it works: ANK9H4DJ-euc/6.7.207-7

@retorquere
Copy link
Owner

That does indeed show activity. Some of that is inherent (auto-exports will take non-zero time), but the work I'm doing on #2315 will drop some of the work being done.

@retorquere
Copy link
Owner

Can you subscribe to #2315 for further progress on this? A new build just dropped there that should improve matters.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants