-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Postgres daemon uses 100% of CPU for several minutes despite indexing deactivated #12190
Comments
When killing the postgre instance (needed, otherwise my laptop will die), I'm getting about 10-15 of such exceptions thrown:
I don't know why such a comprehensive search is triggered when just editing some entry fields... I've not been using search, but I realise that my global search is non-empty. Apparently, it seems to be the search update is again triggered to often. I realise that there is a related issue with JR5, right? |
Perhaps it helps to distinguish two search triggers,
|
I'm getting this behaviour quite often. So, just reporting further observations:
Before my CPU kept spinning, which suggests to me a classical DB deadlock situation (spinlocks) created by several (5?) java postgre calls not being synchronized (that is, not being properly monitored). It seems reasonable to start having a look there. |
Can you help us with that? Our contributor developing that feature disappeared. |
@koppor Sorry to hear that and thanks for asking. First of all, can you or anybody else confirm that there is a bug? I'm not familiar with the JR code base, nor it's architecture, which means, it'd take me a while to isolate the problem and make informed decisions. From February onward, however, I'd have time to take have a look into this issue if this helps you? |
JabRef version
Latest development branch build (please note build date below)
Operating system
GNU / Linux
Details on version and operating system
JabRef 6.0--2024-11-13--5f1dd59 Linux 6.1.0-26-amd64 amd64 Java 23.0.1 JavaFX 23.0.1+4
Checked with the latest development build (copy version output from About dialog)
Steps to reproduce the behaviour
I can't exactly replicate this issue, it occurs a few times a day. The following steps might increase the likelihood to stimulate the issue:
I'm using
top
to see that there is a postgre instance spun off and to check its CPU load. This issue has not occurred under JR5.x.Appendix
Log File
The text was updated successfully, but these errors were encountered: