Closed blackrez closed 6 years ago
@blackrez which version of conntrack_exporter are you using? The latest version v0.3 fixes some crash scenarios, might want to try it.
Also, when you write it crashes after a long time, how long (hours, days, weeks)? It might help you to run with docker run --restart=always ...
in the meantime.
Also, can you post your full docker run
command?
This is the last version from the docker hub, it is conntrack_exporter v0.2.
@blackrez Docker Hub actually had the v0.3 tag for a couple of weeks now but the :latest
tag wasn't updated and still pointed to v0.2. Sorry about that, I just fixed it. Please docker pull hiveco/conntrack_exporter
and try again.
Ok I will test the latest version and see if segfault happen.
I have the same issue with v0.3 and I have a message from logs.
conntrack_exporter: src/connection_table.cc:62: void conntrackex::ConnectionTable::updateConnection(conntrackex::Connection&): Assertion `!(this->is_rebuilding && connection.hasTrackingStopped())' failed.
The connection updating logic was rewritten in v0.3 and that assertion had been removed. I suspect you're still somehow running v0.2.
I just verified that hiveco/conntrack_exporter:latest == hiveco/conntrack_exporter:0.3
in Docker Hub, so please make sure you pulled the latest tag again or use the 0.3 tag explicitly.
I confirm it works great with 0.3.
Many thanks.
Hello,
I have issues with conntrack_exporter in docker.
After a long run, conntrack_exporter crashed without logs.
In my kernel log, I found :
And the output of
docker info
: