when test mongodb, some times the mongos can not
accept any connect request, and mongos log have the following information, is it
the mongos creat max thread? how to fix it?
Mon Nov 12 15:40:49 [mongosMain] pthread_create failed: errno:11 Resource temporarily unavailable
Mon Nov 12 15:40:49 [mongosMain] can't create new thread, closing connection
Mon Nov 12 15:40:49 [mongosMain] pthread_create failed: errno:11 Resource temporarily unavailable
Mon Nov 12 15:40:49 [mongosMain] can't create new thread, closing connection
Mon Nov 12 15:40:49 [conn5361587] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Mon Nov 12 15:40:49 [conn5361191] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Logstream::get called in uninitialized state
Mon Nov 12 15:40:49 [conn5361248] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Mon Nov 12 15:40:49 [conn5361584] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Mon Nov 12 15:40:49 [conn5361589] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Mon Nov 12 15:40:49 [conn5361578] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Mon Nov 12 15:40:49 [conn5361608] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Mon Nov 12 15:40:49 [conn5361578] dbexit: rc:100
Mon Nov 12 15:40:49 [conn5361581] dbexit: rc:100
Logstream::get called in uninitialized state
Mon Nov 12 15:40:49 [conn5361607] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Mon Nov 12 15:40:49 [conn5361226] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Mon Nov 12 15:40:49 [conn5361220] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Mon Nov 12 15:40:49 [conn5361592] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Logstream::get called in uninitialized state
Mon Nov 12 15:40:49 [conn5361592] dbexit: rc:100
Mon Nov 12 15:40:49 [conn5361248] dbexit: rc:100
Mon Nov 12 15:40:49 [conn5361584] dbexit: rc:100
Mon Nov 12 15:40:49 [conn5361191] dbexit: rc:100
Mon Nov 12 15:40:49 [conn5361579] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Mon Nov 12 15:40:49 [conn5361226] dbexit: rc:100
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Mon Nov 12 15:40:49 [conn5361582] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Mon Nov 12 15:40:49 [conn5361579] dbexit: rc:100
Logstream::get called in uninitialized state
Mon Nov 12 15:40:49 [conn5361593] ERROR: Uncaught std::exception: boost::thread_resource_error, terminating
Mon Nov 12 15:40:49 [conn5361582] dbexit: rc:100
Logstream::get called in uninitialized stateMon Nov 12 15:40:49 [conn5361589] dbexit: rc:100
Mon Nov 12 15:40:49 [conn5361220] dbexit: rc:100
Mon Nov 12 15:40:49 [conn5361608] dbexit: rc:100
Mon Nov 12 15:40:49 [conn5361607] dbexit: rc:100
Mon Nov 12 15:40:49 [conn5361593] dbexit: rc:100
Logstream::get called in uninitialized state
*** glibc detected *** /home/xmcache/mongodb/bin/mongos: malloc(): memory corruption: 0x000000000260251f ***
Received signal 11
Backtrace: ^@nal 11
Received siBacktrace: ^@nal 11
^@acktrace: ^@nal 11
Backtrace: ^@nal 11
Backtrace: Received siReceived signal 11
Backtrace: Backtrace: ^@nal 11
Backtrace: ^@nal 11
Backtrace: Backtrace: ^@nal 11
Backtrace: Backtrace: Backtrace: Backtrace: Backtrace: ^@nal 11
Backtrace: ^@nal 11
^@acktrace: Backtrace: Backtrace: ^@nal 11
Backtrace: Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state
Logstream::get called in uninitialized state