Slow traccar interface

GIS-FACTORYa year ago

Hello,

Currently, I have 2k devices reporting, but the traccar interface became too slow, device creation, device assignment, geofence creation, map search, are processes that take up to 1 minute to load the page and the interface As such, it must be reloaded after 3 minutes of inoperability, because it is left thinking and the browser displays the "Page is not responding" alert.

Traccar is currently mounted on a virtual machine with 4 cores and 16 RAM, with an Aurora server for the My SQL database, the position table is maintained with 10 days of history and the Java memory is 4GB . The matrices of the processors do not rise above 20%. I ran all the optimization processes in the documentation but I'm still the same.

Could you guide me, how to improve this situation, please.

Kaloyan Kaneva year ago

Must to open the tasks manager of the client side computer to can understanding from where exactly is the problem.
Probably the client side have a problem to render 2k devices

Track-tracea year ago

I always wonder after people have setup their company / traccar server. Their first post is when they have 2000 devices online and create their first forum post.

Are you using traccar server a long time ? or just scaled up very quickly ?

Anton Tananaeva year ago

There are two different issues here:

  1. If you have a large number of devices assigned to a single user, adding or linking object will be slow because of the cache invalidation. That is a backend issue.
  2. Web app itself might become slow because of the large number of devices. Do you have a lot of web notifications? Does it become better if you clear them in the notification panel?
GIS-FACTORYa year ago

Track-trace

We have grown little by little and it has not been easy, we had a previous version running and we recently executed an update and since then we have had the aforementioned complication.

GIS-FACTORYa year ago

Anton Tananaev
In advance, thank you for everything you do.

Analyzing your observation, you are right, we have 5 users to whom 90% of the vehicles are assigned, both individually and by group segment. We don't have the notifications active yet, so that part doesn't affect us yet.

Any way to improve performance? Do you recommend not including more vehicles on that server?

Anton Tananaeva year ago

The recommendation is to not have all of the devices assigned to the same user.

smsoousa2 months ago

Hi Anton! Thank you for your excellent work. In order not to open another ticket, I will take advantage of this one as my problem is the same.

Using version 4.10, with 1200 devices, server with 24gb of RAM and CPU 4 cores Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz. The system runs beautifully, without slowdowns, the map opens quickly, devices and users alike. When updating to 6.5 or any other modern version, I experience a huge slowdown in everything, map rendering, users and devices take 2 to 3 minutes to load, when clicking on the device, the map turns white because it is so slow, then After a few minutes it starts rendering. So I really need to know if there is anything to be done in the modern version to improve this, be it configuration or code. Noting that I am already using all the optimization options in the documentation.

This issue of not having all devices being loaded under a single user is not valid for me, since in older versions this problem did not exist. Imagine how difficult it would be to manage many devices between different users, it would be a mess.

So if you can help me or direct me to a path I will be very grateful. I believe that many people are having the same problem and so far no resolution. My PC, from where I access the browser, has 32GB of RAM, 4 processing cores.

Anton Tananaev2 months ago

This is a wrong thread. The issue was with linking and it's already solved in recent version.