Comments (12)
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.
@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.
@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.
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 , 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.
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.
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
andruntime.(*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 inbin
directory. The binary name should bebin/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.
@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 , 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.
@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 , 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 , 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.gzNow 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)
- The metric `process_resident_memory_bytes` was not calculated correctly HOT 2
- Global WITH templates in vmselect / vmsingle
- vmauth cannot start with empty configuration. HOT 1
- vmauth: default httpserver incorrectly exposed
- VMAlert oauth2 error HOT 2
- vmagent using k8s endpoint role for pod role jobs HOT 7
- kube-scheduler and kube-controller-manager scrape tls issue on victoria-metrics-k8s-stack HOT 3
- Add type parameter to prometheus metrics in vmagent HOT 2
- GetRowsDiff func takes a lot of time when vmagent pushes kube-state-metrics data HOT 3
- Using Query from the beginning of the day HOT 1
- Allow VMAlert to replay alerts till the current time HOT 2
- Different authorization for different targets, via relabel
- IndexDB data consuming more space after pod restarts HOT 3
- Indexdb add scroll mode when vmstorage -retentionPeriod parameter set very long time
- vmalert-tool: process won't exit when no rule is defined under group HOT 2
- Prometheus scraping breaks because of duplicated metrics in vmagent HOT 2
- Victorialogs can't parse syslog timestamps HOT 6
- victorialogs vmui: unresponsive after query execution HOT 1
- Random inconsistent results in query operations from the same instance and exporter HOT 10
- vmalert: replay exit with status 0 when generated samples are not successfully pushed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from victoriametrics.