Skip to content

server/status: CGO memory stats are broken on Mac OS X #15272

@petermattis

Description

@petermattis

Unlike the previous breakage where the stats were always zero, now they have non-zero constant values:

I170422 20:51:08.914979 42 server/status/runtime.go:225  [n1] runtime stats: 67 MiB RSS, 186 goroutines, 14 MiB/11 MiB/36 MiB GO alloc/idle/total, 258 KiB/408 KiB CGO alloc/total, 99.80cgo/sec, 0.01/0.00 %(u/s)time, 0.00 %gc (1x)
I170422 20:51:18.917336 42 server/status/runtime.go:225  [n1] runtime stats: 69 MiB RSS, 186 goroutines, 20 MiB/5.9 MiB/37 MiB GO alloc/idle/total, 258 KiB/408 KiB CGO alloc/total, 129.27cgo/sec, 0.01/0.00 %(u/s)time, 0.00 %gc (1x)
I170422 20:51:28.915687 42 server/status/runtime.go:225  [n1] runtime stats: 71 MiB RSS, 186 goroutines, 13 MiB/14 MiB/39 MiB GO alloc/idle/total, 258 KiB/408 KiB CGO alloc/total, 120.72cgo/sec, 0.01/0.00 %(u/s)time, 0.00 %gc (1x)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions