{"id":872,"date":"2020-08-20T22:01:29","date_gmt":"2020-08-20T14:01:29","guid":{"rendered":"http:\/\/www.gbase8.cn\/?p=872"},"modified":"2020-09-13T15:30:41","modified_gmt":"2020-09-13T07:30:41","slug":"gbase-8a%e6%95%b0%e6%8d%ae%e5%8f%a5%e6%9f%a5%e8%af%a2%e6%8a%a5%e9%94%99cant-create-a-new-thread-errno-11-if-you-are-not-out-of-available-memory-you-can-consult-the-manual-for-a-possible-os-depen","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/872","title":{"rendered":"\u5357\u5927\u901a\u7528GBase 8a\u6570\u636e\u53e5\u67e5\u8be2\u62a5\u9519Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug"},"content":{"rendered":"<p>GBase 8a\u6570\u636e\u5e93\u96c6\u7fa4\uff0c\u5185\u90e8\u4f7f\u7528\u591a\u7ebf\u7a0b\u8fdb\u884c\u5e76\u884c\u5904\u7406\uff0c\u5982\u679c\u7cfb\u7edf\u5141\u8bb8\u7684\u7ebf\u7a0b\u6570\u592a\u5c11\u6216\u8005\u5185\u5b58\u4e0d\u8db3\uff0c\u5219\u4f1a\u62a5Can't create a new thread (errno 11)\u9519\u8bef\u3002<\/p>\n\n\n\n<p>\u539f\u56e0<\/p>\n\n\n\n<p>\u7531\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u53c2\u6570limits.conf\u914d\u7f6e\u7684max user processor\u592a\u4f4e\uff0c\u5bfc\u81f4\u65e0\u6cd5\u521b\u5efa\u65b0\u7684\u7ebf\u7a0b\u3002<br>ulimit \u2013a<br>\u5176\u4e2d\u7684<br>max user processes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (-u) 1024<\/p>\n\n\n\n<p>Solution<\/p>\n\n\n\n<p>\u589e\u5927\u53c2\u6570\u8bbe\u7f6e\u523010240\u6216\u53d6\u6d88\u9650\u5236\u4e3aunlimited\u3002\u5305\u62ec<br>\/etc\/security\/limits.conf<br>\/etc\/security\/limtits.d\/90-nproc.conf<\/p>\n\n\n\n<p>\u5982\u679c\u662fredhat 7.5+ \u4e5f\u8bf7\u53c2\u8003<\/p>\n\n\n\n<p><a class=\"\" href=\"http:\/\/www.gbase8.cn\/en\/?p=812\">GBase 8a\u6570\u636e\u5e93\u96c6\u7fa4\u5728redhat 7.5\u548csuse12\u67e5\u8be2\u62a5\u9519get cluster task id fail \u3001create thread error with errno 11 \u3001fork rejected by pids controller in \/<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u5357\u5927\u901a\u7528GBase 8a\u6570\u636e\u5e93\u96c6\u7fa4\uff0c\u5185\u90e8\u4f7f\u7528\u591a\u7ebf\u7a0b\u8fdb\u884c\u5e76\u884c\u5904\u7406\uff0c\u5982\u679c\u7cfb\u7edf\u5141\u8bb8\u7684\u7ebf\u7a0b\u6570\u592a\u5c11\u6216\u8005\u5185\u5b58\u4e0d\u8db3\uff0c\u5219\u4f1a\u62a5Can't create a new thread (errno 11)\u9519\u8bef\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[],"class_list":["post-872","post","type-post","status-publish","format-standard","hentry","category-gbase8a"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/comments?post=872"}],"version-history":[{"count":2,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/872\/revisions"}],"predecessor-version":[{"id":1243,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/872\/revisions\/1243"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}