device connections issue

Niraj Singha year ago

Hi,

I am using around 5000 devices on one server having 16gb RAM and 8 core processor but we are facing issue with device connections they are not getting processed smoothly.which is causing issue in device live location update.It is updating in a min when it is supposed to be updated in 10 seconds.We have done traccar and mysql optimization suggested by traccar documentations.

anybody faced similar issue and found some solution for number of connections limit increment.Please suggest.

Niraj Singha year ago

just want to add one more thing.there are always some CLOSE_WAIT connections on server.we are using linux server.

Track-tracea year ago

You dont write about anything you already tried to do to solve the issue. You already tuned everything according to this link ? https://www.traccar.org/optimization/

Anton Tananaeva year ago

Is there a delay or the updating interval is wrong?

Track-tracea year ago

Actually now i see you already wrote that you tuned according to the documentation.

-My suggestion would be to disable all protocol port that you do no use.
-Check cpu load per process (what consumes most cpu, for instance with htop).
-Check memory usage for system, mysql, java.
-Make sure you use fast nvme drive which will speed up read/write

when running the server for a day check with mysqltuner what can be improved https://www.linode.com/docs/guides/how-to-optimize-mysql-performance-using-mysqltuner/