I am using Traccar version 5.9 and have encountered an issue where:
• The server works fine with 1300 devices.
• When I add 400 more devices, all devices start showing incorrect timestamps, and devices begin resending location packets.
Could you please provide guidance or a solution for this issue? Here are some specific questions:
1. Server Load & Performance:
• What are the recommended hardware and database configurations for handling 1700+ devices?
• Could this issue be related to high CPU/memory usage?
• Would upgrading to a newer Traccar version help with performance?
2. Database Optimization:
• Could slow database writes be causing delayed responses to devices?
• Are there any database optimizations or indexing recommendations to handle high loads efficiently?
3. Time Synchronization Issue:
• Could the issue be related to server time synchronization (NTP)?
• Does Traccar handle time corrections automatically, or do I need to configure something manually?
4. Device Overload & Connection Handling:
• Is there a recommended connection limit per server?
• Could devices be timing out due to delayed responses, causing them to resend location packets?
• Would enabling TCP keep-alive or adjusting connection timeouts in Traccar help?
5. Logging & Debugging:
• Which Traccar logs should I check to diagnose why timestamps are incorrect and why devices are resending packets?
• Are there any specific debugging tools I should use?
Any insights or recommendations you can provide would be greatly appreciated.
Is there a reason you're using an old version? I would recommend upgrading to see if it fixes the problem.
Yes because in 5.9 there no database I modified this version and I forward position and event to redis.
Every single version of Traccar has a database. Are you sure you're using an official version without any customization?
Next time make sure you say it upfront because a customized 5.9 is not the same thing as Traccar version 5.9.
I am using Traccar version 5.9 and have encountered an issue where:
• The server works fine with 1300 devices.
• When I add 400 more devices, all devices start showing incorrect timestamps, and devices begin resending location packets.
Could you please provide guidance or a solution for this issue? Here are some specific questions:
1. Server Load & Performance:
• What are the recommended hardware and database configurations for handling 1700+ devices?
• Could this issue be related to high CPU/memory usage?
• Would upgrading to a newer Traccar version help with performance?
2. Database Optimization:
• Could slow database writes be causing delayed responses to devices?
• Are there any database optimizations or indexing recommendations to handle high loads efficiently?
3. Time Synchronization Issue:
• Could the issue be related to server time synchronization (NTP)?
• Does Traccar handle time corrections automatically, or do I need to configure something manually?
4. Device Overload & Connection Handling:
• Is there a recommended connection limit per server?
• Could devices be timing out due to delayed responses, causing them to resend location packets?
• Would enabling TCP keep-alive or adjusting connection timeouts in Traccar help?
5. Logging & Debugging:
• Which Traccar logs should I check to diagnose why timestamps are incorrect and why devices are resending packets?
• Are there any specific debugging tools I should use?
Any insights or recommendations you can provide would be greatly appreciated.