线程MongoDB出错

时间:2018-03-07 18:57:57

标签: multithreading mongodb amazon-web-services mongoose

我有这个错误:

  

2018-02-08T15:05:25.267-0600 I - [thread2] pthread_create   失败:资源暂时不可用2018-02-08T15:05:25.267-0600   我 - [thread2]无法为其创建服务条目工作线程   10.20.9.217:18465 2018-02-08T15:05:25.272-0600 F - [conn27232] std :: exception :: what():资源暂时不可用实际   异常类型:std :: system_error

这是我的mongod.service

Group=mongodb
ExecStart=/usr/bin/mongod --config /etc/mongod.conf
# file size
LimitFSIZE=infinity
# cpu time
LimitCPU=infinity
# virtual memory size
LimitAS=infinity
# open files
LimitNOFILE=64000
# processes/threads
LimitNPROC=64000
# total threads (user+kernel)
TasksMax=infinity
TasksAccounting=false

# Recommended limits for for mongod as specified in
# http://docs.mongodb.org/manual/reference/ulimit/#recommended-settings

[Install]
WantedBy=multi-user.target

" TaskMax"配置负责? 你们之前有没有这个错误?

Y在同一服务器中有路由器(mongos)和主要(mongod)。

感谢!!!

0 个答案:

没有答案