bigcache icon indicating copy to clipboard operation
bigcache copied to clipboard

BigCache is logging allocations it should not

Open Matias-Barrios opened this issue 1 year ago • 4 comments

What is the issue you are having? I have deployed the version 3.0.2 and I thought this issue: https://github.com/allegro/bigcache/issues/117 meant it was solved. I have a constant flow of the below messages on my logs.

Can you help me understand how to fix this?

What is BigCache doing that it shouldn't? It should not log this every few milliseconds :

2023/06/05 02:37:51 Allocated new queue in 92.911µs; Capacity: 614400 
2023/06/05 02:37:50 Allocated new queue in 81.841µs; Capacity: 614400
...

Minimal, Complete, and Verifiable Example

When asking a question about a problem caused by your code, you will get much better answers if you provide code we can use to reproduce the problem. That code should be...

  • ...Minimal – Use as little code as possible that still produces the same problem
  • ...Complete – Provide all parts needed to reproduce the problem
  • ...Verifiable – Test the code you're about to provide to make sure it reproduces the problem

For more information on how to provide an MCVE, please see the Stack Overflow documentation.

Environment:

  • Version (git sha or release): NA
  • OS (e.g. from /etc/os-release or winver.exe): alpine3.15
  • go version: golang:1.17.9

Matias-Barrios avatar Jun 05 '23 02:06 Matias-Barrios