traccar 4.15

12056 days ago
Jun 23 14:32:29 ip-1xx-xx-xx-1xx traccar[736]:         at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
Jun 23 14:32:29 ip-1xx-xx-xx-1xx traccar[736]:         at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
Jun 23 14:32:29 ip-1xx-xx-xx-1xx traccar[736]:         at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
Jun 23 14:32:29 ip-1xx-xx-xx-1xx traccar[736]:         at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:620)
Jun 23 14:32:29 ip-1xx-xx-xx-1xx traccar[736]:         at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:583)
Jun 23 14:32:29 ip-1xx-xx-xx-1xx traccar[736]:         at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
Jun 23 14:32:29 ip-1xx-xx-xx-1xx traccar[736]:         at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
Jun 23 14:32:29 ip-1xx-xx-xx-1xx traccar[736]:         at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
Jun 23 14:32:29 ip-1xx-xx-xx-1xx traccar[736]:         at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
Jun 23 14:32:29 ip-1xx-xx-xx-1xx traccar[736]:         at java.base/java.lang.Thread.run(Thread.java:829)

When I checked the running status, I found the above problem. Could you tell me what the reason is? I haven't done any operation. Will this situation cause a memory leak?
Expect to receive your reply.

Anton Tananaev6 days ago

You should check logs for a full stack trace.

12056 days ago

My system is still working normally and no obvious errors can be seen from the logs.
Since they are all normal logs, I don't know where to start to extract them for you.
I don't know if the following contents are helpful to my question:

bi@ip-1xx-xx-xx-1xx:~$ grep -A 1 'java.lang.Thread.State' /tmp/traccar_thre                                                                                                                                                    ads.txt | sort | uniq -c
      5
     34 --
      4         at java.lang.Object.wait(java.base@11.0.13/Native Method)
      1         at java.lang.ref.Reference.waitForReferencePendingList(java.base                                                                                                                                                      @11.0.13/Native Method)
      2         at java.lang.Thread.sleep(java.base@11.0.13/Native Method)
     10         at jdk.internal.misc.Unsafe.park(java.base@11.0.13/Native Method                                                                                                                                                      )
     10         at sun.nio.ch.EPoll.wait(java.base@11.0.13/Native Method)
      1         at sun.nio.ch.ServerSocketChannelImpl.accept0(java.base@11.0.13/                                                                                                                                                      Native Method)
     19    java.lang.Thread.State: RUNNABLE
      3    java.lang.Thread.State: TIMED_WAITING (on object monitor)
      9    java.lang.Thread.State: TIMED_WAITING (parking)
      2    java.lang.Thread.State: TIMED_WAITING (sleeping)
      1    java.lang.Thread.State: WAITING (on object monitor)
      1    java.lang.Thread.State: WAITING (parking)
      2    No compile task