Re: mongodb: pthread_create failed: errno:11

From: Darshan Shah <dee.cal@xxxxxxxxx>
To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Thu, 5 May 2016 07:10:12 -0700 (PDT)
Why ads?
Facing similar problem with MongoDb 3.2.5 running WiredTiger on CentOS 7.1 
- have posted a separate thread at:
https://groups.google.com/d/msg/mongodb-user/aWD7J5rR4-k/z6s5S5qJBgAJ

Please let me know if you were able to figure out a solution.

Thanks!

On Thursday, 12 February 2015 10:25:07 UTC-5, Buzzy wrote:

I want to run sharelatex on my vServer (CentOS 6). I installed everything 
but sharelatex won't start. The mongod.log says after accepting some 
connections:

2015-02-12T12:04:30.971+0100 [initandlisten] pthread_create failed: errno:
11 Resource temporarily unavailable
2015-02-12T12:04:30.971+0100 [initandlisten] can't create new thread, 
closing connection

I already increased the ulimits:

[root@vServer]# ulimit -a
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 256270
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 21000
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 256270
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

I also checked the limits of the mongod process:

[root@vServer]# cat //proc/552/limits
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited           
 seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            10485760             unlimited            bytes
Max core file size        0                    unlimited            bytes
Max resident set          unlimited            unlimited            bytes
Max processes             62848                62848                 
 processes
Max open files            21000                21000                files
Max locked memory         65536                65536                bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       256270               256270               
signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0      
Max realtime timeout      unlimited            unlimited            us

can anyone help me?


-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/781a8630-96fa-4143-83f1-4ab26c1b4921%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Why ads?