Giter Club home page Giter Club logo

Comments (8)

marminthibaut avatar marminthibaut commented on August 31, 2024

Hi,

can you be more precise? Context, env, etc.

Did it work fine before the update?

Thanks

from dockbeat.

solomkinmv avatar solomkinmv commented on August 31, 2024

CentOS 7, Docker 1.10.3, Go 1.6. I've built binary from development branch. And it is my first usage of dockerbeat :)

from dockbeat.

marminthibaut avatar marminthibaut commented on August 31, 2024

Ok thank I'll have a look.

You can try the beta2 version, waiting for the bug resolution.

from dockbeat.

solomkinmv avatar solomkinmv commented on August 31, 2024

I've updated libbeat for beta 2 and got the same error. Any ideas?

from dockbeat.

marminthibaut avatar marminthibaut commented on August 31, 2024

No idea.. We will work on it as soon as possible.

Thanks for the feedback

from dockbeat.

erwanncloarec avatar erwanncloarec commented on August 31, 2024

We have a concurrent map read/write problem here because we use a goroutine on exportContainerStats function.

Golang has made the choice to not define map operations as atomic. Therefore they provide a solution, using sync.RWMutex.

I think we should try that instead of a new structure for concurrent map.

from dockbeat.

solomkinmv avatar solomkinmv commented on August 31, 2024

@erwanncloarec I'm a total newbie in Go, so it was first working solution for this problem :)

from dockbeat.

marminthibaut avatar marminthibaut commented on August 31, 2024

I think problem comes from this line: https://github.com/Ingensi/dockerbeat/blob/develop/beat/EventGenerator.go#L227

I'll try a mutex based solution soon...

from dockbeat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.