Skip to content

Instantly share code, notes, and snippets.

View choppedpork's full-sized avatar
👹

chopped pork choppedpork

👹
View GitHub Profile
@choppedpork
choppedpork / billing_sink_debug.log
Created June 29, 2018 14:33
google_logging_billing_account_sink issue
2018/06/29 15:18:14 [INFO] Terraform version: 0.11.7
2018/06/29 15:18:14 [INFO] Go runtime version: go1.10.1
2018/06/29 15:18:14 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.7/bin/terraform", "apply", "-auto-approve"}
2018/06/29 15:18:14 [DEBUG] Attempting to open CLI config file: /Users/.../.terraformrc
2018/06/29 15:18:14 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/06/29 15:18:14 [INFO] CLI command args: []string{"apply", "-auto-approve"}
2018/06/29 15:18:14 [INFO] command: backend initialized: *gcs.gcsBackend
2018/06/29 15:18:14 [DEBUG] checking for provider in "."
2018/06/29 15:18:14 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.11.7/bin"
2018/06/29 15:18:14 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
@choppedpork
choppedpork / agent_memory.heap
Last active June 19, 2018 11:47
consul 1.1.0 memory leak heap dumps

Keybase proof

I hereby claim:

  • I am choppedpork on github.
  • I am chopped_pork (https://keybase.io/chopped_pork) on keybase.
  • I have a public key ASDiEmvgd8F5tFr9o8UStHiYKZryJ9cD9MWTGK7IRdAa0wo

To claim this, I am signing this object:

@choppedpork
choppedpork / agent_memory.heap
Last active June 14, 2018 14:19
heap profile at 180m
This file has been truncated, but you can view the full file.
heap profile: 77: 16878432 [649914: 15909046912] @ heap/1048576
1: 11141120 [1: 11141120] @ 0x40a275 0x40a433 0x40caa2 0xe7dfe0 0xe6d948 0xe98d38 0xe92d26 0xe91ae5 0x6b96a4 0x6bae60 0x6bc3d4 0x6b857d 0x45cd91
# 0xe7dfdf github.com/hashicorp/consul/agent.(*NotifyGroup).Wait+0x8f /gopath/src/github.com/hashicorp/consul/agent/notify.go:37
# 0xe6d947 github.com/hashicorp/consul/agent.(*HTTPServer).EventList+0xa57 /gopath/src/github.com/hashicorp/consul/agent/event_endpoint.go:132
# 0xe98d37 github.com/hashicorp/consul/agent.(*HTTPServer).EventList-fm+0x47 /gopath/src/github.com/hashicorp/consul/agent/http.go:133
# 0xe92d25 github.com/hashicorp/consul/agent.(*HTTPServer).wrap.func1+0x665 /gopath/src/github.com/hashicorp/consul/agent/http.go:253
# 0xe91ae4 github.com/hashicorp/consul/agent.(*HTTPServer).handler.func1.1+0x94 /gopath/src/github.com/hashicorp/consul/agent/http.go:67
# 0x6b96a3 net/http.HandlerFunc.ServeHTTP+0x43 /goroot/src/net/http/server.go:1918
# 0x6bae5f net/http.(*ServeMux).ServeHTTP+0x12f
This file has been truncated, but you can view the full file.
heap profile: 20: 4339200 [162198: 3988923544] @ heap/1048576
1: 2785280 [1: 2785280] @ 0x40a275 0x40a433 0x40caa2 0xe7dfe0 0xe6d948 0xe98d38 0xe92d26 0xe91ae5 0x6b96a4 0x6bae60 0x6bc3d4 0x6b857d 0x45cd91
# 0xe7dfdf github.com/hashicorp/consul/agent.(*NotifyGroup).Wait+0x8f /gopath/src/github.com/hashicorp/consul/agent/notify.go:37
# 0xe6d947 github.com/hashicorp/consul/agent.(*HTTPServer).EventList+0xa57 /gopath/src/github.com/hashicorp/consul/agent/event_endpoint.go:132
# 0xe98d37 github.com/hashicorp/consul/agent.(*HTTPServer).EventList-fm+0x47 /gopath/src/github.com/hashicorp/consul/agent/http.go:133
# 0xe92d25 github.com/hashicorp/consul/agent.(*HTTPServer).wrap.func1+0x665 /gopath/src/github.com/hashicorp/consul/agent/http.go:253
# 0xe91ae4 github.com/hashicorp/consul/agent.(*HTTPServer).handler.func1.1+0x94 /gopath/src/github.com/hashicorp/consul/agent/http.go:67
# 0x6b96a3 net/http.HandlerFunc.ServeHTTP+0x43 /goroot/src/net/http/server.go:1918
# 0x6bae5f net/http.(*ServeMux).ServeHTTP+0x12f
@choppedpork
choppedpork / goroutines after 20h
Created March 6, 2018 13:32
consul memory leak heap profiles and goroutine info
goroutine profile: total 107
32 @ 0x42d65c 0x42879a 0x427d97 0x497dae 0x497e2d 0x498bca 0x5b77d2 0x5ca13d 0x6b3265 0x56ce2a 0x56dcdc 0x56df44 0x636860 0x63666b 0x6ad489 0x6b456c 0x6b836e 0x45cd91
# 0x427d96 internal/poll.runtime_pollWait+0x56 /goroot/src/runtime/netpoll.go:173
# 0x497dad internal/poll.(*pollDesc).wait+0xad /goroot/src/internal/poll/fd_poll_runtime.go:85
# 0x497e2c internal/poll.(*pollDesc).waitRead+0x3c /goroot/src/internal/poll/fd_poll_runtime.go:90
# 0x498bc9 internal/poll.(*FD).Read+0x189 /goroot/src/internal/poll/fd_unix.go:125
# 0x5b77d1 net.(*netFD).Read+0x51 /goroot/src/net/fd_unix.go:202
# 0x5ca13c net.(*conn).Read+0x6c /goroot/src/net/net.go:176
# 0x6b3264 net/http.(*connReader).Read+0x104 /goroot/src/net/http/server.go:753
# 0x56ce29 bufio.(*Reader).fill+0x119 /goroot/src/bufio/bufio.go:97
azurerm_resource_group.test: Refreshing state... (ID: /subscriptions/968a4364-eee4-4348-82a3-6f76a230f229/resourceGroups/test)
azurerm_virtual_network.test: Refreshing state... (ID: /subscriptions/968a4364-eee4-4348-82a3-6f76a230f229/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/test-network)
azurerm_storage_account.test: Refreshing state... (ID: /subscriptions/968a4364-eee4-4348-82a3-6f76a230f229/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/flexpocstorage)
azurerm_subnet.mio: Refreshing state... (ID: /subscriptions/968a4364-eee4-4348-82a3-6f76a230f229/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/test-network/subnets/lasttestnetwork)
azurerm_network_interface.index: Refreshing state... (ID: /subscriptions/968a4364-eee4-4348-82a3-6f76a230f229/resourceGroups/test/providers/Microsoft.Network/networkInterfaces/index1)
azurerm_network_interface.job.0: Refreshing state... (ID: /subscriptions/968a4364-eee4-4348-82a3-6f76a230f229/resourceGroups/test/providers/Mi
This file has been truncated, but you can view the full file.
2016/05/25 14:41:12 [INFO] Terraform version: 0.6.16 6e586c89394f5474b6c5f3217a4a75ce80c3fd6c
2016/05/25 14:41:12 [DEBUG] Detected home directory from env var: /home/solid
2016/05/25 14:41:12 [DEBUG] Discovered plugin: atlas = /home/solid/bin/terraform-provider-atlas
2016/05/25 14:41:12 [DEBUG] Discovered plugin: aws = /home/solid/bin/terraform-provider-aws
2016/05/25 14:41:12 [DEBUG] Discovered plugin: azure = /home/solid/bin/terraform-provider-azure
2016/05/25 14:41:12 [DEBUG] Discovered plugin: azurerm = /home/solid/bin/terraform-provider-azurerm
2016/05/25 14:41:12 [DEBUG] Discovered plugin: chef = /home/solid/bin/terraform-provider-chef
2016/05/25 14:41:12 [DEBUG] Discovered plugin: clc = /home/solid/bin/terraform-provider-clc
2016/05/25 14:41:12 [DEBUG] Discovered plugin: cloudflare = /home/solid/bin/terraform-provider-cloudflare
2016/05/25 14:41:12 [DEBUG] Discovered plugin: cloudstack = /home/solid/bin/terraform-provider-cloudstack