Open autom8ter opened 4 years ago
I wonder what is causing those quick spikes.
I would like to reproduce. The log and graph helps and so does the details on the number of geofences and events/min.
Could you also provide an example of what a typical geofence and SET objects look like in your system?
Also, are you using a swap file? Not that that would fix the underlying problem, but I wonder if, in the meantime, it could alleviate the memory pressure and keep the Linux out of memory killer from firing.
@autom8ter Were you able to resolve this issue on your side?
Describe the bug We are observing intermittent spikes in memory usage that result in tile38 crashing and restarting in our Kubernetes cluster. We normally hover around 45 mb but spike to over 1 Gb every once in a while. This crashes Tile38 and loses all of its in-memory channels, causing our geofence to completely stop working until we re-add all of the channels.
To Reproduce Cant reproduce as its intermittent and has no noticeable correlations with request load.
Expected behavior
Logs These are the only logs off of the crashed instance:
Operating System (please complete the following information):
Additional context We have about 1000 sites that are geofenced, we receive about 100 site_events/min over a redis channel using a standard go-redis client https://godoc.org/github.com/go-redis/redis. No dramatic increase in requests made to tile38 during the spikes.