Vehicle freezing issue

thezgbank6 months ago

Hello,

I've been dealing with the same issue for a long time and haven't been able to find a solution. I thought it might be due to the server and the large number of devices, so I purchased a new server and directed 5-6 vehicles to it for testing, but I'm still encountering the same problem.

While the devices are operating regularly, they sometimes freeze and do not move. When I redirect them to the Traccar demo server for monitoring, there's no issue, but on my own server, the devices that are actively working get stuck after a certain day or period. When I remove them from the system and re-add them, they become active again and transfer the data on the device to the system.

Thinking it might be related to the configuration, I am using the initial setup configuration settings.

Configuration:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
    <entry key="config.default">./conf/default.xml</entry>
    <entry key='database.driver'>com.mysql.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mysql://localhost/traccar?zeroDateTimeBehavior=round&amp;serverTimezone=UTC&amp;allowPublicKeyRetrieval=true&amp;useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=''</entry>
    <entry key='database.user'>root</entry>
    <entry key='database.password'>XXXXX</entry>
</properties>

Server Specifications:

RAM: 64 GB DDR4, optional max. 128 GB DDR4
Disk: 1TB NVMe SSD
Connection: 1 GBit/s-Port
Bandwidth guaranteed: 1 GBit/s

Log Records:

2024-05-06 00:06:03  INFO: Event id: 358480089862363, time: 2024-05-06 00:06:03, type: deviceOnline, notifications: 0
2024-05-06 00:06:03  INFO: [T90a9ec4a: teltonika > 31.142.102.79] 01
2024-05-06 00:06:05  INFO: [T90a9ec4a: teltonika < 31.142.102.79] 00000000000004d608130000018f48be3c9000115c372415c87a94000100c00f0000ef0c05ef01f0011504c800450105b50005b6000342357943102544000002f100006fb910013cd661000000018f48be6f5800115c372415c87a94000100c00f0000ef0c05ef00f0011505c800450105b50005b6000342321a43102544000002f100006fb910013cd661000000018f48be7ef800115c368e15c87c45000100030f0007000c05ef00f0011505c800450105b50005b600034232b943102544000002f100006fb910013cd66c000000018f48be82e000115c36af15c87d2f0000000d0f0008000c05ef00f0011505c800450105b50006b6000342345843102344000002f100006fb910013cd66f000000018f48be86c800115c36f215c87e290000000b0f0009ef0c05ef01f0011505c800450105b50006b600034235ff43102544000002f100006fb910013cd671000000018f48bea60800115c3a7615c88789fffc00190f0009000c05ef01f0011505c800450105b50007b6000342399b43102444000002f100006fb910013cd68d000000018f48bea9f000115c3b2d15c88883fffc002d0f000a000c05ef01f0011505c800450105b50006b600034238f843102444000002f100006fb910013cd691000000018f48beadd800115c3c4815c8893afffb00430f000b000c05ef01f0011505c800450105b50006b6000342382d43102244000002f100006fb910013cd694000000018f48beb1c000115c3d9615c8897dfffb00560f000b000c05ef01f0011505c800450105b50007b6000342383143102444000002f100006fb910013cd697000000018f48beb5a800115c3f4715c889f2fffa006a0e000a000c05ef01f0011505c800450105b50006b6000342387043102444000002f100006fb910013cd69b000000018f48bee0a000115c4f1915c887edfff1006e0f0015000c05ef01f0011504c800450105b50005b6000342367c43101644000002f100006fb910013cd6c0000000018f48bf07b000115c6a8215c88081ffed005c0f0009000c05ef01f0011504c800450105b50005b6000342376343102544000002f100006fb910013cd703000000018f48bf0b9800115c6b6b15c880a2ffed004b0f0006000c05ef01f0011504c800450105b50007b6000342376343102444000002f100006fb910013cd703000000018f48bf0f8000115c6c3315c880d4ffec002d0f0006000c05ef01f0011504c800450105b50005b6000342375043102544000002f100006fb910013cd707000000018f48bf136800115c6d1c15c88128ffec00200f0009000c05ef01f0011504c800450105b50005b6000342376d43102544000002f100006fb910013cd707000000018f48bf175000115c6de415c881adffec00100f0008000c05ef01f0011504c800450105b50005b6000342375d43102444000002f100006fb910013cd70b000000018f48bf1b3800115c6e4815c882a7ffed00010f000c000c05ef01f0011504c800450105b50007b6000342375b43102444000002f100006fb910013cd70e000000018f48bf369000115c6f5315c88f8bffed00090f0017000c05ef01f0011504c800450105b50006b600034236ed43102444000002f100006fb910013cd733000000018f48bf3e6000115c70b115c893b6ffed00150e0016000c05ef01f0011504c800450105b50007b600034236c043102044000002f100006fb910013cd73900130000e072
2024-05-06 00:06:35  INFO: [T90a9ec4a] disconnected
Anton Tananaev6 months ago

Looks like the server has not responded to the last message. Are you sure you're using the latest official release without any code changes?

thezgbank6 months ago

Yes, I'm sure I did a new installation.

https://tinyurl.com/ymoqqw3k

Anton Tananaev6 months ago

Maybe try setting up a timeout for connections.

thezgbank6 months ago

How can I do this? And do you have any other suggestions? I don't experience this issue on Traccar demo servers; they work smoothly.

Anton Tananaev6 months ago
thezgbank6 months ago

I had made all these settings for the previous servers, and I have now done the same for the new server. If the problem continues, I will write again for further support.

Harshana Srimal4 months ago

I face the same issue. were you able to fix? I followed the optimization guide as well