-
Notifications
You must be signed in to change notification settings - Fork 4.1k
log: out-of-memory panics do not reliably surface in stderr logs #63910
Copy link
Copy link
Closed
Labels
A-cc-enablementPertains to current CC production issues or short-term projectsPertains to current CC production issues or short-term projectsA-loggingIn and around the logging infrastructure.In and around the logging infrastructure.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-server-and-securityDB Server & SecurityDB Server & SecurityX-server-triaged-202105X-staleno-issue-activity
Description
Describe the problem
When cockroach dies with panic(out of memory), this error does not reliably make it to the stderr redirecting log files.
To Reproduce
See #62763.
Expected behavior
Fatal errors from the runtime should reliably show up in the logs.
Environment:
- release-21.1 and onwards (unclear if problem exists in 20.2)
- Server OS: linux
Additional context
This adds friction to roachtest investigations.
Epic CRDB-7327
Jira issue: CRDB-6823
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-cc-enablementPertains to current CC production issues or short-term projectsPertains to current CC production issues or short-term projectsA-loggingIn and around the logging infrastructure.In and around the logging infrastructure.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-server-and-securityDB Server & SecurityDB Server & SecurityX-server-triaged-202105X-staleno-issue-activity