mongodb: pthread_create failed: errno:11

182 views
Skip to first unread message

Buzzy

unread,
Feb 12, 2015, 10:25:07 AM2/12/15
to mongod...@googlegroups.com
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?

Darshan Shah

unread,
May 5, 2016, 10:10:13 AM5/5/16
to mongodb-user
Facing similar problem with MongoDb 3.2.5 running WiredTiger on CentOS 7.1 - have posted a separate thread at:

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

Thanks!
Reply all
Reply to author
Forward
0 new messages