Skip to content

log: out-of-memory panics do not reliably surface in stderr logs #63910

@tbg

Description

@tbg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cc-enablementPertains to current CC production issues or short-term projectsA-loggingIn and around the logging infrastructure.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-server-and-securityDB Server & SecurityX-server-triaged-202105X-staleno-issue-activity

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions