Can't create a new thread (errno 11) ½â¾ö°ì·¨ mysqlÎÞ·¨Á¬½Ó
ÎÊÌâµÄÏÖÏó£º
´íÎóÐÅÏ¢£º
ERROR 1135 (00000): Can'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 b
ÔÒò·ÖÎö£º
ºÍmysql±¾Éíû¹Øϵ
²Ù×÷ϵͳÁ¬½ÓÊý̫С¡££¨±ÈÈçcentos 6 ĬÈ쵀 max user processÖ»ÓÐ 1024¸ö¡£µ±mysql process´óÓÚÕâ¸öֵʱ ¾Í»á³öÏÖCan't create a new threadµÄÎÊÌ⣩
Á¬½ÓÊý³¬ÏÞ´¦ÀíµÄ°ì·¨£º
ulimit -a
²é¿´max user processes ÕâÒ»Ïî
ÒªÊÇÕâ¸öÖµ±È½ÏµÄС µ±mysqlÖÐprocessµÄÊýÄ¿³¬¹ýÕâ¸öÊýµÄʱºò ¾Í»á±§±êÌâÏàÓ¦µÄ´íÎó¡£
Ð޸İ취£º
vi /etc/security/limits.d/90-nproc.conf
#ÐÞ¸ÄΪ£º
- nproc 65536
»òÕߣº
vi /etc/bashrc
Ìí¼Ó £º
ulimit -u 65536
È»ºóÍ˳öµ±Ç°session ¼´¿É¡£
ÍƼöÐÅÏ¢
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
ÆÀÂÛ