-
Type: Bug
-
Resolution: Duplicate
-
Priority: Critical - P2
-
None
-
Affects Version/s: 2.2.0
-
Component/s: Concurrency
-
None
-
Environment:Red Hat Enterprise Linux Server release 6.2 (Santiago)
Linux vm210-171 2.6.32-220.17.1.el6.x86_64 #1 SMP Thu Apr 26 13:37:13 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
-
Linux
Please see https://jira.mongodb.org/browse/SERVER-7434, I don't know how to modify the Priority, so open this one. This issue impacted me a lot.
I meet the same issue when using python script to start mongodb.
From the ps, there are three processes and hang. Strace the last process, the result as below. This not happen every time, but random.
Any suggestion how to avoid this issue? Thanks!
-bash-4.1# ps -ef|grep mongo
root 9778 9671 0 00:45 pts/0 00:00:00 grep mongo
root 30444 30426 0 Jan19 ? 00:00:00 /opt/mongodb/mongodb-linux-x86_64-2.2.0/bin/mongod --fork --port 27018 --dbpath /opt/mongodb/data --logpath /opt/mongodb/logs/mongod.log --logappend --auth
root 30446 30444 0 Jan19 ? 00:00:00 /opt/mongodb/mongodb-linux-x86_64-2.2.0/bin/mongod --fork --port 27018 --dbpath /opt/mongodb/data --logpath /opt/mongodb/logs/mongod.log --logappend --auth
root 30447 30446 0 Jan19 ? 00:00:03 /opt/mongodb/mongodb-linux-x86_64-2.2.0/bin/mongod --fork --port 27018 --dbpath /opt/mongodb/data --logpath /opt/mongodb/logs/mongod.log --logappend --auth
-bash-4.1# strace -p 30447
Process 30447 attached - interrupt to quit
restart_syscall(<... resuming interrupted call ...>) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
) = -1 ETIMEDOUT (Connection timed out)
futex(0x13dc400, FUTEX_WAIT_PRIVATE, 2,
^C <unfinished ...>
Process 30447 detached
- duplicates
-
SERVER-8251 Startup hangs infinitely, DataFileSync background job cannot create new thread
- Closed