-
Type: Investigation
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:Linux/Ubuntu Bionic Container
I have a fresh instance of mongo container. I run a mongodump and it hangs for ever.
```
root@f3263528d241:/bp2/src#root@f3263528d241:/bp2/src#root@f3263528d241:/bp2/src# mongo --versionMongoDB shell version v4.0.19git version: 7e28f4296a04d858a2e3dd84a1e79c9ba59a9568OpenSSL version: OpenSSL 1.1.1 11 Sep 2018allocator: tcmallocmodules: nonebuild environment: distmod: ubuntu1804 distarch: x86_64 target_arch: x86_64root@f3263528d241:/bp2/src# mongodump --uri mongodb://172.16.0.24:27017 --out test^\SIGQUIT: quitPC=0x55bee4597703 m=0 sigcode=128
goroutine 29 [syscall]:runtime.notetsleepg(0x55bee51c5a80, 0x37e11c80c, 0x1) /opt/golang/go1.11/src/runtime/lock_futex.go:227 +0x3b fp=0xc000043758 sp=0xc000043728 pc=0x55bee4547a4bruntime.timerproc(0x55bee51c5a60) /opt/golang/go1.11/src/runtime/time.go:288 +0x312 fp=0xc0000437d8 sp=0xc000043758 pc=0x55bee4586b12runtime.goexit() /opt/golang/go1.11/src/runtime/asm_amd64.s:1333 +0x1 fp=0xc0000437e0 sp=0xc0000437d8 pc=0x55bee4595881created by runtime.(*timersBucket).addtimerLocked /opt/golang/go1.11/src/runtime/time.go:170 +0x116
goroutine 1 [sync.Cond.Wait]:sync.runtime_notifyListWait(0xc000128428, 0xc0000003ea) /opt/golang/go1.11/src/runtime/sema.go:510 +0xefsync.(*Cond).Wait(0xc000128418) /opt/golang/go1.11/src/sync/cond.go:56 +0x94github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo%2ev2.(*mongoCluster).AcquireSocket(0xc000128400, 0x0, 0xc0001ad301, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1000, 0x55bee4548a3b, ...) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo.v2/cluster.go:609 +0xc9github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo%2ev2.(*Session).acquireSocket(0xc0001ad380, 0x1, 0x0, 0x0, 0x0) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo.v2/session.go:4596 +0x249github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo%2ev2.(*Database).Run(0xc0001e7a18, 0x55bee4dfaba0, 0x55bee4e9b430, 0x0, 0x0, 0x0, 0x0) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo.v2/session.go:755 +0x44github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo%2ev2.(*Session).Run(0xc0001ad380, 0x55bee4dfaba0, 0x55bee4e9b430, 0x0, 0x0, 0x55bee4dfa0e0, 0xc000197100) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo.v2/session.go:2138 +0x8cgithub.com/mongodb/mongo-tools/vendor/gopkg.in/mgo%2ev2.(*Session).Ping(0xc0001ad380, 0xc000128400, 0x0) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo.v2/session.go:2167 +0x4dgithub.com/mongodb/mongo-tools/vendor/gopkg.in/mgo%2ev2.DialWithInfo(0xc0001b0000, 0xc0000a4080, 0xc0000ae760, 0xc000171b90) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo.v2/session.go:542 +0x4f7github.com/mongodb/mongo-tools/common/db.(*VanillaDBConnector).GetNewSession(0xc0000a0150, 0x55bee4e9a618, 0xc0000a6420, 0xc000171c68) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/db/connector.go:80 +0x30github.com/mongodb/mongo-tools/common/db.(*SessionProvider).GetSession(0xc0000a6410, 0x0, 0x0, 0x0) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/db/db.go:115 +0x9agithub.com/mongodb/mongo-tools/common/db.(*SessionProvider).GetNodeType(0xc0000a6410, 0x0, 0x0, 0x0, 0x0) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/db/command.go:90 +0x3egithub.com/mongodb/mongo-tools/common/db.(*SessionProvider).IsMongos(0xc0000a6410, 0x6, 0x55bee4a78580, 0x7) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/db/command.go:128 +0x31github.com/mongodb/mongo-tools/mongodump.(*MongoDump).Init(0xc0001a20c0, 0x55bee4e9a370, 0xc000086300) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:139 +0x20cmain.main() /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongodump/main/mongodump.go:81 +0x5ea
goroutine 19 [syscall, 10 minutes]:os/signal.signal_recv(0x0) /opt/golang/go1.11/src/runtime/sigqueue.go:139 +0x9eos/signal.loop() /opt/golang/go1.11/src/os/signal/signal_unix.go:23 +0x24created by os/signal.init.0 /opt/golang/go1.11/src/os/signal/signal_unix.go:29 +0x43
goroutine 23 [select]:github.com/mongodb/mongo-tools/common/progress.(*BarWriter).start(0xc0000a63c0) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/progress/manager.go:153 +0x10dcreated by github.com/mongodb/mongo-tools/common/progress.(*BarWriter).Start /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/progress/manager.go:142 +0x48
goroutine 24 [select, 10 minutes]:github.com/mongodb/mongo-tools/common/signals.handleSignals(0xc000091b40, 0xc000086300) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/signals/signals.go:45 +0x38dcreated by github.com/mongodb/mongo-tools/common/signals.HandleWithInterrupt /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/signals/signals.go:31 +0x69
goroutine 25 [sleep]:time.Sleep(0x1dcd6500) /opt/golang/go1.11/src/runtime/time.go:105 +0x155github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo%2ev2.(*mongoCluster).syncServersLoop(0xc000128400) /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo.v2/cluster.go:386 +0x1f3created by github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo%2ev2.newCluster /data/mci/5755a6975615efd0851778a0f798abcc/src/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/gopkg.in/mgo.v2/cluster.go:78 +0x15a
rax 0xfffffffffffffffcrbx 0x3b9abc0crcx 0x55bee4597703rdx 0x0rdi 0x55bee51c5a80rsi 0x80rbp 0xc0000436e0rsp 0xc000043698r8 0x0r9 0x0r10 0xc0000436d0r11 0x206r12 0x1r13 0xc00013eea0r14 0xc0004822a0r15 0x0rip 0x55bee4597703rflags 0x206cs 0x33fs 0x0gs 0x0
```