Skip to main content

diagnose

Function diagnose 

Source
fn diagnose(quiet: u64, threads: &[String], database_url: Option<&str>)
Expand description

Everything worth knowing about a stuck run, gathered with the process tree frozen, before it is killed, because killing it drops the database connections and the process tree being diagnosed.

Each of these had to be gathered by hand from a live pod last time, racing the job’s deadline. The database view is the one that mattered: connections sitting idle / ClientRead while the client waited on the socket is what identified a desynchronised connection rather than a slow query.