GithubHelp home page GithubHelp logo

victorialogs panic about victoriametrics HOT 12 OPEN

kk-kwok avatar kk-kwok commented on July 21, 2024
victorialogs panic

from victoriametrics.

Comments (12)

kk-kwok avatar kk-kwok commented on July 21, 2024 1

Also, try using VictoriaLogs v0.18.0. It is built with Go1.22.4, which may contain the fix for this issue. See the list of fixes in Go1.22.4

Yesterday, it was updated to v0.18.0, and panic often occurred.

from victoriametrics.

valyala avatar valyala commented on July 21, 2024 1

@kk-kwok , I prepared Go1.21.11 builds of VictoriaLogs from the branch victorialogs-go1.21-issue-6425. There is a Docker image docker.io/victoriametrics/victoria-logs:heads-victorialogs-go1.21-issue-6425-0-gbeee1cc615 at DockerHub and the amd64-linux binary attached here. Could you try these builds and verify whether they are free from the panic? If yes, then the issue is definitely in Go1.22, and in this case we need to help Go core developers narrowing down the issue at golang/go#66383 , so they could fix it quickly.

victoria-logs-linux-amd64-heads-victorialogs-go1.21-issue-6425-0-gbeee1cc615.tar.gz

from victoriametrics.

valyala avatar valyala commented on July 21, 2024

@kk-kwok , thanks for filing the bug report! It looks similar to golang/go#66383 and golang/go#67255 .

@kk-kwok , if you run VictoriaLogs on arm64, then it would be great if you could help Go core team narrowing down the issue at golang/go#66383

from victoriametrics.

valyala avatar valyala commented on July 21, 2024

Also, try using VictoriaLogs v0.18.0. It is built with Go1.22.4, which may contain the fix for this issue. See the list of fixes in Go1.22.4

from victoriametrics.

kk-kwok avatar kk-kwok commented on July 21, 2024

@kk-kwok , thanks for filing the bug report! It looks similar to golang/go#66383 and golang/go#67255 .

@kk-kwok , if you run VictoriaLogs on arm64, then it would be great if you could help Go core team narrowing down the issue at golang/go#66383

Sorry, I don't have an arm64 environment

from victoriametrics.

valyala avatar valyala commented on July 21, 2024

Yesterday, it was updated to v0.18.0, and panic often occurred.

Does the stack trace for the panic look the same every time? Does it contain SIGSEGV: segmentation violation and runtime.(*mspan).typePointersOfUnchecked every time?

If not, then it would be great to see other examples of the panic.

Also, could you build VictoriaLogs from the v0.18.0-victorialogs release tag with the make victoria-logs-race command? This command builds VictoriaLogs executable with the built-in data race detector and put the built binary in bin directory. The binary name should be bin/victoria-logs-race. Then run this binary and see whether it logs additional errors (data race errors) before and during the panic.

from victoriametrics.

kk-kwok avatar kk-kwok commented on July 21, 2024

Yesterday, it was updated to v0.18.0, and panic often occurred.

Does the stack trace for the panic look the same every time? Does it contain SIGSEGV: segmentation violation and runtime.(*mspan).typePointersOfUnchecked every time?

If not, then it would be great to see other examples of the panic.

Also, could you build VictoriaLogs from the v0.18.0-victorialogs release tag with the make victoria-logs-race command? This command builds VictoriaLogs executable with the built-in data race detector and put the built binary in bin directory. The binary name should be bin/victoria-logs-race. Then run this binary and see whether it logs additional errors (data race errors) before and during the panic.

Yes, the stack trace of Panic is the same every time.

OK, I'll try.

from victoriametrics.

valyala avatar valyala commented on July 21, 2024

@kk-kwok , are there any updates regarding the build with Go1.21? Feel free asking additional assistance if it is needed from our side.

from victoriametrics.

kk-kwok avatar kk-kwok commented on July 21, 2024

@kk-kwok , are there any updates regarding the build with Go1.21? Feel free asking additional assistance if it is needed from our side.

I'm sorry that I only saw this reply now. I'm now trying to use the image produced by go1.21.11.
Thank you

from victoriametrics.

kk-kwok avatar kk-kwok commented on July 21, 2024

@valyala Another question, a colleague reported that the json size of several log records exceeds 25KB, but it is not found in victorylogs. What is the limit on the size of a single log?

from victoriametrics.

kk-kwok avatar kk-kwok commented on July 21, 2024

@kk-kwok , I prepared Go1.21.11 builds of VictoriaLogs from the branch victorialogs-go1.21-issue-6425. There is a Docker image docker.io/victoriametrics/victoria-logs:heads-victorialogs-go1.21-issue-6425-0-gbeee1cc615 at DockerHub and the amd64-linux binary attached here. Could you try these builds and verify whether they are free from the panic? If yes, then the issue is definitely in Go1.22, and in this case we need to help Go core developers narrowing down the issue at golang/go#66383 , so they could fix it quickly.

victoria-logs-linux-amd64-heads-victorialogs-go1.21-issue-6425-0-gbeee1cc615.tar.gz

Now that the new image compiled with go1.21.11 is used to run, I will observe whether panic occurs in the next day. Previous versions including v0.19.0 will panic after running for a few hours.

from victoriametrics.

kk-kwok avatar kk-kwok commented on July 21, 2024

@kk-kwok , I prepared Go1.21.11 builds of VictoriaLogs from the branch victorialogs-go1.21-issue-6425. There is a Docker image docker.io/victoriametrics/victoria-logs:heads-victorialogs-go1.21-issue-6425-0-gbeee1cc615 at DockerHub and the amd64-linux binary attached here. Could you try these builds and verify whether they are free from the panic? If yes, then the issue is definitely in Go1.22, and in this case we need to help Go core developers narrowing down the issue at golang/go#66383 , so they could fix it quickly.
victoria-logs-linux-amd64-heads-victorialogs-go1.21-issue-6425-0-gbeee1cc615.tar.gz

Now that the new image compiled with go1.21.11 is used to run, I will observe whether panic occurs in the next day. Previous versions including v0.19.0 will panic after running for a few hours.

@valyala LGTM!
I have been running the image compiled by go1.21.11 for 25 hours now, and it has been running normally without panic.

from victoriametrics.

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.