-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange panics on 1.6.2 #6892
Comments
Thank you for reporting, this looks serious, we will be looking into this! |
Downgraded the cluster to 1.5.3 and got this instead (agent's log, but observed the same on servers):
At the same moment, on another agent:
|
I suppose, log rotation settings could be related to the issue, (due to
Now I'm trying change to
And see what happens then. |
Fixes #6892. The [docs](https://www.consul.io/docs/agent/options.html#_log_rotate_max_files) are stating: > -log-rotate-max-files - to specify the maximum number of older log > file archives to keep. Defaults to 0 (no files are ever deleted). Set to > -1 to disable rotation and discard all log files. But the `-1` case was not implemented and led to a panic when being used.
* Handle discard all logfiles properly Fixes #6892. The [docs](https://www.consul.io/docs/agent/options.html#_log_rotate_max_files) are stating: > -log-rotate-max-files - to specify the maximum number of older log > file archives to keep. Defaults to 0 (no files are ever deleted). Set to > -1 to disable rotation and discard all log files. But the `-1` case was not implemented and led to a panic when being used. Co-Authored-By: Freddy <[email protected]>
Hey there, This issue has been automatically locked because it is closed and there hasn't been any activity for at least 30 days. If you are still experiencing problems, or still have questions, feel free to open a new one 👍. |
Hello
I recently setup a new application cluster with consul 1.6.1.
The cluster is very same as few dozens of same clusters I manage, but I getting random consul cluster malfunctions.
Seeking into consul logs on servers side, I found these panics:
I tried to upgrade cluster to 1.6.2, but its not helped.
I do not know how to reproduce it, because it is very random, 1-2 occurrences per day.
Could this be a bug?
Operating system and Environment details
Centos 7, amd64
The text was updated successfully, but these errors were encountered: