Skip to content

kvm: the server machine dies partway through a soak test on AMD (c8a.metal) #375

Backlog

Description

@progrium

Found by minipg's stress suite in a cross-platform test round on AWS against hyper9 22d395c (progrium/minipg#27).

What happens

During the 15-minute soak test on an AMD host (c8a.metal, KVM backend), the minipg server dies partway through. Every client connection aborts at once, and from then on clients get "connection refused".

  • It happened in 2 of 7 soak runs on AMD.
  • It never happened on Intel (nested KVM) or on Mac (HVF) in the same round.

What we don't have

No crash log was captured. The server log is overwritten when the server restarts, so whatever h9 or Postgres printed when it died is gone. We don't yet know whether the guest crashed, the VM exited (a KVM exit h9 didn't handle, a triple fault, etc.), or the h9 host process itself died.

Evidence

The logs from this round are on the h9dev machine in ~/minipg-test/results4/:

  • linux-amd/logs/stress.log
  • linux-amd/logs/soak-3.log

Next steps

  • Keep the server log across restarts (or capture h9's stderr separately) and rerun the soak on c8a.metal until it reproduces.
  • Check dmesg on the host for KVM messages around the time of death.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions