Slow server

jamela year ago

Hey,
I have been using Traccar server more than a year now I had notice that is using more resources than ever. i have a ubuntu server 20.04 with SSD and 8GB ram including 150 devices and 20 users the server is getting slower i'm not a java expert but it looks there is something wrong .
https://i.imgur.com/Jtdl6q1.png
anyone can help!

Anton Tananaeva year ago

What version are you using?

jamela year ago

I'm using version 5.4

Anton Tananaeva year ago

You should upgrade first.

By the way, why do you have so many server instances?

jamela year ago

OK i will upgrade .
I have no idea i installed it with the traccar.run script with this configuration
https://www.transferfile.io/#/bafybeiaxp7qwnkj2nqhjm7ibhnnvkket7laddeyeh6l4gdybrboq7mxree
please check it out

Richard Acostaa year ago

Hello, sorry for the intromission but about server instances...
I tought it was normal....

https://i.imgur.com/RgF6WJ7.png

Richard Acostaa year ago

Jamel, CPU load seems too high.. My cpu usage in a monocore is mostly 0.00... (it increased as I started ssh session)

https://i.imgur.com/Cy3uRFv.png

Anton Tananaeva year ago

It is not normal to have multiple instances of the service.

jamela year ago

Hey Richard,
yes i know this is weird the pid is using 32% of the cpu .
https://i.imgur.com/UA70cOV.png

jamela year ago

And it looks like it's not a multiple instances its just threads
checkout this :
https://stackoverflow.com/questions/16078883/htop-and-top-showing-multiple-instances-of-process

Anton Tananaeva year ago

OK. Weird that it shows different PID for each though. That what confused me.

jamela year ago

Hey
is it normal that my traccar server uses a lot of cache memory ?
https://i.imgur.com/IQhwuxr.png

              total        used        free      shared  buff/cache   available
Mem:              7           0           0           0           6           6
Richard Acostaa year ago

0.7 the main pid.... 0.0 the rest.
You have a serious issue..... ¿how often (what freq.) your devices report location?

https://imgur.com/k1MBYkv