AWS db.t2.small を利用しています。
数日に1回異常な読み書きが発生し、サーバーが重くなり、最終的に赤くセスできなくなる問題が発生しています。
再起動すれば直るのですが、一時的な処置にしかならず困っています。
前回こちらでログの取得方法を質問させていただき、ログを見てみました。
https://teratail.com/questions/77746
普段見かけない同じログが大量に生成されていました。
2017-06-10 23:55:23 32552 [ERROR] Error log throttle: 6 'Can't create thread to handle new connection' error(s) suppressed 2017-06-10 23:55:23 32552 [ERROR] Can't create thread to handle request (errno= 11) 2017-06-10 23:56:49 32552 [ERROR] Error log throttle: 15 'Can't create thread to handle new connection' error(s) suppressed 2017-06-10 23:56:49 32552 [ERROR] Can't create thread to handle request (errno= 11) 2017-06-10 23:57:50 32552 [ERROR] Error log throttle: 15 'Can't create thread to handle new connection' error(s) suppressed 2017-06-10 23:57:55 32552 [ERROR] Can't create thread to handle request (errno= 11) 2017-06-10 23:58:57 32552 [ERROR] Error log throttle: 40 'Can't create thread to handle new connection' error(s) suppressed 2017-06-10 23:58:57 32552 [ERROR] Can't create thread to handle request (errno= 11) 2017-06-11 00:00:04 32552 [ERROR] Error log throttle: 17 'Can't create thread to handle new connection' error(s) suppressed
Can't create thread to handle request で検索してみたのですがどう対処すればいいのか分かりませんでした。
2017-06-10 23:23:03 32552 [ERROR] /rdsdbbin/mysql/bin/mysqld: Out of memory (Needed 259104 bytes) 2017-06-10 23:23:39 32552 [ERROR] /rdsdbbin/mysql/bin/mysqld: Out of memory (Needed 259104 bytes) 2017-06-10 23:25:59 32552 [ERROR] /rdsdbbin/mysql/bin/mysqld: Out of memory (Needed 259104 bytes) 2017-06-10 23:25:59 32552 [ERROR] /rdsdbbin/mysql/bin/mysqld: Out of memory (Needed 259104 bytes) 2017-06-10 23:26:48 32552 [ERROR] /rdsdbbin/mysql/bin/mysqld: Out of memory (Needed 259104 bytes) 2017-06-10 23:27:05 32552 [ERROR] /rdsdbbin/mysql/bin/mysqld: Out of memory (Needed 259104 bytes) 2017-06-10 23:27:43 32552 [ERROR] /rdsdbbin/mysql/bin/mysqld: Out of memory (Needed 259104 bytes)
Out of memoryに関して調べたところ再起動したら直るくらいの情報しかえられませんでした。
どうすればこのエラーを抜本的に解決できるのかご教示頂けますと幸いです。
どうぞよろしくお願いいたします。
回答4件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/06/15 16:49