100% CPU Usage after dist-update debian

Tomasz Z6 years ago

I made a system update and since then I have a problem with traccar. Probably the problem is Java, because I changed the version of traccar and on all versions is the same problem.
After (~3 hours) when I'm start the traccar, the processor jumps to 100%.

java --version
openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+1-Debian-1)
OpenJDK Server VM (build 11.0.3+1-Debian-1, mixed mode)
ps aux |grep traccar
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     16416 68.0  8.4 1587184 344508 pts/4  Sl+  10:21 212:19 java -jar tracker-server.jar conf/traccar.xml

In htop looks like:

 htop
PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
16416 root       20   0 1549M  336M 14244 S 100.  8.5  3h33:06 java -jar tracker-server.jar conf/traccar.xml
16437 root       20   0 1549M  336M 14244 R 100.  8.5  3h31:24 java -jar tracker-server.jar conf/traccar.xml

What may be the problem? I can't undo the update.

Tomasz Z6 years ago

Maybe this is the problem? When the program starts, I've something like this in the logs:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/traccar/lib/slf4j-jdk14-1.7.26.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/traccar/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/opt/traccar/lib/guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release```