Real-time map shows outdated position while historical data is correct

GIS-FACTORYa day ago

Hello,
We are experiencing an issue with a self-hosted Traccar installation.

Context:
AWS EC2
4 vCPUs / 16 GB of RAM (capacity upgrade performed today)
MySQL on the same server
~3,000 devices (approx. 1,700 online)
Mix of 2G and 4G devices
~60 concurrent users
Traccar version 6.10.0

Problem:
Some devices appear online, but the real-time map displays an outdated position with an old timestamp.

However, when querying the historical data/routes, the information is correct and up-to-date.

  • The frozen position corresponds to a previously valid coordinate.
  • This occurs with several devices and different models.
  • Restarting the GPS or changing the device does not solve the problem.
  • Editing the device does not help.
  • Restarting the Traccar service or the entire server does not fix the problem.
  • Deleting and recreating the device does solve it, but the historical data is lost.

What would be the correct way to permanently resolve this issue?

Thank you in advance for any guidance.

You would need to troubleshoot it first to understand the root cause before we talk about a solution.

GIS-FACTORYa day ago

Hi Anton,
thank you for your response.

We understand that identifying the root cause is necessary before discussing a solution. However, at this point we are not sure which component or processing flow we should focus on to properly investigate the issue, since historical data is stored correctly and the problem seems to affect only the device state / last position shown on the live map.

Could you please guide us on what specific areas we should review (logs, database tables, internal processes, or configuration parameters) in order to better understand the root cause?
Any direction that helps us narrow down the analysis would be greatly appreciated.

Thank you very much for your help.

You should review everything you mentioned, but obviously I would start with logs.