Project

General

Profile

Feature #7024

Updated by Tom Clegg over 8 years ago

Some useful/easy things to report in @/status.json@ that can be useful for troubleshooting: 
 * GOGC env (or 100 if not set) - see https://golang.org/pkg/runtime/debug/#SetGCPercent 
 * GOMAXPROCS env 
 * Startup and current timestamps (in nanoseconds, like the times in MemStats) 
 * A list of all the operations in progress, the buffers, with these fields: operation (GET/PUT/HEAD/...), hash, remote ip, how long since it was received it's been in the buffer (or timestamp received), requests state (reading request body, checking for existing copy on disk, writing to disk, etc) date/time inserted in buffer) 
 * For each integer x in 0..600, number of requests received and number of requests completed as of x seconds ago.

Back