JabRef 5.1--2020-05-29--ed275b6
Linux 5.6.14-300.fc32.x86_64 amd64
Java 14.0.1
Not on every run, but often, shutting down jabref does not cleanly proceed. A process continues to run for many minutes. Maybe related to https://github.com/JabRef/jabref/issues/5071 ?
If you give me pointers for how to investigate this further, I am happy to do.
This continues to be a problem with the recent builds.
CPU use is 50-60%. Far too high, slows down the system.
Processes continue to run even for hours
JabRef 5.1--2020-06-08--b810356
Linux 5.6.16-300.fc32.x86_64 amd64
Java 14.0.1
Issue is still present - Jabref hangs my system... no error messages.
Sorry, it is really quite terrible - jabref simply does not shut down - a process continues to run and slow down my computer. no error messages.
Seems to be some linux issue, I cannot reproduce it on Windows. Maybe some file watching is still in the background active?
thanks for reacting. It is running for hours, literally... it must have been introduced, I assume, at some point before 2020-05-29--ed275b6. I am not aware of a change of my file system.
now
JabRef 5.1--2020-06-17--ef0a6bb
Linux 5.6.18-300.fc32.x86_64 amd64
Java 14.0.1
ok, I am testing systematically for some minutes:
Hmm, I do not see any pattern.
I also see this on Fedora 32:
jabref-5.0.50001-1.x86_64
Often when I've closed Jabref, processes are still running:
3969481 /opt/jabref/bin/JabRef

I haven't tried the dev builds yet. I can collect more info if someone can tell me what info is needed.
Try a kill -QUIT <pid> to get thread dump from the jvm
Alternatively
You could try to use jconsole: https://docs.oracle.com/en/java/javase/14/management/using-jconsole.html#GUID-EFDD2B40-6E4B-45E9-84B2-5E6D609065AE
Or you could try jstack to get a thread dump.
https://programmer.ink/think/jdk14-performance-management-tool-introduction-to-jstack.html
kill -QUIT <pid> does not generate any visible result; process is not killed.
Just to check: for jstack and jconsole - do I need to download jdk14 from oracle?
You need jdk 14, you can use the openjdk variant.
https://bell-sw.com/pages/downloads/
Hi, please find the jstack -l -e output in the txt file
Thanks, that looks indeed helpful. It is somehow related to the search and to the recent implementation of the authors parser #6552
`
happily I can report that jabref
JabRef 5.1--2020-06-30--5f2b994
Linux 5.6.19-300.fc32.x86_64 amd64
Java 14.0.1
has now been running for 3h without problems - let's see for how long it runs ;)
ending my observation for the day. jabref successfully ran for 16h, well interrupted by computer sleeping. but still. and CPU use was very low. great, too.
I am afraid I must report that the same jabref version has the old behaviour today again ;( too optimistic, I was. So, no visible change.
JabRef 5.1-PullRequest6528.793--2020-07-11--93eaf4f
Linux 5.7.7-200.fc32.x86_64 amd64
Java 14.0.1
a correlation: when jabref CPU use goes up, I cannot save the library anymore.
JabRef 5.1--2020-08-03--586044a
Linux 5.7.11-200.fc32.x86_64 amd64
Java 14.0.2
a correlation: when jabref CPU use goes up, I cannot save the library anymore.
still not functional on
JabRef 5.1--2020-08-03--586044a
Linux 5.7.11-200.fc32.x86_64 amd64
Java 14.0.2
I am very happy to conduct more tests/provide more logs if that might help.
It seems that installing bellsoft-java14 according to https://bell-sw.com/pages/repositories/#yum fixes the issue for me
on Fedora 32 (using the latest dev build of JabRef).
Without Liberica JDK installed (i.e. just having the standard OpenJDK from Fedora repos)
JabRef generates 100% CPU load on all cores roughly 1 min after being launched.
JabRef 5.2--2020-09-01--35f5078
Linux 5.8.4-200.fc32.x86_64 amd64
Java 14.0.2
as recommended by @vsht, I now use bellsoft-java14. My immediate observation is this: CPU load is ok. However, I still cannot close jabref. Process continues to run.
I think we finally found the issue for the problem with the shutdown. The fix just got merged, so it would be nice if you could test the new version in a few hours.
In my case
JabRef 5.1--2020-08-28--5540b93
Linux 5.8.4-200.fc32.x86_64 amd64
Java 14.0.2
JabRef already shut downs properly. My only issue was the CPU load and that one got fixed by installing
that other JVM.
JabRef 5.2--2020-09-03--1283f9f
Linux 5.7.15-200.fc32.x86_64 amd64
Java 14.0.2
thanks all for the effort. You cannot believe how pleasant it is to see a well running and stopping jabref version again! it works. Yeah!
Hi
JabRef 5.2--2020-09-03--1283f9f
Linux 5.8.6-201.fc32.x86_64 amd64
Java 14.0.2
hmm, sorry, I am afraid whilst it does work to close jabref now without error messages, it also happened at least one time that the process was not actually ended.
Just crashed still with 80% CPU load
JabRef 5.2--2020-09-09--46e9fe2
Linux 5.8.7-200.fc32.x86_64 amd64
Java 14.0.2
JabRef 5.2--2020-09-09--46e9fe2
Linux 5.8.7-200.fc32.x86_64 amd64
Java 14.0.2
does not reliably shut down. Sometimes the process keeps running after the window closes.
@Siedlerchr - sorry to report this. Should I open a new issue or would you reopen this?
Thanks for the report. I am working on a solution. Think have found the underlying issue.
JabRef 5.2--2020-12-12--86e2c82
Linux 5.9.12-200.fc33.x86_64 amd64
Java 15.0.1
gets me again 90%ish CPU load with openjdk version "14.0.2" 2020-07-14.
https://github.com/JabRef/jabref/issues/6559#issuecomment-683448217 points me to bellsoft-java. I use bellsoft-java15 now. That works fine.
shuts down ok.