Skip to content

Instantly share code, notes, and snippets.

View ngoclamtran's full-sized avatar
🎯
Focusing

Lam Tran ngoclamtran

🎯
Focusing
  • Trusting Social
  • Saigon, Vietnam
View GitHub Profile
@ngoclamtran
ngoclamtran / temporal.nomad
Created November 19, 2021 02:21
temporal.nomad
job "dc1_temporal" {
datacenters = [
"dc1",
]
type = "service"
constraint {
attribute = "${node.class}"
value = "compute"
This file has been truncated, but you can view the full file.
{"level":"error","ts":"2021-11-02T08:13:16.669+0700","msg":"Persistent store operation failure","service":"matching","component":"matching-engine","wf-task-queue-name":"2906737e22e9:c4ba3a64-321c-41f4-8dee-4553e62e2f43","wf-task-queue-type":"Workflow","store-operation":"update-task-queue","error":"Persistence Max QPS Reached.","logging-call-at":"taskReader.go:171","stacktrace":"go.temporal.io/server/common/log.(*zapLogger).Error\n\t/temporal/common/log/zap_logger.go:142\ngo.temporal.io/server/service/matching.(*taskReader).getTasksPump\n\t/temporal/service/matching/taskReader.go:171\ngo.temporal.io/server/internal/goro.(*Group).Go.func1\n\t/temporal/internal/goro/group.go:57"}
{"level":"info","ts":"2021-11-02T08:13:22.816+0700","msg":"none","service":"matching","component":"matching-engine","wf-task-queue-name":"/_sys/temporal-archival-tq/2","wf-task-queue-type":"Workflow","lifecycle":"Stopping","logging-call-at":"taskQueueManager.go:254"}
{"level":"info","ts":"2021-11-02T08:13:22.819+0700","msg":"none","serv
{"level":"error","ts":"2021-11-02T08:13:16.669+0700","msg":"Persistent store operation failure","service":"matching","component":"matching-engine","wf-task-queue-name":"2906737e22e9:c4ba3a64-321c-41f4-8dee-4553e62e2f43","wf-task-queue-type":"Workflow","store-operation":"update-task-queue","error":"Persistence Max QPS Reached.","logging-call-at":"taskReader.go:171","stacktrace":"go.temporal.io/server/common/log.(*zapLogger).Error\n\t/temporal/common/log/zap_logger.go:142\ngo.temporal.io/server/service/matching.(*taskReader).getTasksPump\n\t/temporal/service/matching/taskReader.go:171\ngo.temporal.io/server/internal/goro.(*Group).Go.func1\n\t/temporal/internal/goro/group.go:57"}
{"level":"info","ts":"2021-11-02T08:13:22.816+0700","msg":"none","service":"matching","component":"matching-engine","wf-task-queue-name":"/_sys/temporal-archival-tq/2","wf-task-queue-type":"Workflow","lifecycle":"Stopping","logging-call-at":"taskQueueManager.go:254"}
{"level":"info","ts":"2021-11-02T08:13:22.819+0700","msg":"none","serv
This file has been truncated, but you can view the full file.
goroutine 1832008 [running]:
runtime/pprof.writeGoroutineStacks({0x235d7a0, 0xc0003280e0})
/usr/local/go/src/runtime/pprof/pprof.go:693 +0x70
runtime/pprof.writeGoroutine({0x235d7a0, 0xc0003280e0}, 0x0)
/usr/local/go/src/runtime/pprof/pprof.go:682 +0x2b
runtime/pprof.(*Profile).WriteTo(0x1e1e9c0, {0x235d7a0, 0xc0003280e0}, 0xc)
/usr/local/go/src/runtime/pprof/pprof.go:331 +0x14b
net/http/pprof.handler.ServeHTTP({0xc001aedcf1, 0x34934e0}, {0x2386300, 0xc0003280e0}, 0xc001aedce4)
/usr/local/go/src/net/http/pprof/pprof.go:253 +0x49a
net/http/pprof.Index({0x2386300, 0xc0003280e0}, 0xc001447b00)
This file has been truncated, but you can view the full file.
goroutine 1386454 [running]:
runtime/pprof.writeGoroutineStacks({0x235d7a0, 0xc00038a620})
/usr/local/go/src/runtime/pprof/pprof.go:693 +0x70
runtime/pprof.writeGoroutine({0x235d7a0, 0xc00038a620}, 0x200)
/usr/local/go/src/runtime/pprof/pprof.go:682 +0x2b
runtime/pprof.(*Profile).WriteTo(0x1e1e9c0, {0x235d7a0, 0xc00038a620}, 0xc)
/usr/local/go/src/runtime/pprof/pprof.go:331 +0x14b
net/http/pprof.handler.ServeHTTP({0xc001ea40d1, 0x34934e0}, {0x2386300, 0xc00038a620}, 0xc001ea40c4)
/usr/local/go/src/net/http/pprof/pprof.go:253 +0x49a
net/http/pprof.Index({0x2386300, 0xc00038a620}, 0xc00016e300)
This file has been truncated, but you can view the full file.
goroutine 968584 [running]:
runtime/pprof.writeGoroutineStacks({0x235d7a0, 0xc00074ed20})
/usr/local/go/src/runtime/pprof/pprof.go:693 +0x70
runtime/pprof.writeGoroutine({0x235d7a0, 0xc00074ed20}, 0x0)
/usr/local/go/src/runtime/pprof/pprof.go:682 +0x2b
runtime/pprof.(*Profile).WriteTo(0x1e1e9c0, {0x235d7a0, 0xc00074ed20}, 0xc)
/usr/local/go/src/runtime/pprof/pprof.go:331 +0x14b
net/http/pprof.handler.ServeHTTP({0xc002201361, 0x34934e0}, {0x2386300, 0xc00074ed20}, 0xc002201354)
/usr/local/go/src/net/http/pprof/pprof.go:253 +0x49a
net/http/pprof.Index({0x2386300, 0xc00074ed20}, 0xc000175700)
This file has been truncated, but you can view the full file.
goroutine 1358679 [running]:
runtime/pprof.writeGoroutineStacks({0x235d7a0, 0xc000828a80})
/usr/local/go/src/runtime/pprof/pprof.go:693 +0x70
runtime/pprof.writeGoroutine({0x235d7a0, 0xc000828a80}, 0x0)
/usr/local/go/src/runtime/pprof/pprof.go:682 +0x2b
runtime/pprof.(*Profile).WriteTo(0x1e1e9c0, {0x235d7a0, 0xc000828a80}, 0xc)
/usr/local/go/src/runtime/pprof/pprof.go:331 +0x14b
net/http/pprof.handler.ServeHTTP({0xc001c38161, 0x34934e0}, {0x2386300, 0xc000828a80}, 0xc001c38154)
/usr/local/go/src/net/http/pprof/pprof.go:253 +0x49a
net/http/pprof.Index({0x2386300, 0xc000828a80}, 0xc000734900)
@ngoclamtran
ngoclamtran / helpful-docker-commands.sh
Created August 18, 2019 06:56 — forked from garystafford/helpful-docker-commands.sh
My list of helpful docker commands
###############################################################################
# Helpful Docker commands and code snippets
###############################################################################
### CONTAINERS ###
docker stop $(docker ps -a -q) #stop ALL containers
docker rm -f $(docker ps -a -q) # remove ALL containers
docker rm -f $(sudo docker ps --before="container_id_here" -q) # can also filter
# exec into container