Replies: 3 comments 1 reply
-
I would update to the latest patch version which is 2.9.14. I would imagine its fixed but you can search for it in the changes. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Derek, Thanks |
Beta Was this translation helpful? Give feedback.
1 reply
-
Not seeing issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Recently I saw panics on NATS code
2023-01-28T08:26:26.01669679Z stderr F goroutine 52 [running]:
2023-01-28T08:26:26.016708559Z stderr F panic({0xa08380, 0xed8ae0})
2023-01-28T08:26:26.016720386Z stderr F /home/travis/.gimme/versions/go1.19.3.linux.amd64/src/runtime/panic.go:987 +0x3ba fp=0xc0000c97f8 sp=0xc0000c9738 pc=0x436a5a
2023-01-28T08:26:26.01673168Z stderr F runtime.panicmem(...)
2023-01-28T08:26:26.016743056Z stderr F /home/travis/.gimme/versions/go1.19.3.linux.amd64/src/runtime/panic.go:260
2023-01-28T08:26:26.016754251Z stderr F runtime.sigpanic()
2023-01-28T08:26:26.01676616Z stderr F /home/travis/.gimme/versions/go1.19.3.linux.amd64/src/runtime/signal_unix.go:835 +0x2f6 fp=0xc0000c9848 sp=0xc0000c97f8 pc=0x44d6f6
2023-01-28T08:26:26.016778015Z stderr F github.com/nats-io/nats-server/v2/server.(*stream).updateWithAdvisory(0xc0002d6000, 0xc0001c1196?, 0x1)
2023-01-28T08:26:26.016789398Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/stream.go:1575 +0x659 fp=0xc0000c9f50 sp=0xc0000c9848 pc=0x960cd9
2023-01-28T08:26:26.016800953Z stderr F github.com/nats-io/nats-server/v2/server.(*stream).update(...)
2023-01-28T08:26:26.016812279Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/stream.go:1423
2023-01-28T08:26:26.016834595Z stderr F github.com/nats-io/nats-server/v2/server.(*Server).jsStreamUpdateRequest(0xc000162000, 0x4400000000000000?, 0xc000416000, 0x5d?, {0xc0001c1180, 0x32}, {0xc0001d85a0, 0x11}, {0xc000510000, 0x1af, ...})
2023-01-28T08:26:26.016880885Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/jetstream_api.go:1447 +0xbc5 fp=0xc0000ca388 sp=0xc0000c9f50 pc=0x8240e5
2023-01-28T08:26:26.016894019Z stderr F github.com/nats-io/nats-server/v2/server.(*Server).jsStreamUpdateRequest-fm(0x80?, 0x1c0?, 0x0?, {0xc0001c1180?, 0x0?}, {0xc0001d85a0?, 0x9cbc33?}, {0xc000510000, 0x1af, 0x1c0})
2023-01-28T08:26:26.016905722Z stderr F :1 +0x77 fp=0xc0000ca3f0 sp=0xc0000ca388 pc=0x995b37
2023-01-28T08:26:26.016917092Z stderr F github.com/nats-io/nats-server/v2/server.(*jetStream).apiDispatch(0xc00023c000, 0xc0002220c0, 0xc000416000, 0xc00007c000, {0xc0001c1180, 0x32}, {0xc0001d85a0, 0x11}, {0xc000510000, 0x1af, ...})
2023-01-28T08:26:26.016928393Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/jetstream_api.go:764 +0x25f fp=0xc0000ca4b8 sp=0xc0000ca3f0 pc=0x81cfdf
2023-01-28T08:26:26.016939558Z stderr F github.com/nats-io/nats-server/v2/server.(*jetStream).apiDispatch-fm(0xba7210?, 0x9eacc0?, 0x1?, {0xc0001c1180?, 0x9d187c?}, {0xc0001d85a0?, 0xc0004037c0?}, {0xc000510000, 0x1af, 0x1c0})
2023-01-28T08:26:26.016950732Z stderr F :1 +0x77 fp=0xc0000ca520 sp=0xc0000ca4b8 pc=0x995437
2023-01-28T08:26:26.016962428Z stderr F github.com/nats-io/nats-server/v2/server.(*client).deliverMsg(0xc000416000, 0x0, 0xc0002220c0, 0x0?, {0xc0001c1100, 0x32, 0x40}, {0xc0001d8588, 0x11, 0x18}, ...)
2023-01-28T08:26:26.016974314Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/client.go:3194 +0xade fp=0xc0000ca770 sp=0xc0000ca520 pc=0x79789e
2023-01-28T08:26:26.016985718Z stderr F github.com/nats-io/nats-server/v2/server.(*client).processMsgResults(0xc000416000, 0xc00007c000, 0xc0001a6d20, {0xc000510000, 0x1b1, 0x1c0}, {0x0, 0x0, 0xc00008ec80?}, {0xc0001c1100, ...}, ...)
2023-01-28T08:26:26.016997042Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/client.go:4235 +0xb10 fp=0xc0000cad30 sp=0xc0000ca770 pc=0x79d6d0
2023-01-28T08:26:26.017008127Z stderr F github.com/nats-io/nats-server/v2/server.(*client).processServiceImport(0xc000416000, 0xc000248ab0, 0xc0000dc900, {0xc0004162a5, 0x131, 0xfa3})
2023-01-28T08:26:26.017019447Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/client.go:4020 +0x1145 fp=0xc0000cb030 sp=0xc0000cad30 pc=0x79c405
2023-01-28T08:26:26.017030601Z stderr F github.com/nats-io/nats-server/v2/server.(*Account).addServiceImportSub.func1(0xa?, 0x1?, 0xc000403128?, {0x1?, 0x1?}, {0xba7210?, 0x9eacc0?}, {0xc0004162a5, 0x131, 0xfa3})
2023-01-28T08:26:26.017041866Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/accounts.go:1962 +0x32 fp=0xc0000cb070 sp=0xc0000cb030 pc=0x768352
2023-01-28T08:26:26.01705301Z stderr F github.com/nats-io/nats-server/v2/server.(*client).deliverMsg(0xc000416000, 0x0, 0xc000223680, 0x0?, {0xc000416248, 0x32, 0x1000}, {0xc00041627b, 0x26, 0xfcd}, ...)
2023-01-28T08:26:26.017064281Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/client.go:3192 +0xb89 fp=0xc0000cb2c0 sp=0xc0000cb070 pc=0x797949
2023-01-28T08:26:26.017075539Z stderr F github.com/nats-io/nats-server/v2/server.(*client).processMsgResults(0xc000416000, 0xc0000dc900, 0xc0001a6cc0, {0xc0004162a5, 0x131, 0xfa3}, {0x0, 0x0, 0xc00042c000?}, {0xc000416248, ...}, ...)
2023-01-28T08:26:26.017086797Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/client.go:4235 +0xb10 fp=0xc0000cb880 sp=0xc0000cb2c0 pc=0x79d6d0
2023-01-28T08:26:26.017097865Z stderr F github.com/nats-io/nats-server/v2/server.(*client).processInboundClientMsg(0xc000416000, {0xc0004162a5, 0x131, 0xfa3})
2023-01-28T08:26:26.017117812Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/client.go:3660 +0xaa8 fp=0xc0000cbaa8 sp=0xc0000cb880 pc=0x799d28
2023-01-28T08:26:26.017132207Z stderr F github.com/nats-io/nats-server/v2/server.(*client).processInboundMsg(0xc000416000?, {0xc0004162a5?, 0x5d?, 0x0?})
2023-01-28T08:26:26.017153617Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/client.go:3507 +0x3d fp=0xc0000cbad8 sp=0xc0000cbaa8 pc=0x7990fd
2023-01-28T08:26:26.01716583Z stderr F github.com/nats-io/nats-server/v2/server.(*client).parse(0xc000416000, {0xc0001daa00, 0x94, 0x200})
2023-01-28T08:26:26.017177236Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/parser.go:497 +0x210a fp=0xc0000cbd50 sp=0xc0000cbad8 pc=0x908d0a
2023-01-28T08:26:26.017188743Z stderr F github.com/nats-io/nats-server/v2/server.(*client).readLoop(0xc000416000, {0x0, 0x0, 0x0})
2023-01-28T08:26:26.017200123Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/client.go:1238 +0xf36 fp=0xc0000cbfb0 sp=0xc0000cbd50 pc=0x78b1f6
2023-01-28T08:26:26.017211564Z stderr F github.com/nats-io/nats-server/v2/server.(*Server).createClient.func1()
2023-01-28T08:26:26.017222606Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/server.go:2646 +0x29 fp=0xc0000cbfe0 sp=0xc0000cbfb0 pc=0x94f349
2023-01-28T08:26:26.017234546Z stderr F runtime.goexit()
2023-01-28T08:26:26.017245669Z stderr F /home/travis/.gimme/versions/go1.19.3.linux.amd64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000cbfe8 sp=0xc0000cbfe0 pc=0x46a761
2023-01-28T08:26:26.017256698Z stderr F created by github.com/nats-io/nats-server/v2/server.(*Server).startGoRoutine
2023-01-28T08:26:26.017267681Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/server.go:3077 +0x85
2023-01-28T08:26:26.017278172Z stderr F
2023-01-28T08:26:26.017288952Z stderr F goroutine 1 [chan receive]:
2023-01-28T08:26:26.017300266Z stderr F runtime.gopark(0x9a6e74?, 0xac39b2?, 0xa?, 0x0?, 0xc00005d040?)
2023-01-28T08:26:26.017311666Z stderr F /home/travis/.gimme/versions/go1.19.3.linux.amd64/src/runtime/proc.go:363 +0xd6 fp=0xc0000cfe10 sp=0xc0000cfdf0 pc=0x439ab6
2023-01-28T08:26:26.017323788Z stderr F runtime.chanrecv(0xc00009e3c0, 0x0, 0x1)
2023-01-28T08:26:26.017335208Z stderr F /home/travis/.gimme/versions/go1.19.3.linux.amd64/src/runtime/chan.go:583 +0x49b fp=0xc0000cfea0 sp=0xc0000cfe10 pc=0x40665b
2023-01-28T08:26:26.017346345Z stderr F runtime.chanrecv1(0xc0000cff38?, 0x1?)
2023-01-28T08:26:26.017357515Z stderr F /home/travis/.gimme/versions/go1.19.3.linux.amd64/src/runtime/chan.go:442 +0x18 fp=0xc0000cfec8 sp=0xc0000cfea0 pc=0x406158
2023-01-28T08:26:26.017368625Z stderr F github.com/nats-io/nats-server/v2/server.(*Server).WaitForShutdown(...)
2023-01-28T08:26:26.017379665Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/server/server.go:2057
2023-01-28T08:26:26.017390888Z stderr F main.main()
2023-01-28T08:26:26.017402178Z stderr F /home/travis/gopath/src/github.com/nats-io/nats-server/main.go:139 +0x485 fp=0xc0000cff80 sp=0xc0000cfec8 pc=0x9a77c5
2023-01-28T08:26:26.017413407Z stderr F runtime.main()
2023-01-28T08:26:26.017424638Z stderr F /home/travis/.gimme/versions/go1.19.3.linux.amd64/src/runtime/proc.go:250 +0x212 fp=0xc0000cffe0 sp=0xc0000cff80 pc=0x4396f2
2023-01-28T08:26:26.017435828Z stderr F runtime.goexit()
2023-01-28T08:26:26.017446986Z stderr F /home/travis/.gimme/versions/go1.19.3.linux.amd64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000cffe8 sp=0xc0000cffe0 pc=0x46a761
2023-01-28T08:26:26.017457412Z stderr F
but I am not sure what could have triggered this. It happened only once. Will it be possible to know the cause?
2023-01-28T08:26:16.70430472Z stderr F [6] 2023/01/28 08:26:16.672626 [INF] Starting nats-server
2023-01-28T08:26:16.704402058Z stderr F [6] 2023/01/28 08:26:16.672779 [INF] Version: 2.9.6
2023-01-28T08:26:16.70441494Z stderr F [6] 2023/01/28 08:26:16.672786 [INF] Git: [289a9e1]
2023-01-28T08:26:16.704426948Z stderr F [6] 2023/01/28 08:26:16.672792 [INF] Name: NCHS7TQ3KJ3VYPLLFOKXGDKNNB5DSJ6XQEN6NQOXHRY3ZF6HQGSAY3QX
2023-01-28T08:26:16.704439023Z stderr F [6] 2023/01/28 08:26:16.672819 [INF] Node: uULQFxRT
2023-01-28T08:26:16.704450171Z stderr F [6] 2023/01/28 08:26:16.672825 [INF] ID: NCHS7TQ3KJ3VYPLLFOKXGDKNNB5DSJ6XQEN6NQOXHRY3ZF6HQGSAY3QX
2023-01-28T08:26:16.704461823Z stderr F [6] 2023/01/28 08:26:16.672837 [INF] Using configuration file: /etc/nats/nats-server.conf
2023-01-28T08:26:16.704473158Z stderr F [6] 2023/01/28 08:26:16.674219 [INF] Starting http monitor on 0.0.0.0:8222
2023-01-28T08:26:16.704484134Z stderr F [6] 2023/01/28 08:26:16.674335 [INF] Starting JetStream
2023-01-28T08:26:16.704495253Z stderr F [6] 2023/01/28 08:26:16.674745 [INF] _ ___ _____ ___ _____ ___ ___ _ __ __
2023-01-28T08:26:16.704506369Z stderr F [6] 2023/01/28 08:26:16.674784 [INF] _ | | | / | | _ \ __| /\ | / |
2023-01-28T08:26:16.704524494Z stderr F [6] 2023/01/28 08:26:16.674789 [INF] | || | | | | _ \ | | | / | / _ | |/| |
2023-01-28T08:26:16.70453635Z stderr F [6] 2023/01/28 08:26:16.674793 [INF] _/|| || |/ || ||___// __| |_|
2023-01-28T08:26:16.70454797Z stderr F [6] 2023/01/28 08:26:16.674797 [INF]
2023-01-28T08:26:16.704559037Z stderr F [6] 2023/01/28 08:26:16.674801 [INF] https://docs.nats.io/jetstream
jetstream.conf
jetstream {
max_file: 0
}
Beta Was this translation helpful? Give feedback.
All reactions