Skip to content

Instantly share code, notes, and snippets.

@jwreagor
Created October 19, 2017 18:58
Show Gist options
  • Save jwreagor/71ee8c241a0ba7aa2588a0c244fb0f9c to your computer and use it in GitHub Desktop.
Save jwreagor/71ee8c241a0ba7aa2588a0c244fb0f9c to your computer and use it in GitHub Desktop.
{
consul: "consul:8500",
logging: {
level: "DEBUG",
format: "text"
},
jobs: [
{
name: "test-thing",
exec: "tail -f"
}
],
control: {
socket: "/tmp/cp-single.socket"
}
}
goroutine profile: total 8
1 @ 0x101155b 0x1044127 0x11428c2 0x105aef1
# 0x1044126 os/signal.signal_recv+0xa6 /usr/local/Cellar/go/1.9.1/libexec/src/runtime/sigqueue.go:131
# 0x11428c1 os/signal.loop+0x21 /usr/local/Cellar/go/1.9.1/libexec/src/os/signal/signal_unix.go:22
1 @ 0x102ec5c 0x102ed4e 0x100575b 0x10054e3 0x1057b0c 0x105aef1
# 0x102ec5b runtime.gopark+0x12b /usr/local/Cellar/go/1.9.1/libexec/src/runtime/proc.go:277
# 0x102ed4d runtime.goparkunlock+0x5d /usr/local/Cellar/go/1.9.1/libexec/src/runtime/proc.go:283
# 0x100575a runtime.chansend+0x26a /usr/local/Cellar/go/1.9.1/libexec/src/runtime/chan.go:222
# 0x10054e2 runtime.chansend1+0x42 /usr/local/Cellar/go/1.9.1/libexec/src/runtime/chan.go:113
# 0x1057b0b runtime.ensureSigM.func1+0x15b /usr/local/Cellar/go/1.9.1/libexec/src/runtime/signal_unix.go:522
1 @ 0x11208d2 0x11206d0 0x111d22b 0x13c2b58 0x13c5359 0x102e7bd 0x105aef1
# 0x11208d1 runtime/pprof.writeRuntimeProfile+0xa1 /usr/local/Cellar/go/1.9.1/libexec/src/runtime/pprof/pprof.go:637
# 0x11206cf runtime/pprof.writeGoroutine+0x9f /usr/local/Cellar/go/1.9.1/libexec/src/runtime/pprof/pprof.go:599
# 0x111d22a runtime/pprof.(*Profile).WriteTo+0x3aa /usr/local/Cellar/go/1.9.1/libexec/src/runtime/pprof/pprof.go:310
# 0x13c2b57 github.com/joyent/containerpilot/core.(*App).Run+0x2d7 /Users/justinreagor/go/src/github.com/joyent/containerpilot/core/app.go:155
# 0x13c5358 main.main+0x1e8 /Users/justinreagor/go/src/github.com/joyent/containerpilot/main.go:43
# 0x102e7bc runtime.main+0x20c /usr/local/Cellar/go/1.9.1/libexec/src/runtime/proc.go:185
1 @ 0x1385a80 0x105aef1
# 0x1385a80 github.com/joyent/containerpilot/control.(*HTTPServer).Run.func1+0x0 /Users/justinreagor/go/src/github.com/joyent/containerpilot/control/control.go:81
1 @ 0x1385b20 0x105aef1
# 0x1385b20 github.com/joyent/containerpilot/control.(*HTTPServer).Start.func1+0x0 /Users/justinreagor/go/src/github.com/joyent/containerpilot/control/control.go:115
1 @ 0x13b2d00 0x105aef1
# 0x13b2d00 github.com/joyent/containerpilot/jobs.(*Job).Run.func1+0x0 /Users/justinreagor/go/src/github.com/joyent/containerpilot/jobs/jobs.go:152
1 @ 0x13c42b0 0x105aef1
# 0x13c42b0 github.com/joyent/containerpilot/core.(*App).Run.func1+0x0 /Users/justinreagor/go/src/github.com/joyent/containerpilot/core/app.go:126
1 @ 0x13c4430 0x105aef1
# 0x13c4430 github.com/joyent/containerpilot/core.(*App).handleSignals.func1+0x0 /Users/justinreagor/go/src/github.com/joyent/containerpilot/core/signals.go:13
goroutine profile: total 8
4 @ 0x102ec5c 0x102ed4e 0x1040f00 0x10610d0 0x1065966 0x106605c 0x11049bf 0x114a87b 0x105aef1
# 0x1040eff sync.runtime_notifyListWait+0x10f /usr/local/Cellar/go/1.9.1/libexec/src/runtime/sema.go:507
# 0x10610cf sync.(*Cond).Wait+0x7f /usr/local/Cellar/go/1.9.1/libexec/src/sync/cond.go:56
# 0x1065965 io.(*pipe).read+0xc5 /usr/local/Cellar/go/1.9.1/libexec/src/io/pipe.go:47
# 0x106605b io.(*PipeReader).Read+0x4b /usr/local/Cellar/go/1.9.1/libexec/src/io/pipe.go:130
# 0x11049be bufio.(*Scanner).Scan+0xae /usr/local/Cellar/go/1.9.1/libexec/src/bufio/scan.go:207
# 0x114a87a github.com/joyent/containerpilot/vendor/github.com/sirupsen/logrus.(*Entry).writerScanner+0xaa /Users/justinreagor/go/src/github.com/joyent/containerpilot/vendor/github.com/sirupsen/logrus/writer.go:51
1 @ 0x101155b 0x1044127 0x11428c2 0x105aef1
# 0x1044126 os/signal.signal_recv+0xa6 /usr/local/Cellar/go/1.9.1/libexec/src/runtime/sigqueue.go:131
# 0x11428c1 os/signal.loop+0x21 /usr/local/Cellar/go/1.9.1/libexec/src/os/signal/signal_unix.go:22
1 @ 0x102ec5c 0x102ed4e 0x1006584 0x100622b 0x13c447b 0x105aef1
# 0x13c447a github.com/joyent/containerpilot/core.(*App).handleSignals.func1+0x4a /Users/justinreagor/go/src/github.com/joyent/containerpilot/core/signals.go:15
1 @ 0x102ec5c 0x103e638 0x1057bae 0x105aef1
# 0x102ec5b runtime.gopark+0x12b /usr/local/Cellar/go/1.9.1/libexec/src/runtime/proc.go:277
# 0x103e637 runtime.selectgo+0x1137 /usr/local/Cellar/go/1.9.1/libexec/src/runtime/select.go:395
# 0x1057bad runtime.ensureSigM.func1+0x1fd /usr/local/Cellar/go/1.9.1/libexec/src/runtime/signal_unix.go:511
1 @ 0x11208d2 0x11206d0 0x111d22b 0x13c2d96 0x13c5359 0x102e7bd 0x105aef1
# 0x11208d1 runtime/pprof.writeRuntimeProfile+0xa1 /usr/local/Cellar/go/1.9.1/libexec/src/runtime/pprof/pprof.go:637
# 0x11206cf runtime/pprof.writeGoroutine+0x9f /usr/local/Cellar/go/1.9.1/libexec/src/runtime/pprof/pprof.go:599
# 0x111d22a runtime/pprof.(*Profile).WriteTo+0x3aa /usr/local/Cellar/go/1.9.1/libexec/src/runtime/pprof/pprof.go:310
# 0x13c2d95 github.com/joyent/containerpilot/core.(*App).Run+0x515 /Users/justinreagor/go/src/github.com/joyent/containerpilot/core/app.go:186
# 0x13c5358 main.main+0x1e8 /Users/justinreagor/go/src/github.com/joyent/containerpilot/main.go:43
# 0x102e7bc runtime.main+0x20c /usr/local/Cellar/go/1.9.1/libexec/src/runtime/proc.go:185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment