Hannu Kivimäki

Results 5 comments of Hannu Kivimäki

We just went into production with carbonapi 0.16.0~1 and also quickly ended up having memory issues - carbonapi had maybe 100 MiB of data in cache, but process memory consumption...

@Civil here's a heap profile moments before OOM: [heap.pprof.gz](https://github.com/go-graphite/carbonapi/files/10509344/heap.pprof.gz) @msaf1980 as far as I can tell, setting response cache `size_mb` for example to 50 or 100 MiB has no effect...

We did some more testing and debugging, and think the root cause for response cache's huge memory consumption is this : https://github.com/go-graphite/carbonapi/blob/cdf42a3b13ace4335f318e6a9f8373480c42230b/expr/types/types.go#L123 https://github.com/go-graphite/carbonapi/commit/bf0ffdceddd069c2fa1761fb3697002eca72f85c changed the way the byte slice is...

There are other memory concerns too. During past weekend we had two production servers running carbonapi with just the backend cache enabled (as a workaround for response cache issues). Server...

@msaf1980 which branch would you like us to test?