fleet-telemetry icon indicating copy to clipboard operation
fleet-telemetry copied to clipboard

High ram use till crash . Raised by 2mb per minute

Open vjfromgt opened this issue 6 months ago • 4 comments

We are running on an aws box , for now just 2 cars but intention is to add a few hundred.

Db is rds which is always under 2% load. Server is aws t3.large

When service first starts, all is well but the ram usage keeps increasing. After about 3 days the ram is so high that the server crashes. Ram is been used by Fleet-telemetry

tmp_e14e27ba-47a9-4058-9dfa-29ab43c6cd6a.png

Anyone else experienced/ solved this?

vjfromgt avatar Jun 06 '25 13:06 vjfromgt

That's strange, we serve 1000+ vehicles on 200-250MB of ram. Is it possible that all the messages remain in memory somehow? Maybe logging?

dirkbonhomme avatar Jun 06 '25 21:06 dirkbonhomme

What comes to mind is if you are using something like Kafka but not acknowledging your messages so they are remaining on the Fleet Telemetry server.

Can you share details on your config, like what producer you're using and how it's configured.

Bre77 avatar Jun 06 '25 22:06 Bre77

I will get the details and config on Monday but we are writing directly to MySQL and not via Kafka.

vjfromgt avatar Jun 07 '25 02:06 vjfromgt

I will get the details and config on Monday but we are writing directly to MySQL and not via Kafka.

So you have made modifications to the code? That's likely your issue. Are you acknowledging the messages processed in your custom MySQL producer?

Bre77 avatar Jun 07 '25 02:06 Bre77