{"id":1357,"date":"2014-12-31T19:10:00","date_gmt":"2014-12-31T10:10:00","guid":{"rendered":"http:\/\/tech.akat.info\/?p=1357"},"modified":"2014-12-31T19:10:43","modified_gmt":"2014-12-31T10:10:43","slug":"aborted-connection%e3%82%a8%e3%83%a9%e3%83%bc","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=1357","title":{"rendered":"Aborted connection\u30a8\u30e9\u30fc"},"content":{"rendered":"<h1>\u6982\u8981<\/h1>\n<p>MySQL\u304b\u3089MariaDB\u306b\u79fb\u884c\u3057\u305f\u3089Aborted connection\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f<br \/>\nMariaDB\u306b\u3064\u3044\u3066\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ec\u30d9\u30eb\u304c\u9ad8\u304f\u3001Aborted connection\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u308b\u4ed5\u69d8\u306e\u6a21\u69d8<br \/>\nMySQL\u306e\u5834\u5408\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u30a8\u30e9\u30fc\u3068\u307f\u306a\u3055\u308c\u305a\u3001&#8211;warnings \u3067\u958b\u59cb\u3057\u305f\u5834\u5408\u306e\u307f\u3001Aborted connection \u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u308b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nMariaDB &#x5B;(none)]&gt; SHOW GLOBAL STATUS WHERE `Variable_name` IN ( 'Aborted_clients', 'Aborted_connects' );\r\n+------------------+-------+\r\n| Variable_name    | Value |\r\n+------------------+-------+\r\n| Aborted_clients  | 4     | # \u63a5\u7d9a\u3092\u9589\u3058\u308b\u3053\u3068\u306a\u304f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u5207\u65ad\u3057\u3066\u3057\u307e\u3063\u305f\u56de\u6570\r\n| Aborted_connects | 26    | # \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u30ed\u30b0\u30a4\u30f3\u306b\u5931\u6557\u3057\u305f\u56de\u6570\u3002telnet\u306a\u3069\u3067\u30dd\u30fc\u30c8\u30b9\u30ad\u30e3\u30f3\u3059\u308b\u3068\u5897\u52a0\r\n+------------------+-------+\r\n2 rows in set (0.00 sec)\r\n<\/pre>\n<h1>\u304a\u307e\u3051<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n### \u30a2\u30a4\u30c9\u30eb\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306fwait_timeout\u3001interactive_timeout\u306e\u3044\u305a\u308c\u304b\u306e\u3046\u3061\u5c0f\u3055\u3044\u5024\u3068\u306a\u308b ###\r\nMariaDB &#x5B;(none)]&gt; show variables like 'wait_timeout';\r\n+---------------+-------+\r\n| Variable_name | Value |\r\n+---------------+-------+\r\n| wait_timeout  | 28800 |\r\n+---------------+-------+\r\n1 row in set (0.00 sec)\r\n\r\nMariaDB &#x5B;(none)]&gt; show variables like 'interactive_timeout'; \r\n+---------------------+-------+\r\n| Variable_name       | Value |\r\n+---------------------+-------+\r\n| interactive_timeout | 28800 | # \u7121\u901a\u4fe1\u6642\u306e\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u30d7\u30fc\u30ea\u30f3\u30b0\u306e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u6642\u9593\r\n+---------------------+-------+\r\n1 row in set (0.00 sec)\r\n\r\n### connect\u95a2\u9023 ###\r\nMariaDB &#x5B;(none)]&gt; show status like '%connect%'; # connect\u95a2\u9023\r\n+--------------------------+-------+\r\n| Variable_name            | Value |\r\n+--------------------------+-------+\r\n| Aborted_connects         | 26    |\r\n| Connections              | 8343  | # \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u63a5\u7d9a\u3057\u305f\u56de\u6570\r\n| Max_used_connections     | 101   | # \u540c\u6642\u63a5\u7d9a\u6570\u306e\u6700\u5927\u5024\r\n| Ssl_client_connects      | 0     |\r\n| Ssl_connect_renegotiates | 0     |\r\n| Ssl_finished_connects    | 0     |\r\n| Threads_connected        | 1     | # \u73fe\u5728\u63a5\u7d9a\u4e2d\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u6570\r\n+--------------------------+-------+\r\n7 rows in set (0.00 sec)\r\n\r\n### \u958b\u3044\u3066\u3044\u308b\u30c6\u30fc\u30d6\u30eb\u3092\u8868\u793a(in\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u6307\u5b9a\u3059\u308b) ###\r\nMariaDB &#x5B;(none)]&gt; show open tables in techwordpress;\r\n+---------------+-----------------------+--------+-------------+\r\n| Database      | Table                 | In_use | Name_locked |\r\n+---------------+-----------------------+--------+-------------+\r\n| techwordpress | wp_comments           |      0 |           0 |\r\n| techwordpress | wp_usermeta           |      0 |           0 |\r\n| techwordpress | wp_terms              |      0 |           0 |\r\n| techwordpress | wp_posts              |      0 |           0 |\r\n| techwordpress | wp_term_taxonomy      |      0 |           0 |\r\n| techwordpress | wp_commentmeta        |      0 |           0 |\r\n| techwordpress | wp_term_relationships |      0 |           0 |\r\n| techwordpress | wp_users              |      0 |           0 |\r\n| techwordpress | wp_links              |      0 |           0 |\r\n| techwordpress | wp_postmeta           |      0 |           0 |\r\n| techwordpress | page_fake_url         |      0 |           0 |\r\n| techwordpress | wp_options            |      0 |           0 |\r\n+---------------+-----------------------+--------+-------------+\r\n12 rows in set (0.00 sec)\r\n<\/pre>\n<h1>\u53c2\u8003URL<\/h1>\n<p>MySQL\u306e\u63a5\u7d9a\u6570\u304c\u591a\u3044\u3068\u304d\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0<br \/>\nhttp:\/\/kennyqi.com\/archives\/68.html<br \/>\nMySQL\u30b7\u30b9\u30c6\u30e0\u5909\u6570<br \/>\nhttp:\/\/www.limy.org\/program\/db\/mysql\/mysql_variables.html<br \/>\nMySQL\u3067\u300cHost \u2018hogehoge.com\u2019 is blocked because of many connection errors\u300d\u304c\u767a\u751f<br \/>\nhttp:\/\/blog.simple-eye.com\/archives\/684<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 MySQL\u304b\u3089MariaDB\u306b\u79fb\u884c\u3057\u305f\u3089Aborted connection\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f MariaDB\u306b\u3064\u3044\u3066\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ec\u30d9\u30eb\u304c\u9ad8\u304f\u3001Aborted connection\u30a8\u30e9\u30fc\u304c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[25,14],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1357"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1357"}],"version-history":[{"count":2,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1357\/revisions"}],"predecessor-version":[{"id":1359,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/1357\/revisions\/1359"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}