{"id":42426,"date":"2025-06-23T04:21:17","date_gmt":"2025-06-22T19:21:17","guid":{"rendered":"https:\/\/jouhou.main.jp\/?p=42426"},"modified":"2025-12-22T17:11:48","modified_gmt":"2025-12-22T08:11:48","slug":"linux-edeadlk-35-%e8%a7%a3%e8%aa%ac%ef%bc%9a%e3%83%87%e3%83%83%e3%83%89%e3%83%ad%e3%83%83%e3%82%af%e5%9b%9e%e9%81%bf%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e6%a4%9c%e5%87%ba%e3%81%a8%e5%af%be%e7%ad%96","status":"publish","type":"post","link":"https:\/\/jouhou.main.jp\/?p=42426","title":{"rendered":"Linux EDEADLK (35) \u89e3\u8aac\uff1a\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u56de\u907f\u30a8\u30e9\u30fc\u306e\u691c\u51fa\u3068\u5bfe\u7b56\u7de8"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"42426\" class=\"elementor elementor-42426\" data-elementor-settings=\"[]\">\n\t\t\t\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0426237 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0426237\" data-element_type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d54e821\" data-id=\"d54e821\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a78578e elementor-widget elementor-widget-html\" data-id=\"a78578e\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\r\n\r\n<div style=\"margin:0; padding:30pt; background-color:#EEEEEE;\"> <p style=\"margin:0 0 8px 0; font-size:1.2em;\"><strong>\u3082\u304f\u3058<\/strong><\/p> <ul style=\"list-style-type:none; padding-left:0; margin:0;\"> <li style=\"margin:40px 0;\"><a href=\"#sec01\">\u7b2c1\u7ae0\uff1a\u300c\u305f\u307e\u306b\u56fa\u307e\u308b\u300d\u304c\u4e00\u756a\u5384\u4ecb\uff1a\u73fe\u5834\u304c\u62b1\u3048\u308b\u201c\u8aac\u660e\u3067\u304d\u306a\u3044\u505c\u6b62\u201d<\/a><\/li> <li style=\"margin:40px 0;\"><a href=\"#sec02\">\u7b2c2\u7ae0\uff1aEDEADLK(35)\u306f\u60aa\u3044\u77e5\u3089\u305b\u3067\u306f\u306a\u3044\uff1a\u30cf\u30f3\u30b0\u3059\u308b\u524d\u306b\u691c\u51fa\u3067\u304d\u305f\u3068\u3044\u3046\u610f\u5473<\/a><\/li> <li style=\"margin:40px 0;\"><a href=\"#sec03\">\u7b2c3\u7ae0\uff1a\u3069\u3053\u3067\u8fd4\u308b\uff1fpthread mutex\uff0ffutex\uff0ffcntl\u30ed\u30c3\u30af\u3067\u8d77\u304d\u308b\u5178\u578b\u30b7\u30ca\u30ea\u30aa<\/a><\/li> <li style=\"margin:40px 0;\"><a href=\"#sec04\">\u7b2c4\u7ae0\uff1a\u307e\u305a\u306f\u518d\u73fe\u3067\u304d\u308b\u5f62\u306b\u843d\u3068\u3059\uff1a\u6700\u5c0f\u30b3\u30fc\u30c9\u3068\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\u3067\u201c\u56e0\u679c\u201d\u3092\u4f5c\u308b<\/a><\/li> <li style=\"margin:40px 0;\"><a href=\"#sec05\">\u7b2c5\u7ae0\uff1a\u89b3\u6e2c\u306e\u57fa\u672c\u30bb\u30c3\u30c8\uff1astrace\u30fbperf\u30fbftrace\u3067\u300c\u3069\u306e\u30ed\u30c3\u30af\u3067\u6b62\u307e\u3063\u305f\u304b\u300d\u3092\u63b4\u3080<\/a><\/li> <li style=\"margin:40px 0;\"><a href=\"#sec06\">\u7b2c6\u7ae0\uff1a\u30ab\u30fc\u30cd\u30eb\u5074\u306e\u624b\u639b\u304b\u308a\uff1a\/proc\/locks\u30fblockdep\u30fb\u30ed\u30b0\u304b\u3089\u5faa\u74b0\u5f85\u3061\u3092\u7279\u5b9a\u3059\u308b<\/a><\/li> <li style=\"margin:40px 0;\"><a href=\"#sec07\">\u7b2c7\u7ae0\uff1a\u8a2d\u8a08\u3067\u52dd\u3064\uff1a\u30ed\u30c3\u30af\u9806\u5e8f\u30fb\u968e\u5c64\u5316\u30fb\u7c92\u5ea6\u8abf\u6574\u3067\u201c\u5faa\u74b0\u201d\u3092\u4f5c\u3089\u306a\u3044<\/a><\/li> <li style=\"margin:40px 0;\"><a href=\"#sec08\">\u7b2c8\u7ae0\uff1a\u5b9f\u88c5\u3067\u9003\u304c\u3059\uff1atrylock\uff0ftimedlock\uff0f\u30d0\u30c3\u30af\u30aa\u30d5\u3067\u9032\u6357\u4fdd\u8a3c\u3092\u5165\u308c\u308b<\/a><\/li> <li style=\"margin:40px 0;\"><a href=\"#sec09\">\u7b2c9\u7ae0\uff1a\u30c6\u30b9\u30c8\u3067\u6f70\u3059\uff1a\u8ca0\u8377\u30fb\u4e26\u884c\u5ea6\u30fb\u30d5\u30a9\u30fc\u30eb\u30c8\u6ce8\u5165\u3067\u300c\u518d\u767a\u3057\u306a\u3044\u300d\u3092\u8a3c\u660e\u3059\u308b<\/a><\/li> <li style=\"margin:40px 0;\"><a href=\"#sec10\">\u7b2c10\u7ae0\uff1a\u5e30\u7d50\uff1aEDEADLK\u3092\u201c\u4ed5\u69d8\u201d\u306b\u3059\u308b\u2014\u300c\u6b62\u307e\u3089\u306a\u3044\u300d\u3088\u308a\u300c\u5fc5\u305a\u9032\u3080\u300d\u8a2d\u8a08\u3078<\/a><\/li> <\/ul> <\/div> \r\n\r\n\r\n\r\n<p><strong>\u3010\u6ce8\u610f\u3011\u672c\u8a18\u4e8b\u306f\u3001Linux\u306b\u304a\u3051\u308b EDEADLK (35)\uff08\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u56de\u907f\u30a8\u30e9\u30fc\uff09\u3092\u984c\u6750\u306b\u3001\u4e26\u884c\u51e6\u7406\u3067\u8d77\u304d\u3084\u3059\u3044\u505c\u6b62\u8981\u56e0\u306e\u201c\u88ab\u5bb3\u6700\u5c0f\u5316\uff08\u30c0\u30e1\u30fc\u30b8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\uff09\u201d\u3068\u691c\u51fa\u30fb\u5bfe\u7b56\u306e\u8003\u3048\u65b9\u3092\u6574\u7406\u3057\u305f\u4e00\u822c\u7684\u306a\u60c5\u5831\u63d0\u4f9b\u3067\u3059\u3002\u5b9f\u969b\u306e\u6700\u9069\u89e3\u306f\u3001\u5bfe\u8c61\u30b7\u30b9\u30c6\u30e0\u306e\u30b9\u30ec\u30c3\u30c9\u8a2d\u8a08\u3001\u30ed\u30c3\u30af\u7a2e\u5225\u3001I\/O\u69cb\u6210\u3001\u8ca0\u8377\u3001\u904b\u7528\u8981\u4ef6\u3001\u5fa9\u65e7\u671f\u9650\u306a\u3069\u3067\u5927\u304d\u304f\u5909\u308f\u308a\u307e\u3059\u3002\u91cd\u8981\u30c7\u30fc\u30bf\u3084\u57fa\u5e79\u30b5\u30fc\u30d3\u30b9\u304c\u95a2\u308f\u308b\u5834\u5408\u306f\u3001\u5224\u65ad\u3092\u8aa4\u308b\u3068\u969c\u5bb3\u304c\u9577\u671f\u5316\u3059\u308b\u305f\u3081\u3001\u682a\u5f0f\u4f1a\u793e\u60c5\u5831\u5de5\u5b66\u7814\u7a76\u6240\u306e\u69d8\u306a\u5c02\u9580\u4e8b\u696d\u8005\u306b\u76f8\u8ac7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/strong><\/p> \r\n\r\n\r\n\r\n<p>\u3000<\/p> <a id=\"sec01\"><\/a> <h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u300c\u305f\u307e\u306b\u56fa\u307e\u308b\u300d\u304c\u4e00\u756a\u5384\u4ecb\uff1a\u73fe\u5834\u304c\u62b1\u3048\u308b\u201c\u8aac\u660e\u3067\u304d\u306a\u3044\u505c\u6b62\u201d<\/h2> <p>\u300c\u518d\u73fe\u3057\u306a\u3044\u300d\u300c\u30ed\u30b0\u306b\u4f55\u3082\u6b8b\u3089\u306a\u3044\u300d\u300c\u3067\u3082\u30e6\u30fc\u30b6\u30fc\u306f\u56f0\u3063\u3066\u3044\u308b\u300d\u2014\u2014\u3053\u306e3\u70b9\u30bb\u30c3\u30c8\u304c\u63c3\u3046\u3068\u3001\u73fe\u5834\u306f\u4e00\u6c17\u306b\u6d88\u8017\u3057\u307e\u3059\u3002CPU\u4f7f\u7528\u7387\u306f\u9ad8\u304f\u306a\u3044\u306e\u306b\u5fdc\u7b54\u304c\u8fd4\u3089\u306a\u3044\u3002\u30b3\u30f3\u30c6\u30ca\u306f\u751f\u304d\u3066\u3044\u308b\u3088\u3046\u306b\u898b\u3048\u308b\u306e\u306b\u3001API\u304c\u6c88\u9ed9\u3059\u308b\u3002\u76e3\u8996\u306f\u8d64\u304f\u306a\u3089\u306a\u3044\u306e\u306b\u3001\u30aa\u30f3\u30b3\u30fc\u30eb\u3060\u3051\u304c\u9cf4\u308b\u3002\u3053\u3046\u3044\u3046\u201c\u9759\u304b\u306a\u505c\u6b62\u201d\u306e\u4ee3\u8868\u683c\u304c\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u3067\u3059\u3002<\/p> <p>\u5fc3\u306e\u4f1a\u8a71\u3067\u8a00\u3046\u3068\u3001\u305f\u3076\u3093\u3053\u3046\u3067\u3059\u3002<\/p> <p>\u300c\u307e\u305f\u56fa\u307e\u3063\u305f\u2026\u3067\u3082\u843d\u3061\u3066\u3082\u306a\u3044\u3002\u3053\u308c\u3001\u3069\u3046\u8aac\u660e\u3059\u308c\u3070\u3044\u3044\u3093\u3060\u2026\u300d<\/p> <p>\u300c\u539f\u56e0\u306f\u5206\u304b\u3089\u306a\u3044\u3051\u3069\u3001\u3068\u308a\u3042\u3048\u305a\u518d\u8d77\u52d5\u3067\u53ce\u675f\uff08\u30af\u30fc\u30eb\u30c0\u30a6\u30f3\uff09\u3055\u305b\u308b\u3057\u304b\u306a\u3044\u306e\u3001\u3057\u3093\u3069\u3044\u2026\u300d<\/p> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u201c\u3044\u3064\u304b\u5fc5\u305a\u201d\u8d77\u304d\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30b9\u30ec\u30c3\u30c9\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0\u3001I\/O\u5f85\u3061\u306e\u63fa\u3089\u304e\u3001\u30ed\u30c3\u30af\u53d6\u5f97\u9806\u5e8f\u306e\u5076\u7136\u306e\u4e00\u81f4\u3067\u3001\u3042\u308b\u77ac\u9593\u3060\u3051\u6210\u7acb\u3057\u307e\u3059\u3002\u3060\u304b\u3089\u3053\u305d\u3001\u969c\u5bb3\u5bfe\u5fdc\u3067\u306f\u300c\u518d\u73fe\u3067\u304d\u306a\u3044\u300d\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u306f\u3001\u518d\u73fe\u6027\u304c\u8584\u304f\u3066\u3082\u201c\u89b3\u6e2c\u3067\u304d\u308b\u5f62\u306b\u843d\u3068\u3059\u201d\u3053\u3068\u3067\u3059\u3002<\/p> <hr> <p>\u307e\u305a\u3001\u73fe\u8c61\u3092\u8a00\u8449\u3067\u5207\u308a\u5206\u3051\u307e\u3059\u3002<\/p> <ul> <li>\u30d7\u30ed\u30bb\u30b9\u304c\u843d\u3061\u3066\u3044\u308b\u306e\u304b\uff08\u30af\u30e9\u30c3\u30b7\u30e5\uff09<\/li> <li>\u5fdc\u7b54\u304c\u9045\u3044\u306e\u304b\uff08\u6027\u80fd\u52a3\u5316\uff09<\/li> <li>\u9032\u6357\u304c\u6b62\u307e\u3063\u3066\u3044\u308b\u306e\u304b\uff08\u30cf\u30f3\u30b0\uff0f\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\uff09<\/li> <\/ul> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u300c\u9032\u6357\u304c\u6b62\u307e\u308b\u300d\u554f\u984c\u3067\u3059\u3002\u3053\u3053\u3092\u66d6\u6627\u306b\u3059\u308b\u3068\u3001\u5bfe\u7b56\u304c\u201c\u901f\u304f\u3059\u308b\u201d\u65b9\u5411\u306b\u305a\u308c\u3066\u3044\u304d\u307e\u3059\u3002\u5fc5\u8981\u306a\u306e\u306f\u901f\u5ea6\u3067\u306f\u306a\u304f\u3001\u9032\u6357\u4fdd\u8a3c\uff08\u5fc5\u305a\u524d\u306b\u9032\u3080\u8a2d\u8a08\uff09\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u306f\u3001\u305d\u306e\u65b9\u5411\u306b\u982d\u3092\u5207\u308a\u66ff\u3048\u308b\u305f\u3081\u306e\u201c\u5834\u3092\u6574\u3048\u308b\u201d\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u307e\u3059\u3002<\/p> <p>\u305d\u3057\u3066\u3001EDEADLK(35)\u306f\u3001\u305d\u306e\u9032\u6357\u505c\u6b62\u3092\u300c\u691c\u51fa\u3067\u304d\u305f\u300d\u30b1\u30fc\u30b9\u306e\u5165\u53e3\u3067\u3059\u3002\u6b21\u7ae0\u3067\u3001EDEADLK\u304c\u8fd4\u308b\u610f\u5473\u3068\u3001\u8fd4\u3089\u306a\u3044\uff08\uff1d\u56fa\u307e\u308b\uff09\u30b1\u30fc\u30b9\u3068\u306e\u5dee\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p> \r\n\r\n\r\n\r\n<p>\u3000<\/p> <a id=\"sec02\"><\/a> <h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">EDEADLK(35)\u306f\u60aa\u3044\u77e5\u3089\u305b\u3067\u306f\u306a\u3044\uff1a\u30cf\u30f3\u30b0\u3059\u308b\u524d\u306b\u691c\u51fa\u3067\u304d\u305f\u3068\u3044\u3046\u610f\u5473<\/h2> <p>EDEADLK\u306f\u3001Linux\u3067\u306f errno 35 \u3068\u3057\u3066\u77e5\u3089\u308c\u308b\u300cDeadlock avoided\uff08\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u3092\u56de\u907f\u3057\u305f\uff09\u300d\u306e\u30a8\u30e9\u30fc\u3067\u3059\u3002\u30dd\u30a4\u30f3\u30c8\u306f\u201c\u56de\u907f\u3057\u305f\u201d\u3068\u3044\u3046\u8a00\u8449\u3067\u3001\u5b8c\u5168\u306b\u505c\u6b62\u3057\u3066\u304b\u3089\u6c17\u3065\u304f\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u3053\u306e\u307e\u307e\u5f85\u3064\u3068\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u300d\u307e\u305f\u306f\u300c\u540c\u4e00\u30b9\u30ec\u30c3\u30c9\u304c\u540c\u3058\u30ed\u30c3\u30af\u3092\u518d\u53d6\u5f97\u3057\u3088\u3046\u3068\u3057\u3066\u81ea\u5206\u3067\u8a70\u3080\u300d\u72b6\u6cc1\u3092\u3001\u30b7\u30b9\u30c6\u30e0\u5074\u304c\u691c\u51fa\u3057\u3066\u8fd4\u3057\u3066\u304d\u305f\u3001\u3068\u3044\u3046\u6027\u8cea\u304c\u3042\u308a\u307e\u3059\u3002<\/p> <p>\u3064\u307e\u308a\u3001EDEADLK\u304c\u8fd4\u3063\u305f\u6642\u70b9\u3067\u3001\u3059\u3067\u306b\u201c\u56fa\u307e\u308b\u672a\u6765\u201d\u306b\u8fd1\u3065\u3044\u3066\u3044\u307e\u3059\u304c\u3001\u307e\u3060\u624b\u304c\u6253\u3066\u307e\u3059\u3002\u3053\u3053\u3067\u306e\u57fa\u672c\u59ff\u52e2\u306f\u3001\u539f\u56e0\u7a76\u660e\u3092\u5148\u9001\u308a\u306b\u3057\u3066\u3067\u3082\u3001\u307e\u305a\u88ab\u5bb3\u6700\u5c0f\u5316\uff08\u30c0\u30e1\u30fc\u30b8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\uff09\u3092\u512a\u5148\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p> <p>\u5fc3\u306e\u4f1a\u8a71\u306b\u3059\u308b\u3068\u3001\u3053\u3046\u5207\u308a\u66ff\u3048\u307e\u3059\u3002<\/p> <p>\u300c\u3088\u3057\u3001\u56fa\u307e\u308b\u524d\u306b\u8fd4\u3063\u3066\u304d\u305f\u3002\u3044\u307e\u306a\u3089\u30ed\u30b0\u3092\u6b8b\u3057\u3066\u3001\u5b89\u5168\u306b\u30ea\u30bb\u30c3\u30c8\u3067\u304d\u308b\u300d<\/p> <p>\u300c\u201c\u5f85\u3061\u7d9a\u3051\u308b\u201d\u306e\u304c\u4e00\u756a\u307e\u305a\u3044\u3002\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u304b\u5207\u308a\u623b\u3057\u3067\u9032\u6357\u3092\u53d6\u308a\u623b\u305d\u3046\u300d<\/p> <hr> <p>EDEADLK\u304c\u8fd4\u308b\u4ee3\u8868\u7684\u306a\u30d1\u30bf\u30fc\u30f3\u306f\u5927\u304d\u304f2\u3064\u3067\u3059\u3002<\/p> <ol> <li><strong>\u81ea\u5df1\u30c7\u30c3\u30c9\u30ed\u30c3\u30af<\/strong>\uff1a\u540c\u4e00\u30b9\u30ec\u30c3\u30c9\u304c\u3001\u975e\u518d\u5e30\uff08\u901a\u5e38\uff09\u306e\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u7b49\u3092\u4e8c\u91cd\u306b\u30ed\u30c3\u30af\u3057\u3088\u3046\u3068\u3057\u3066\u8a70\u3080<\/li> <li><strong>\u5faa\u74b0\u5f85\u3061\u306e\u691c\u51fa<\/strong>\uff1a\u30ed\u30c3\u30af\u5f85\u3061\u306e\u95a2\u4fc2\u304b\u3089\u3001\u5faa\u74b0\uff08A\u304cB\u5f85\u3061\u3001B\u304cA\u5f85\u3061\u7b49\uff09\u306b\u306a\u308a\u5f97\u308b\u3068\u5224\u65ad\u3055\u308c\u308b<\/li> <\/ol> <p>\u305f\u3060\u3057\u91cd\u8981\u306a\u6ce8\u610f\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<strong>\u3059\u3079\u3066\u306e\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u304cEDEADLK\u3068\u3057\u3066\u691c\u51fa\u3055\u308c\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/strong>\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u7a7a\u9593\u30ed\u30c3\u30af\uff08pthread\u306e\u901a\u5e38\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u7b49\uff09\u306f\u3001\u8aa4\u3063\u305f\u4f7f\u3044\u65b9\u3092\u3059\u308b\u3068\u5358\u306b\u6c38\u4e45\u5f85\u3061\u306b\u306a\u308a\u3001errno\u3068\u3057\u3066\u8fd4\u308a\u307e\u305b\u3093\u3002\u3060\u304b\u3089\u3053\u305d\u3001EDEADLK\u306f\u300c\u691c\u51fa\u3067\u304d\u305f\u8cb4\u91cd\u306a\u30b7\u30b0\u30ca\u30eb\u300d\u3067\u3042\u308a\u3001\u63e1\u308a\u3064\u3076\u3059\u3079\u304d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p> <p>\u904b\u7528\u4e0a\u306e\u5b9f\u52d9\u3068\u3057\u3066\u306f\u3001EDEADLK\u3092\u898b\u305f\u3089\u300c\u4f8b\u5916\u6271\u3044\u3067\u843d\u3068\u3059\u300d\u304b\u300c\u5b89\u5168\u306a\u518d\u8a66\u884c\u306b\u5207\u308a\u66ff\u3048\u308b\u300d\u304b\u3092\u3001\u8a2d\u8a08\u3067\u6c7a\u3081\u3066\u304a\u304f\u306e\u304c\u73fe\u5b9f\u7684\u3067\u3059\u3002\u66d6\u6627\u306b\u3059\u308b\u3068\u3001\u73fe\u5834\u306f\u3053\u3046\u306a\u308a\u307e\u3059\u3002<\/p> <p>\u300c\u3053\u3053\u3001\u30a8\u30e9\u30fc\u8fd4\u308b\u3093\u3060\u2026\u3067\u3082\u3001\u3068\u308a\u3042\u3048\u305a\u30ea\u30c8\u30e9\u30a4\u3067\u3044\u3044\uff1f\u3044\u3084\u3001\u4f59\u8a08\u306b\u8a70\u307e\u308b\uff1f\u300d<\/p> <p>\u3053\u306e\u8ff7\u3044\u3092\u6e1b\u3089\u3059\u305f\u3081\u306b\u3001\u6b21\u7ae0\u3067\u300c\u3069\u306eAPI\u3067EDEADLK\u304c\u8fd4\u308a\u5f97\u308b\u306e\u304b\u300d\u300c\u8fd4\u3063\u305f\u6642\u306b\u4f55\u3092\u30ed\u30b0\u306b\u6b8b\u3059\u3079\u304d\u304b\u300d\u3092\u3001\u5177\u4f53\u4f8b\u3067\u6574\u7406\u3057\u307e\u3059\u3002<\/p> \r\n\r\n\r\n\r\n<p>\u3000<\/p> <a id=\"sec03\"><\/a> <h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u3069\u3053\u3067\u8fd4\u308b\uff1fpthread mutex\uff0ffutex\uff0ffcntl\u30ed\u30c3\u30af\u3067\u8d77\u304d\u308b\u5178\u578b\u30b7\u30ca\u30ea\u30aa<\/h2> <p>EDEADLK\u306f\u300c\u3069\u3053\u3067\u8fd4\u3063\u305f\u304b\u300d\u306b\u3088\u3063\u3066\u3001\u610f\u5473\u5408\u3044\u3068\u5bfe\u7b56\u304c\u5909\u308f\u308a\u307e\u3059\u3002\u73fe\u5834\u3067\u906d\u9047\u3057\u3084\u3059\u3044\u5165\u53e3\u306f\u3001\u6982\u306d\u6b21\u306e3\u7cfb\u7d71\u3067\u3059\u3002<\/p> <ul> <li><strong>pthread\u7cfb\uff08\u30e6\u30fc\u30b6\u30fc\u7a7a\u9593\u306e\u6392\u4ed6\uff09<\/strong>\uff1amutex\/cond\u306a\u3069\u306e\u540c\u671f\u539f\u8a9e\u306e\u4f7f\u3044\u65b9\u3067\u81ea\u5df1\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u3084\u4e0d\u6574\u5408\u304c\u9732\u898b\u3059\u308b<\/li> <li><strong>futex\uff08pthread\u306e\u4e0b\u652f\u3048\uff09<\/strong>\uff1a\u591a\u304f\u306e\u5834\u5408\u306f\u76f4\u63a5\u89e6\u3089\u306a\u3044\u304c\u3001strace\u7b49\u3067\u624b\u639b\u304b\u308a\u3068\u3057\u3066\u73fe\u308c\u308b<\/li> <li><strong>fcntl\u306e\u30d5\u30a1\u30a4\u30eb\u30ed\u30c3\u30af\uff08\u30ab\u30fc\u30cd\u30eb\u304c\u95a2\u4e0e\u3059\u308b\u5f85\u3061\uff09<\/strong>\uff1aF_SETLKW\u7b49\u3067\u5f85\u3064\u969b\u306b\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u691c\u51fa\u304c\u50cd\u3044\u3066EDEADLK\u304c\u8fd4\u308b\u3053\u3068\u304c\u3042\u308b<\/li> <\/ul> <hr> <h3>\u4ee3\u8868\u4f8b1\uff1apthread_mutex_lock\u3067\u306e\u81ea\u5df1\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\uff08\u30a8\u30e9\u30fc\u30c1\u30a7\u30c3\u30af\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\uff09<\/h3> <p>\u540c\u4e00\u30b9\u30ec\u30c3\u30c9\u304c\u540c\u3058\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3092\u4e8c\u5ea6\u30ed\u30c3\u30af\u3059\u308b\u306e\u306f\u3001\u975e\u518d\u5e30\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3067\u306f\u5178\u578b\u7684\u306a\u81ea\u5df1\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u3067\u3059\u3002\u901a\u5e38\u306e\u30df\u30e5\u30fc\u30c6\u30c3\u30af\u30b9\u3060\u3068\u201c\u56fa\u307e\u308b\u3060\u3051\u201d\u306b\u306a\u308a\u304c\u3061\u3067\u3059\u304c\u3001<strong>\u30a8\u30e9\u30fc\u30c1\u30a7\u30c3\u30af\u5c5e\u6027\uff08PTHREAD_MUTEX_ERRORCHECK\uff09<\/strong>\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u3001\u30ed\u30c3\u30af\u3067EDEADLK\u304c\u8fd4\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u300c\u56fa\u307e\u308b\u524d\u306b\u691c\u51fa\u3067\u304d\u305f\u300d\u30b1\u30fc\u30b9\u3067\u3001\u30ed\u30b0\u3092\u6b8b\u3057\u3066\u5931\u6557\u3068\u3057\u3066\u6271\u3046\u8a2d\u8a08\u304c\u53d6\u308a\u3084\u3059\u3044\u306e\u304c\u5229\u70b9\u3067\u3059\u3002<\/p> <p>\u3053\u3053\u3067\u306e\u843d\u3068\u3057\u7a74\u306f\u3001\u300cEDEADLK\u3092\u63e1\u308a\u3064\u3076\u3057\u3066\u30ea\u30c8\u30e9\u30a4\u300d\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u3067\u3059\u3002\u81ea\u5df1\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u69cb\u9020\u7684\u306a\u30d0\u30b0\u306a\u306e\u3067\u3001\u30ea\u30c8\u30e9\u30a4\u3067\u76f4\u308b\u4fdd\u8a3c\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3080\u3057\u308d\u201c\u540c\u3058\u9053\u3092\u3082\u3046\u4e00\u56de\u6b69\u304f\u201d\u3060\u3051\u306b\u306a\u308a\u307e\u3059\u3002<\/p> <h3>\u4ee3\u8868\u4f8b2\uff1afcntl(F_SETLKW)\u306e\u5f85\u3061\u3067\u306e\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u691c\u51fa<\/h3> <p>\u30d5\u30a1\u30a4\u30eb\u30ed\u30c3\u30af\uff08\u30ec\u30b3\u30fc\u30c9\u30ed\u30c3\u30af\uff09\u3092\u5f85\u3064API\uff08\u4f8b\uff1afcntl\u306eF_SETLKW\uff09\u306f\u3001\u30ab\u30fc\u30cd\u30eb\u5074\u3067\u5f85\u3061\u95a2\u4fc2\u3092\u628a\u63e1\u3067\u304d\u308b\u305f\u3081\u3001\u5faa\u74b0\u5f85\u3061\u306e\u7591\u3044\u304c\u3042\u308b\u3068EDEADLK\u3067\u8fd4\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u30a2\u30d7\u30ea\u304c\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u3084\u8907\u6570\u7bc4\u56f2\u306e\u30ed\u30c3\u30af\u3092\u201c\u9806\u4e0d\u540c\u201d\u3067\u53d6\u5f97\u3057\u59cb\u3081\u308b\u3068\u3001\u30d7\u30ed\u30bb\u30b9\u9593\u3067\u5faa\u74b0\u304c\u6210\u7acb\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p> <p>\u3053\u306e\u7cfb\u7d71\u306f\u300c\u540c\u3058\u9806\u5e8f\u3067\u30ed\u30c3\u30af\u3092\u53d6\u308b\u300d\u300c\u30ed\u30c3\u30af\u7c92\u5ea6\u3092\u6574\u7406\u3059\u308b\u300d\u300c\u305d\u3082\u305d\u3082\u30ed\u30c3\u30af\u5bfe\u8c61\u3092\u6e1b\u3089\u3059\u300d\u306a\u3069\u3001\u8a2d\u8a08\u306e\u8a71\u306b\u76f4\u7d50\u3057\u307e\u3059\u3002EDEADLK\u306f\u305d\u306e\u8a2d\u8a08\u4e0a\u306e\u6b6a\u307f\u304c\u8868\u306b\u51fa\u305f\u30b5\u30a4\u30f3\u3068\u6349\u3048\u308b\u306e\u304c\u5b89\u5168\u3067\u3059\u3002<\/p> <hr> <h3>\u3069\u306e\u5165\u53e3\u304b\u3092\u4e00\u77ac\u3067\u6574\u7406\u3059\u308b\u305f\u3081\u306e\u5bfe\u5fdc\u8868<\/h3> <table style=\"border-collapse:collapse; width:100%;\"> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">\u5165\u53e3<\/th> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">EDEADLK\u306e\u5178\u578b\u7684\u306a\u610f\u5473<\/th> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">\u521d\u52d5\uff08\u88ab\u5bb3\u6700\u5c0f\u5316\uff09<\/th> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">pthread mutex<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u81ea\u5df1\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u691c\u51fa\u3001\u307e\u305f\u306f\u540c\u671f\u8a2d\u8a08\u306e\u7834\u7dbb\u306e\u5146\u5019<\/td> <td style=\"border:1px solid #999; padding:8px;\">\u30b9\u30ec\u30c3\u30c9ID\/\u30ed\u30c3\u30af\u540d\/\u547c\u3073\u51fa\u3057\u5143\u3092\u8a18\u9332\u3057\u3001\u51e6\u7406\u3092\u5931\u6557\u3068\u3057\u3066\u5207\u308a\u4e0a\u3052\uff08\u5fc5\u8981\u306a\u3089\u5b89\u5168\u306a\u30ea\u30bb\u30c3\u30c8\uff09<\/td> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">fcntl F_SETLKW<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u30d5\u30a1\u30a4\u30eb\u30ed\u30c3\u30af\u5f85\u3061\u306e\u5faa\u74b0\u53ef\u80fd\u6027\u3092\u30ab\u30fc\u30cd\u30eb\u304c\u691c\u77e5<\/td> <td style=\"border:1px solid #999; padding:8px;\">\u30ed\u30c3\u30af\u5bfe\u8c61\u3068\u9806\u5e8f\u3092\u30ed\u30b0\u5316\u3057\u3001\u53d6\u5f97\u9806\u5e8f\u306e\u7d71\u4e00\u30fb\u7c92\u5ea6\u898b\u76f4\u3057\u3092\u512a\u5148\u8ab2\u984c\u306b\u3059\u308b<\/td> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">strace\u4e0a\u306efutex<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u76f4\u63a5\u539f\u56e0\u3068\u3044\u3046\u3088\u308a\u3001\u3069\u306e\u540c\u671f\u304c\u8a70\u307e\u3063\u3066\u3044\u308b\u304b\u306e\u624b\u639b\u304b\u308a<\/td> <td style=\"border:1px solid #999; padding:8px;\">\u8a72\u5f53\u30b9\u30ec\u30c3\u30c9\u306e\u30d0\u30c3\u30af\u30c8\u30ec\u30fc\u30b9\u63a1\u53d6\uff08pstack\/gdb\u7b49\uff09\u3078\u3064\u306a\u3052\u308b<\/td> <\/tr> <\/table> <hr> <p>\u3053\u3053\u307e\u3067\u3067\u3001EDEADLK\u3092\u300c\u5358\u306a\u308b\u30a8\u30e9\u30fc\u300d\u3067\u306f\u306a\u304f\u300c\u56fa\u307e\u308b\u524d\u306e\u8b66\u544a\u300d\u3068\u3057\u3066\u6271\u3046\u6e96\u5099\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u6b21\u7ae0\u3067\u306f\u3001\u518d\u73fe\u3057\u3065\u3089\u3044\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u3092\u201c\u518d\u73fe\u3067\u304d\u308b\u5f62\u306b\u843d\u3068\u3059\u201d\u305f\u3081\u306b\u3001\u6700\u5c0f\u30b3\u30fc\u30c9\u5316\u30fb\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\u30fb\u30ed\u30b0\u8a2d\u8a08\u3092\u3069\u3046\u9032\u3081\u308b\u304b\u3092\u6398\u308a\u4e0b\u3052\u307e\u3059\u3002<\/p> \r\n\r\n\r\n\r\n<p>\u3000<\/p> <a id=\"sec04\"><\/a> <h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u307e\u305a\u306f\u518d\u73fe\u3067\u304d\u308b\u5f62\u306b\u843d\u3068\u3059\uff1a\u6700\u5c0f\u30b3\u30fc\u30c9\u3068\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\u3067\u201c\u56e0\u679c\u201d\u3092\u4f5c\u308b<\/h2> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u5bfe\u5fdc\u3067\u4e00\u756a\u3064\u3089\u3044\u306e\u306f\u3001\u300c\u305f\u3076\u3093\u30ed\u30c3\u30af\u304c\u539f\u56e0\u300d\u3068\u3044\u3046\u611f\u899a\u304c\u3042\u3063\u3066\u3082\u3001\u56e0\u679c\u95a2\u4fc2\u3092\u8aac\u660e\u3067\u304d\u308b\u6750\u6599\u304c\u8db3\u308a\u306a\u3044\u72b6\u614b\u3067\u3059\u3002\u3053\u3053\u3067\u7126\u3063\u3066\u201c\u63a8\u6e2c\u306e\u4fee\u6b63\u201d\u3092\u59cb\u3081\u308b\u3068\u3001\u73fe\u5834\u306f\u3055\u3089\u306b\u6df7\u4e71\u3057\u307e\u3059\u3002\u307e\u305a\u3084\u308b\u3079\u304d\u306f\u3001\u518d\u73fe\u306b\u8fd1\u3044\u6761\u4ef6\u3092\u5207\u308a\u51fa\u3057\u3001\u89b3\u6e2c\u53ef\u80fd\u306a\u5f62\u306b\u3057\u3066\u3001\u8b70\u8ad6\u306e\u6e29\u5ea6\u3092\u4e0b\u3052\u308b\uff08\u30af\u30fc\u30eb\u30c0\u30a6\u30f3\uff09\u3053\u3068\u3067\u3059\u3002<\/p> <p>\u5fc3\u306e\u4f1a\u8a71\u3068\u3057\u3066\u306f\u3053\u3046\u3067\u3059\u3002<\/p> <p>\u300c\u76f4\u3057\u305f\u201c\u6c17\u304c\u3059\u308b\u201d\u306f\u5371\u967a\u3002\u518d\u73fe\u30fb\u89b3\u6e2c\u30fb\u8a3c\u62e0\u306e\u9806\u3067\u3001\u843d\u3061\u7740\u3044\u3066\u884c\u3053\u3046\u300d<\/p> <p>\u300c\u95a2\u4fc2\u8005\u306b\u8aac\u660e\u3067\u304d\u308b\u5f62\u3092\u4f5c\u3089\u306a\u3044\u3068\u3001\u307e\u305f\u540c\u3058\u591c\u3092\u7e70\u308a\u8fd4\u3059\u300d<\/p> <hr> <h3>\u6700\u5c0f\u30b3\u30fc\u30c9\u5316\uff08MRE: Minimal Reproducible Example\uff09\u3067\u3084\u308b\u3053\u3068<\/h3> <p>\u672c\u756a\u30b3\u30fc\u30c9\u3092\u305d\u306e\u307e\u307e\u8ffd\u3044\u304b\u3051\u308b\u306e\u306f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002\u7279\u306bSRE\/\u60c5\u30b7\u30b9\u306e\u7acb\u5834\u3060\u3068\u3001\u30a2\u30d7\u30ea\u306e\u5185\u90e8\u5b9f\u88c5\u306b\u6df1\u304f\u8e0f\u307f\u8fbc\u3081\u306a\u3044\u3053\u3068\u3082\u591a\u3044\u3002\u305d\u3053\u3067\u3001\u518d\u73fe\u6027\u3092\u4e0a\u3052\u308b\u305f\u3081\u306b\u300c\u6700\u5c0f\u69cb\u6210\u300d\u3092\u4f5c\u308a\u307e\u3059\u3002\u8981\u70b9\u306f\u201c\u30ed\u30c3\u30af\u306e\u95a2\u4fc2\u3060\u3051\u3092\u6b8b\u3059\u201d\u3053\u3068\u3067\u3059\u3002<\/p> <ul> <li>\u30ed\u30c3\u30af\u53d6\u5f97\u306e\u9806\u5e8f\uff08A\u2192B\u3001B\u2192A\u306a\u3069\uff09\u3092\u56fa\u5b9a\u3057\u3066\u66f8\u304d\u8d77\u3053\u3059<\/li> <li>\u30ed\u30c3\u30af\u306e\u7c92\u5ea6\uff081\u3064\u306e\u5927\u304d\u3044\u30ed\u30c3\u30af\u304b\u3001\u8907\u6570\u306e\u5c0f\u3055\u3044\u30ed\u30c3\u30af\u304b\uff09\u3092\u660e\u793a\u3059\u308b<\/li> <li>\u30b9\u30ec\u30c3\u30c9\u6570\u30fb\u30eb\u30fc\u30d7\u56de\u6570\u30fb\u5f85\u3061\u6642\u9593\uff08sleep\uff09\u3067\u30bf\u30a4\u30df\u30f3\u30b0\u306e\u63fa\u3089\u304e\u3092\u5897\u3084\u3059<\/li> <\/ul> <p>\u5b9f\u52d9\u7684\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u89b3\u70b9\u3067\u201c\u672c\u756a\u306e\u5302\u3044\u201d\u3092\u6b8b\u3057\u307e\u3059\u3002<\/p> <ul> <li>\u672c\u756a\u3067\u4f7f\u3063\u3066\u3044\u308b\u30ed\u30c3\u30af\u7a2e\u5225\uff08pthread mutex\u3001rwlock\u3001\u30d5\u30a1\u30a4\u30eb\u30ed\u30c3\u30af\u7b49\uff09\u3092\u63c3\u3048\u308b<\/li> <li>\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u30bb\u30af\u30b7\u30e7\u30f3\u5185\u306eI\/O\uff08\u30ed\u30b0\u51fa\u529b\u3001DB\u547c\u3073\u51fa\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u66f8\u304d\u8fbc\u307f\u7b49\uff09\u304c\u3042\u308b\u306a\u3089\u3001\u30c0\u30df\u30fc\u3067\u3082\u6b8b\u3059<\/li> <li>\u4f8b\u5916\u3084\u30a8\u30e9\u30fc\u51e6\u7406\u3067\u30ed\u30c3\u30af\u89e3\u653e\u304c\u6f0f\u308c\u308b\u30d1\u30b9\u304c\u3042\u308b\u306a\u3089\u3001\u305d\u306e\u5206\u5c90\u3092\u6b8b\u3059<\/li> <\/ul> <p>\u300c\u672c\u756a\u306e\u8907\u96d1\u3055\u3092\u5168\u90e8\u6301\u3063\u3066\u304f\u308b\u300d\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u30ed\u30c3\u30af\u95a2\u4fc2\u306e\u69cb\u9020\u3060\u3051\u300d\u3092\u6301\u3063\u3066\u304f\u308b\u306e\u304c\u30b3\u30c4\u3067\u3059\u3002\u3053\u308c\u3067\u3001\u30a2\u30d7\u30ea\u30c1\u30fc\u30e0\u306b\u3082\u201c\u8b70\u8ad6\u3067\u304d\u308b\u6750\u6599\u201d\u3092\u6e21\u305b\u307e\u3059\u3002<\/p> <hr> <h3>\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\uff08\u30d0\u30c3\u30af\u30c8\u30ec\u30fc\u30b9\uff09\u3067\u201c\u6b62\u307e\u3063\u305f\u5834\u6240\u201d\u3092\u56fa\u5b9a\u3059\u308b<\/h3> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u8a3c\u62e0\u3068\u3057\u3066\u5f37\u3044\u306e\u306f\u3001\u6b62\u307e\u3063\u3066\u3044\u308b\u30b9\u30ec\u30c3\u30c9\u306e\u30d0\u30c3\u30af\u30c8\u30ec\u30fc\u30b9\u3067\u3059\u3002\u7279\u306b\u300c\u3069\u306e\u30ed\u30c3\u30af\u3092\u5f85\u3063\u3066\u3044\u308b\u304b\u300d\u300c\u8ab0\u304c\u305d\u306e\u30ed\u30c3\u30af\u3092\u4fdd\u6301\u3057\u3066\u3044\u308b\u304b\u300d\u304c\u898b\u3048\u308b\u3068\u3001\u4e00\u6c17\u306b\u56e0\u679c\u304c\u7e4b\u304c\u308a\u307e\u3059\u3002\u4e00\u822c\u8ad6\u3068\u3057\u3066\u3001\u6b21\u306e\u63a1\u53d6\u3092\u691c\u8a0e\u3057\u307e\u3059\u3002<\/p> <ul> <li>gdb \u3067\u5bfe\u8c61\u30d7\u30ed\u30bb\u30b9\u306b attach \u3057\u3066\u3001\u5168\u30b9\u30ec\u30c3\u30c9\u306e backtrace \u3092\u63a1\u53d6<\/li> <li>pstack \u76f8\u5f53\u306e\u30c4\u30fc\u30eb\u3067\u7c21\u6613\u306b\u5168\u30b9\u30ec\u30c3\u30c9\u3092\u51fa\u3059\uff08\u74b0\u5883\u306b\u3088\u308a\u5229\u7528\u53ef\u5426\u306f\u8981\u78ba\u8a8d\uff09<\/li> <li>\u30a2\u30d7\u30ea\u304c\u72ec\u81ea\u306b\u201c\u72b6\u614b\u30c0\u30f3\u30d7\u201d\u3092\u5410\u3051\u308b\u306a\u3089\u3001EDEADLK\u691c\u51fa\u6642\u306b\u5fc5\u305a\u51fa\u3059<\/li> <\/ul> <p>\u3053\u3053\u3067\u6ce8\u610f\u3057\u305f\u3044\u306e\u306f\u3001<strong>\u672c\u756a\u3067gdb attach\u306f\u904b\u7528\u30ea\u30b9\u30af\u304c\u3042\u308b<\/strong>\u3068\u3044\u3046\u70b9\u3067\u3059\u3002\u505c\u6b62\u3084\u9045\u5ef6\u3092\u8a98\u767a\u3059\u308b\u53ef\u80fd\u6027\u304c\u30bc\u30ed\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3060\u304b\u3089\u3053\u305d\u3001\u4e8b\u524d\u306b\u300c\u7dca\u6025\u6642\u306e\u63a1\u53d6\u624b\u9806\u300d\u300c\u63a1\u53d6\u3057\u3066\u3088\u3044\u6642\u9593\u5e2f\u300d\u300c\u30ed\u30fc\u30eb\u30d0\u30c3\u30af\u300d\u3092\u6c7a\u3081\u3066\u304a\u304f\u3068\u3001\u73fe\u5834\u306e\u5fc3\u7406\u7684\u8ca0\u62c5\u304c\u6e1b\u308a\u307e\u3059\u3002\u3053\u308c\u3082\u201c\u5834\u3092\u6574\u3048\u308b\u201d\u4e00\u90e8\u3067\u3059\u3002<\/p> <hr> <h3>EDEADLK\u304c\u8fd4\u3063\u305f\u77ac\u9593\u306b\u6b8b\u3059\u3079\u304d\u30ed\u30b0\uff08\u6700\u4f4e\u9650\uff09<\/h3> <p>EDEADLK\u306f\u201c\u8cb4\u91cd\u306a\u77ac\u9593\u201d\u3067\u3059\u3002\u9003\u3059\u3068\u3001\u6b21\u306f\u5358\u306a\u308b\u30cf\u30f3\u30b0\u306b\u306a\u308a\u3001\u30ed\u30b0\u304c\u6b8b\u3089\u306a\u3044\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u6700\u4f4e\u9650\u3001\u6b21\u3092\u63c3\u3048\u308b\u3068\u8abf\u67fb\u304c\u524d\u306b\u9032\u307f\u3084\u3059\u3044\u3067\u3059\u3002<\/p> <table style=\"border-collapse:collapse; width:100%;\"> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">\u30ed\u30b0\u9805\u76ee<\/th> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">\u7406\u7531<\/th> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">\u4f8b<\/th> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">\u30b9\u30ec\u30c3\u30c9ID<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u540c\u4e00\u30b9\u30ec\u30c3\u30c9\u306e\u81ea\u5df1\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u304b\u3001\u5225\u30b9\u30ec\u30c3\u30c9\u5faa\u74b0\u304b\u306e\u5207\u308a\u5206\u3051\u306b\u5fc5\u9808<\/td> <td style=\"border:1px solid #999; padding:8px;\">TID\u3001pthread_self\u3001OS\u30b9\u30ec\u30c3\u30c9ID<\/td> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">\u30ed\u30c3\u30af\u8b58\u5225\u5b50<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u3069\u306e\u30ed\u30c3\u30af\u304c\u554f\u984c\u304b\u3092\u7279\u5b9a\u3059\u308b\u8ef8\u306b\u306a\u308b<\/td> <td style=\"border:1px solid #999; padding:8px;\">mutex\u540d\u3001\u30a2\u30c9\u30ec\u30b9\u3001\u30d5\u30a1\u30a4\u30eb\u540d+\u7bc4\u56f2<\/td> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">\u547c\u3073\u51fa\u3057\u5143<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u540c\u3058\u30ed\u30c3\u30af\u3067\u3082\u53d6\u5f97\u7b87\u6240\u304c\u8907\u6570\u3042\u308b\u3068\u539f\u56e0\u304c\u3076\u308c\u308b<\/td> <td style=\"border:1px solid #999; padding:8px;\">\u95a2\u6570\u540d\u3001\u30d5\u30a1\u30a4\u30eb:\u884c\u3001\u30b9\u30bf\u30c3\u30af\u77ed\u7e2e<\/td> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">\u51e6\u7406\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8<\/th> <td style=\"border:1px solid #999; padding:8px;\">API\u8981\u6c42ID\u3084\u30b8\u30e7\u30d6ID\u304c\u306a\u3044\u3068\u518d\u73fe\u6761\u4ef6\u304c\u8ffd\u3048\u306a\u3044<\/td> <td style=\"border:1px solid #999; padding:8px;\">request_id\u3001tenant\u3001job_id<\/td> <\/tr> <\/table> <p>\u3053\u308c\u3089\u3092\u63c3\u3048\u308b\u3068\u3001\u300c\u305f\u307e\u305f\u307e\u8d77\u304d\u305f\u300d\u304b\u3089\u300c\u3053\u306e\u9806\u5e8f\u3067\u30ed\u30c3\u30af\u3092\u53d6\u3063\u305f\u3068\u304d\u306b\u8d77\u304d\u305f\u300d\u3078\u9032\u3081\u307e\u3059\u3002\u518d\u73fe\u6027\u304c\u4f4e\u3044\u969c\u5bb3\u307b\u3069\u3001\u3053\u306e\u4e00\u6bb5\u4e0a\u306e\u8aac\u660e\u304c\u4fa1\u5024\u306b\u306a\u308a\u307e\u3059\u3002<\/p> <hr> <p>\u7b2c4\u7ae0\u306e\u7d50\u8ad6\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u3092\u201c\u8b70\u8ad6\u3067\u304d\u308b\u554f\u984c\u201d\u306b\u843d\u3068\u3057\u3001\u8a3c\u62e0\u3092\u63c3\u3048\u3001\u6b21\u7ae0\u306e\u89b3\u6e2c\uff08strace\/perf\/ftrace\uff09\u306b\u3064\u306a\u3052\u307e\u3059\u3002\u6b21\u306f\u3001\u5b9f\u969b\u306b\u300c\u3069\u306e\u30ed\u30c3\u30af\u3067\u6b62\u307e\u3063\u305f\u304b\u300d\u3092\u77ed\u6642\u9593\u3067\u63b4\u3080\u57fa\u672c\u30bb\u30c3\u30c8\u3092\u6271\u3044\u307e\u3059\u3002<\/p> \r\n\r\n\r\n\r\n<p>\u3000<\/p> <a id=\"sec05\"><\/a> <h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u89b3\u6e2c\u306e\u57fa\u672c\u30bb\u30c3\u30c8\uff1astrace\u30fbperf\u30fbftrace\u3067\u300c\u3069\u306e\u30ed\u30c3\u30af\u3067\u6b62\u307e\u3063\u305f\u304b\u300d\u3092\u63b4\u3080<\/h2> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u8abf\u67fb\u306f\u3001\u63a8\u7406\u5c0f\u8aac\u3067\u306f\u306a\u304f\u8a08\u6e2c\u306e\u554f\u984c\u3067\u3059\u3002\u3068\u306f\u3044\u3048\u3001\u73fe\u5834\u3067\u4f7f\u3048\u308b\u6642\u9593\u306f\u9650\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u300c\u5168\u90e8\u5165\u308c\u66ff\u3048\u308b\u300d\u300c\u5927\u6539\u4fee\u3059\u308b\u300d\u3067\u306f\u306a\u304f\u3001\u3044\u307e\u8d77\u304d\u3066\u3044\u308b\u505c\u6b62\u3092\u201c\u89b3\u6e2c\u3067\u304d\u308b\u5f62\u201d\u306b\u3057\u3066\u3001\u88ab\u5bb3\u6700\u5c0f\u5316\uff08\u30c0\u30e1\u30fc\u30b8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\uff09\u3068\u6052\u4e45\u5bfe\u7b56\u306e\u4e21\u65b9\u306b\u7e4b\u3052\u308b\u2014\u2014\u3053\u308c\u304c\u73fe\u5b9f\u7684\u306a\u30b4\u30fc\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/p> <p>\u5fc3\u306e\u4f1a\u8a71\u306f\u3053\u3046\u306a\u308a\u307e\u3059\u3002<\/p> <p>\u300c\u6a5f\u80fd\u8ffd\u52a0\u3088\u308a\u3001\u307e\u305a\u89b3\u6e2c\u3002\u89b3\u6e2c\u3067\u304d\u306a\u3044\u3082\u306e\u306f\u6539\u5584\u3067\u304d\u306a\u3044\u300d<\/p> <p>\u300c\u201c\u3069\u306e\u30ed\u30c3\u30af\u304c\u8a70\u307e\u3063\u305f\u304b\u201d\u3055\u3048\u5206\u304b\u308c\u3070\u3001\u4fee\u6b63\u306f\u6848\u5916\u307e\u3063\u3059\u3050\u884c\u3051\u308b\u300d<\/p> <hr> <h3>strace\uff1a\u4eca\u3069\u306esyscall\u3067\u6b62\u307e\u3063\u3066\u3044\u308b\u304b\u3092\u63b4\u3080<\/h3> <p>strace\u306f\u3001\u30d7\u30ed\u30bb\u30b9\u304c\u3069\u306e\u30b7\u30b9\u30c6\u30e0\u30b3\u30fc\u30eb\u3067\u5f85\u3063\u3066\u3044\u308b\u304b\u3092\u53ef\u8996\u5316\u3057\u307e\u3059\u3002\u30ed\u30c3\u30af\u305d\u306e\u3082\u306e\u306f\u30e6\u30fc\u30b6\u30fc\u7a7a\u9593\u3067\u5b8c\u7d50\u3059\u308b\u5834\u5408\u3082\u591a\u3044\u3067\u3059\u304c\u3001pthread\u306e\u5185\u90e8\u3067\u306ffutex\u3092\u901a\u3058\u3066\u30ab\u30fc\u30cd\u30eb\u306b\u5f85\u6a5f\u3092\u59d4\u306d\u308b\u3053\u3068\u304c\u3042\u308a\u3001\u305d\u3053\u304c\u624b\u639b\u304b\u308a\u306b\u306a\u308a\u307e\u3059\u3002\u5178\u578b\u7684\u306b\u306f\u3001futex\u5f85\u3061\u304c\u9577\u6642\u9593\u7d9a\u304f\u3001\u7279\u5b9a\u306e\u30b9\u30ec\u30c3\u30c9\u3060\u3051\u304c\u540c\u3058\u5f85\u3061\u306b\u7559\u307e\u308a\u7d9a\u3051\u308b\u3001\u3068\u3044\u3063\u305f\u5f62\u3067\u73fe\u308c\u307e\u3059\u3002<\/p> <p>\u3053\u3053\u3067\u5927\u4e8b\u306a\u306e\u306f\u3001strace\u3092\u898b\u3066\u300cfutex\u304c\u60aa\u3044\u300d\u3068\u77ed\u7d61\u3057\u306a\u3044\u3053\u3068\u3067\u3059\u3002futex\u306f\u201c\u5f85\u3061\u306e\u51fa\u53e3\u201d\u3067\u3042\u3063\u3066\u3001\u539f\u56e0\u306f\u30ed\u30c3\u30af\u9806\u5e8f\u3084\u89e3\u653e\u6f0f\u308c\u306b\u3042\u308a\u307e\u3059\u3002strace\u306f\u300c\u6b62\u307e\u3063\u3066\u3044\u308b\u5834\u6240\u300d\u3092\u793a\u3059\u30b3\u30f3\u30d1\u30b9\u3060\u3068\u6349\u3048\u308b\u306e\u304c\u9069\u5207\u3067\u3059\u3002<\/p> <hr> <h3>perf\uff1aCPU\u304c\u52d5\u3044\u3066\u3044\u306a\u3044\u306a\u3089\u3001\u4f55\u3092\u5f85\u3063\u3066\u3044\u308b\u306e\u304b\u3092\u898b\u308b<\/h3> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u3084\u30cf\u30f3\u30b0\u306f\u3001CPU\u3092\u4f7f\u308f\u306a\u3044\u3053\u3068\u304c\u591a\u3044\u4e00\u65b9\u3067\u3001\u30b9\u30d4\u30f3\u30ed\u30c3\u30af\u3084\u904e\u5270\u306a\u30ea\u30c8\u30e9\u30a4\u3067CPU\u3092\u71c3\u3084\u3059\u5f62\u306e\u201c\u7591\u4f3c\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u201d\u3082\u3042\u308a\u307e\u3059\u3002perf\u306f\u3001\u305d\u306e\u5207\u308a\u5206\u3051\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002CPU\u30b5\u30f3\u30d7\u30eb\u304c\u7279\u5b9a\u306e\u30ed\u30c3\u30af\u95a2\u6570\u3084\u5f85\u6a5f\u30eb\u30fc\u30d7\u306b\u504f\u3063\u3066\u3044\u308b\u306a\u3089\u3001\u5f85\u3061\u304c\u672c\u5f53\u306b\u30d6\u30ed\u30c3\u30af\u306a\u306e\u304b\uff08sleep\/futex\uff09\u305d\u308c\u3068\u3082\u30b9\u30d4\u30f3\u306a\u306e\u304b\uff08busy wait\uff09\u3092\u5224\u65ad\u3067\u304d\u307e\u3059\u3002<\/p> <p>\u904b\u7528\u306e\u5b9f\u611f\u3068\u3057\u3066\u306f\u3001\u300cCPU\u304c\u9759\u304b\u306a\u505c\u6b62\u300d\u304b\u300cCPU\u304c\u71c3\u3048\u308b\u505c\u6b62\u300d\u304b\u3067\u3001\u521d\u52d5\u304c\u5909\u308f\u308a\u307e\u3059\u3002\u524d\u8005\u306f\u8a3c\u62e0\u63a1\u53d6\u306e\u4f59\u5730\u304c\u3042\u308a\u3001\u5f8c\u8005\u306f\u30b5\u30fc\u30d3\u30b9\u5f71\u97ff\u304c\u5927\u304d\u304f\u3001\u5373\u6642\u306e\u30b9\u30c8\u30c3\u30d1\u30fc\uff08\u30d6\u30ec\u30fc\u30ad\uff09\u304c\u5fc5\u8981\u306b\u306a\u308a\u304c\u3061\u3067\u3059\u3002<\/p> <hr> <h3>ftrace\uff1a\u30ab\u30fc\u30cd\u30eb\u5074\u306e\u5f85\u3061\u3092\u201c\u7dda\u201d\u3068\u3057\u3066\u8ffd\u3046<\/h3> <p>ftrace\u306f\u3001\u30ab\u30fc\u30cd\u30eb\u5185\u90e8\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u8fbf\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3067\u3059\u3002\u7279\u306b\u3001I\/O\u5f85\u3061\u3084\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0\u3001\u30ed\u30c3\u30af\u95a2\u9023\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u8ffd\u3048\u308b\u3068\u3001\u300c\u30a2\u30d7\u30ea\u306e\u30ed\u30c3\u30af\u5f85\u3061\u300d\u306a\u306e\u304b\u300cI\/O\u304c\u8a70\u307e\u3063\u3066\u30ed\u30c3\u30af\u4fdd\u6301\u304c\u9577\u5f15\u3044\u3066\u3044\u308b\u300d\u306e\u304b\u304c\u898b\u3048\u307e\u3059\u3002\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u30ed\u30c3\u30af\u9806\u5e8f\u3060\u3051\u3067\u306a\u304f\u3001\u30ed\u30c3\u30af\u4fdd\u6301\u6642\u9593\u306e\u9577\u3055\uff08\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u30bb\u30af\u30b7\u30e7\u30f3\u5185\u3067I\/O\u3057\u3066\u3044\u308b\u7b49\uff09\u3067\u3082\u6210\u7acb\u3057\u3084\u3059\u304f\u306a\u308b\u305f\u3081\u3001\u3053\u3053\u306f\u91cd\u8981\u3067\u3059\u3002<\/p> <hr> <h3>\u89b3\u6e2c\u7d50\u679c\u304b\u3089\u306e\u5207\u308a\u5206\u3051\u65e9\u898b\u8868<\/h3> <table style=\"border-collapse:collapse; width:100%;\"> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">\u89b3\u6e2c<\/th> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">\u793a\u5506<\/th> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">\u6b21\u306e\u4e00\u624b<\/th> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">strace\u3067futex\u5f85\u3061\u304c\u7d99\u7d9a<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u30e6\u30fc\u30b6\u30fc\u7a7a\u9593\u30ed\u30c3\u30af\u5f85\u3061\u306e\u53ef\u80fd\u6027\u304c\u9ad8\u3044<\/td> <td style=\"border:1px solid #999; padding:8px;\">\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\u3067\u201c\u8ab0\u304c\u4fdd\u6301\u3057\u3066\u3044\u308b\u304b\u201d\u3078<\/td> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">perf\u3067\u30ed\u30c3\u30af\u95a2\u6570\u306b\u30b5\u30f3\u30d7\u30eb\u96c6\u4e2d<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u30b9\u30d4\u30f3\/\u30ea\u30c8\u30e9\u30a4\u3067\u9032\u6357\u304c\u6b62\u307e\u3063\u3066\u3044\u308b<\/td> <td style=\"border:1px solid #999; padding:8px;\">\u30d0\u30c3\u30af\u30aa\u30d5\u30fb\u5f85\u6a5f\u65b9\u5f0f\u30fb\u7af6\u5408\u70b9\u306e\u7e2e\u5c0f\u3092\u691c\u8a0e<\/td> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">ftrace\u3067I\/O\u5f85\u3061\u304c\u9577\u3044<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u30ed\u30c3\u30af\u4fdd\u6301\u4e2d\u306eI\/O\u304c\u201c\u8a70\u307e\u308a\u201d\u3092\u5897\u5e45<\/td> <td style=\"border:1px solid #999; padding:8px;\">\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u30bb\u30af\u30b7\u30e7\u30f3\u5916\u3078I\/O\u3092\u9003\u304c\u3059\u8a2d\u8a08<\/td> <\/tr> <\/table> <hr> <p>\u7b2c5\u7ae0\u3067\u4f1d\u3048\u305f\u3044\u306e\u306f\u3001\u300c\u4e07\u80fd\u30c4\u30fc\u30eb\u300d\u3067\u306f\u306a\u304f\u300c\u77ed\u6642\u9593\u3067\u672c\u8cea\u306b\u8fd1\u3065\u304f\u89b3\u6e2c\u306e\u7d44\u307f\u5408\u308f\u305b\u300d\u3067\u3059\u3002\u3053\u3053\u307e\u3067\u6765\u308b\u3068\u3001\u6b21\u7ae0\u306e\u30ab\u30fc\u30cd\u30eb\u5074\u624b\u639b\u304b\u308a\uff08\/proc\/locks\u3001lockdep\u3001\u30ed\u30b0\uff09\u306b\u9032\u3080\u6e96\u5099\u304c\u6574\u3044\u307e\u3059\u3002\u30ab\u30fc\u30cd\u30eb\u304c\u898b\u3066\u3044\u308b\u5f85\u3061\u95a2\u4fc2\u3092\u4f7f\u3046\u3068\u3001\u5faa\u74b0\u306e\u69cb\u9020\u304c\u3088\u308a\u5177\u4f53\u7684\u306b\u306a\u308a\u307e\u3059\u3002<\/p> \r\n\r\n\r\n\r\n<p>\u3000<\/p> <a id=\"sec06\"><\/a> <h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u30ab\u30fc\u30cd\u30eb\u5074\u306e\u624b\u639b\u304b\u308a\uff1a\/proc\/locks\u30fblockdep\u30fb\u30ed\u30b0\u304b\u3089\u5faa\u74b0\u5f85\u3061\u3092\u7279\u5b9a\u3059\u308b<\/h2> <p>\u30e6\u30fc\u30b6\u30fc\u7a7a\u9593\u306e\u30ed\u30c3\u30af\uff08pthread mutex \u306a\u3069\uff09\u306f\u3001\u30a2\u30d7\u30ea\u5074\u306e\u60c5\u5831\u304c\u306a\u3044\u3068\u898b\u3048\u306b\u304f\u3044\u4e00\u65b9\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u30ed\u30c3\u30af\u3084\u30ab\u30fc\u30cd\u30eb\u5185\u90e8\u30ed\u30c3\u30af\u306f\u3001OS\u5074\u306b\u201c\u75d5\u8de1\u201d\u304c\u6b8b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306e\u72d9\u3044\u306f\u3001\u300c\u6b62\u307e\u3063\u3066\u3044\u308b\u300d\u3068\u3044\u3046\u73fe\u8c61\u3092\u3001\u30ab\u30fc\u30cd\u30eb\u304c\u6301\u3064\u89b3\u6e2c\u70b9\u3067\u88cf\u53d6\u308a\u3057\u3066\u3001\u8b70\u8ad6\u306e\u30ce\u30a4\u30ba\u30ab\u30c3\u30c8\u3092\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p> <p>\u5fc3\u306e\u4f1a\u8a71\u3067\u8a00\u3046\u3068\u3001\u3053\u3093\u306a\u5207\u308a\u66ff\u3048\u306b\u306a\u308a\u307e\u3059\u3002<\/p> <p>\u300c\u30a2\u30d7\u30ea\u3060\u3051\u898b\u3066\u3082\u5206\u304b\u3089\u306a\u3044\u306a\u3089\u3001OS\u304c\u898b\u3066\u3044\u308b\u5f85\u3061\u95a2\u4fc2\u3092\u501f\u308a\u3088\u3046\u300d<\/p> <p>\u300c\u63a8\u6e2c\u3067\u8b70\u8ad6\u304c\u904e\u71b1\u3059\u308b\u524d\u306b\u3001\u201c\u898b\u3048\u3066\u3044\u308b\u4e8b\u5b9f\u201d\u3092\u5897\u3084\u3057\u3066\u843d\u3061\u7740\u304b\u305b\u305f\u3044\u300d<\/p> <hr> <h3>\/proc\/locks\uff1a\u30d5\u30a1\u30a4\u30eb\u30ed\u30c3\u30af\uff08fcntl\u7b49\uff09\u3092\u6271\u3046\u306a\u3089\u6700\u512a\u5148\u306e\u89b3\u6e2c\u70b9<\/h3> <p>\/proc\/locks \u306f\u3001\u30ab\u30fc\u30cd\u30eb\u304c\u7ba1\u7406\u3057\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\uff08\u30ec\u30b3\u30fc\u30c9\uff09\u30ed\u30c3\u30af\u306e\u60c5\u5831\u3092\u53c2\u7167\u3059\u308b\u305f\u3081\u306e\u5165\u53e3\u3067\u3059\u3002fcntl \u306e F_SETLK \/ F_SETLKW \u306a\u3069\u306e\u30a2\u30c9\u30d0\u30a4\u30b6\u30ea\u30ed\u30c3\u30af\u3092\u4f7f\u3046\u8a2d\u8a08\u3067\u306f\u3001\u3069\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u3069\u306e\u7bc4\u56f2\u306e\u30ed\u30c3\u30af\u3092\u6301\u3063\u3066\u3044\u308b\u304b\u3092\u8ffd\u3046\u624b\u639b\u304b\u308a\u306b\u306a\u308a\u307e\u3059\u3002<\/p> <p>\u305f\u3060\u3057\u3001\u3053\u3053\u3067\u306e\u6ce8\u610f\u70b9\u306f2\u3064\u3042\u308a\u307e\u3059\u3002<\/p> <ul> <li><strong>\u201c\u5f85\u3063\u3066\u3044\u308b\u5074\u201d\u306e\u60c5\u5831\u304c\u5e38\u306b\u5341\u5206\u306b\u51fa\u308b\u3068\u306f\u9650\u3089\u306a\u3044<\/strong>\uff1a\u72b6\u6cc1\u3084\u30ed\u30c3\u30af\u306e\u7a2e\u985e\u30fb\u30ab\u30fc\u30cd\u30eb\u5b9f\u88c5\u306b\u3088\u3063\u3066\u3001\u898b\u3048\u65b9\u304c\u5909\u308f\u308a\u307e\u3059\u3002<\/li> <li><strong>\u305d\u3082\u305d\u3082\u30d5\u30a1\u30a4\u30eb\u30ed\u30c3\u30af\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044\u306a\u3089\u3001\/proc\/locks\u306f\u4e3b\u5f79\u3067\u306f\u306a\u3044<\/strong>\uff1apthread mutex\u4e2d\u5fc3\u306e\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u3001\u5225\u306e\u8a3c\u62e0\uff08\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\u7b49\uff09\u304c\u91cd\u8981\u3067\u3059\u3002<\/li> <\/ul> <p>\u9006\u306b\u8a00\u3048\u3070\u3001EDEADLK\u304c fcntl(F_SETLKW) \u5468\u8fba\u3067\u8fd4\u3063\u3066\u3044\u308b\u306a\u3089\u3001\/proc\/locks \u306f\u300c\u8ab0\u304c\u3069\u306e\u8cc7\u6e90\u3092\u63e1\u3063\u3066\u3044\u308b\u304b\u300d\u3092\u6574\u7406\u3059\u308b\u305f\u3081\u306e\u73fe\u5b9f\u7684\u306a\u53f0\u5e33\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u8cc7\u6e90\uff08\u30d5\u30a1\u30a4\u30eb\u30fb\u7bc4\u56f2\u30fb\u9806\u5e8f\uff09\u3092\u8a00\u8a9e\u5316\u3067\u304d\u308b\u3060\u3051\u3067\u3001\u518d\u767a\u9632\u6b62\u306e\u8a2d\u8a08\u8b70\u8ad6\u304c\u4e00\u6c17\u306b\u524d\u3078\u9032\u307f\u307e\u3059\u3002<\/p> <hr> <h3>lockdep\uff1a\u5faa\u74b0\u5f85\u3061\u306e\u691c\u51fa\u3092\u201c\u4ed5\u7d44\u307f\u3068\u3057\u3066\u201d\u6301\u3066\u308b\u304c\u3001\u672c\u756a\u3067\u5e38\u306b\u4f7f\u3048\u308b\u308f\u3051\u3067\u306f\u306a\u3044<\/h3> <p>lockdep \u306f\u3001\u30ab\u30fc\u30cd\u30eb\u306e\u30ed\u30c3\u30af\u4f9d\u5b58\u95a2\u4fc2\uff08\u3069\u306e\u30ed\u30c3\u30af\u3092\u3069\u306e\u9806\u5e8f\u3067\u53d6\u3063\u305f\u304b\uff09\u3092\u8ffd\u8de1\u3057\u3001\u5371\u967a\u306a\u9806\u5e8f\u3084\u5faa\u74b0\u306e\u53ef\u80fd\u6027\u3092\u691c\u51fa\u3059\u308b\u305f\u3081\u306e\u30c7\u30d0\u30c3\u30b0\u6a5f\u69cb\u3067\u3059\u3002\u3053\u308c\u306f\u975e\u5e38\u306b\u5f37\u529b\u3067\u3059\u304c\u3001\u4e00\u822c\u306b <strong>\u30ab\u30fc\u30cd\u30eb\u306e\u8a2d\u5b9a\uff08CONFIG\u7cfb\uff09\u306b\u4f9d\u5b58\u3057<\/strong>\u3001\u5e38\u6642\u6709\u52b9\u5316\u3055\u308c\u308b\u524d\u63d0\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3064\u307e\u308a\u300c\u4eca\u3059\u3050\u672c\u756a\u3067lockdep\u3092ON\u306b\u3057\u3066\u8abf\u3079\u3088\u3046\u300d\u3068\u8a00\u3048\u308b\u30b1\u30fc\u30b9\u306f\u591a\u304f\u3042\u308a\u307e\u305b\u3093\u3002<\/p> <p>\u305d\u308c\u3067\u3082lockdep\u306e\u8003\u3048\u65b9\u306f\u91cd\u8981\u3067\u3059\u3002\u306a\u305c\u306a\u3089\u3001EDEADLK\u306e\u4e16\u754c\u89b3\u306f\u300c\u5f85\u3063\u3066\u8a70\u3080\u300d\u3088\u308a\u524d\u306b\u3001\u300c\u5371\u967a\u306a\u9806\u5e8f\u300d\u3092\u691c\u51fa\u3057\u3066\u6b62\u3081\u308b\u3001\u3068\u3044\u3046\u767a\u60f3\u306b\u8fd1\u3044\u304b\u3089\u3067\u3059\u3002\u73fe\u5834\u306b\u3068\u3063\u3066\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u201c\u5408\u610f\u5f62\u6210\u201d\u306e\u6750\u6599\u306b\u306a\u308a\u307e\u3059\u3002<\/p> <ul> <li>\u672c\u756a\u3067\u5e38\u6642\u306f\u96e3\u3057\u304f\u3066\u3082\u3001<strong>\u691c\u8a3c\u74b0\u5883\u3067\u540c\u7b49\u306e\u8ca0\u8377\u3092\u304b\u3051\u3066\u89b3\u6e2c\u3059\u308b<\/strong>\u4fa1\u5024\u304c\u3042\u308b<\/li> <li>\u300c\u30ed\u30c3\u30af\u9806\u5e8f\u3092\u8a2d\u8a08\u306b\u843d\u3068\u3059\u300d\u3053\u3068\u304c\u3001\u969c\u5bb3\u306e\u93ae\u706b\uff08\u6c88\u9759\u5316\uff09\u306b\u3064\u306a\u304c\u308b<\/li> <\/ul> <hr> <h3>\u30ed\u30b0\uff08dmesg \/ journal \/ \u30a2\u30d7\u30ea\u30ed\u30b0\uff09\uff1aEDEADLK\u5468\u8fba\u306e\u201c\u6642\u9593\u201d\u3092\u63c3\u3048\u308b<\/h3> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u8abf\u67fb\u3067\u5730\u5473\u306b\u52b9\u304f\u306e\u304c\u3001\u6642\u9593\u8ef8\u3092\u63c3\u3048\u308b\u3053\u3068\u3067\u3059\u3002EDEADLK\u304c\u8fd4\u3063\u305f\u6642\u523b\u306e\u524d\u5f8c\u3067\u3001OS\u5074\u3067I\/O\u9045\u5ef6\u3084\u4e00\u6642\u7684\u306a\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u3066\u3044\u306a\u3044\u304b\u3001OOM\u3084\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u306e\u7570\u5e38\u304c\u306a\u3044\u304b\u3001\u3068\u3044\u3063\u305f\u300c\u30ed\u30c3\u30af\u4fdd\u6301\u6642\u9593\u3092\u4f38\u3070\u3059\u8981\u56e0\u300d\u304c\u306a\u3044\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p> <p>\u30ed\u30c3\u30af\u306f\u3001\u9806\u5e8f\u3060\u3051\u3067\u306a\u304f<strong>\u4fdd\u6301\u6642\u9593<\/strong>\u3067\u3082\u6210\u7acb\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u30bb\u30af\u30b7\u30e7\u30f3\u4e2d\u306bI\/O\u304c\u5165\u3063\u3066\u3044\u305f\u308a\u3001\u5916\u90e8API\u304c\u9045\u5ef6\u3057\u305f\u308a\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u304c\u8a70\u307e\u3063\u305f\u308a\u3059\u308b\u3068\u3001\u300c\u666e\u6bb5\u306f\u6210\u7acb\u3057\u306a\u3044\u5faa\u74b0\u300d\u304c\u6210\u7acb\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u3060\u304b\u3089\u3001\u30a2\u30d7\u30ea\u30ed\u30b0\u3068OS\u30ed\u30b0\u306e\u6642\u523b\u3092\u63c3\u3048\u308b\u3060\u3051\u3067\u3001\u539f\u56e0\u306e\u8f2a\u90ed\u304c\u306f\u3063\u304d\u308a\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p> <hr> <h3>\u201c\u30ab\u30fc\u30cd\u30eb\u89b3\u6e2c\u201d\u3092\u4f7f\u3046\u3068\u304d\u306e\u73fe\u5834\u5411\u3051\u30c1\u30a7\u30c3\u30af\u30ea\u30b9\u30c8<\/h3> <ul> <li>\u5165\u53e3\u306f\u3069\u308c\u304b\uff1apthread\u7cfb\u304b\u3001fcntl\u7cfb\u304b\uff08EDEADLK\u306e\u767a\u751f\u7b87\u6240\u3067\u5f53\u305f\u308a\u3092\u4ed8\u3051\u308b\uff09<\/li> <li>\u201c\u8ab0\u304c\u63e1\u3063\u3066\u3044\u308b\u304b\u201d\u304c\u898b\u3048\u308b\u304b\uff1a\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\uff0f\/proc\u60c5\u5831\uff0f\u30ed\u30b0\u306e\u3044\u305a\u308c\u304b\u3067\u7167\u5408\u3059\u308b<\/li> <li>\u30ed\u30c3\u30af\u4fdd\u6301\u6642\u9593\u3092\u4f38\u3070\u3059\u8981\u56e0\u304c\u306a\u3044\u304b\uff1aI\/O\u9045\u5ef6\u30fb\u5916\u90e8\u4f9d\u5b58\u30fbGC\u30fbOOM\u306a\u3069\u3092\u6642\u523b\u3067\u5408\u308f\u305b\u308b<\/li> <\/ul> <p>\u7b2c6\u7ae0\u306e\u7d50\u8ad6\u306f\u3001\u300cOS\u5074\u306e\u89b3\u6e2c\u70b9\u3067\u3001\u5faa\u74b0\u3084\u4fdd\u6301\u306e\u4e8b\u5b9f\u3092\u7a4d\u307f\u4e0a\u3052\u308b\u300d\u3053\u3068\u3067\u3059\u3002\u3053\u3053\u307e\u3067\u63c3\u3046\u3068\u3001\u6b21\u306e\u7ae0\u3067\u201c\u8a2d\u8a08\u3067\u52dd\u3064\u201d\u2014\u2014\u30ed\u30c3\u30af\u9806\u5e8f\u3068\u69cb\u9020\u305d\u306e\u3082\u306e\u3092\u6574\u3048\u3066\u3001\u540c\u7a2e\u969c\u5bb3\u3092\u93ae\u706b\uff08\u53ce\u675f\uff09\u3055\u305b\u308b\u8b70\u8ad6\u304c\u3067\u304d\u307e\u3059\u3002<\/p> \r\n\r\n\r\n\r\n<p>\u3000<\/p> <a id=\"sec07\"><\/a> <h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u8a2d\u8a08\u3067\u52dd\u3064\uff1a\u30ed\u30c3\u30af\u9806\u5e8f\u30fb\u968e\u5c64\u5316\u30fb\u7c92\u5ea6\u8abf\u6574\u3067\u201c\u5faa\u74b0\u201d\u3092\u4f5c\u3089\u306a\u3044<\/h2> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u3001\u73fe\u5834\u304b\u3089\u898b\u308b\u3068\u300c\u904b\u304c\u60aa\u3044\u300d\u3068\u611f\u3058\u3084\u3059\u3044\u306e\u3067\u3059\u304c\u3001\u8a2d\u8a08\u306e\u76ee\u7dda\u3067\u306f\u304b\u306a\u308a\u518d\u73fe\u6027\u306e\u3042\u308b\u201c\u69cb\u9020\u554f\u984c\u201d\u3067\u3059\u3002\u5faa\u74b0\u5f85\u3061\u306f\u3001\u30ed\u30c3\u30af\u3092\u8907\u6570\u6301\u3066\u308b\u8a2d\u8a08\u3067\u3001\u53d6\u5f97\u9806\u5e8f\u304c\u63fa\u308c\u308b\u3068\u304d\u306b\u6210\u7acb\u3057\u307e\u3059\u3002\u3060\u304b\u3089\u3001\u6700\u3082\u5f37\u3044\u5bfe\u7b56\u306f\u300c\u5faa\u74b0\u304c\u6210\u7acb\u3057\u306a\u3044\u69cb\u9020\u300d\u306b\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p> <p>\u5fc3\u306e\u4f1a\u8a71\u306f\u3053\u3046\u306a\u308a\u307e\u3059\u3002<\/p> <p>\u300c\u307e\u305f\u591c\u306b\u56fa\u307e\u308b\u306e\u3001\u3082\u3046\u5acc\u3060\u3002\u904b\u3058\u3083\u306a\u304f\u3066\u69cb\u9020\u3067\u6f70\u3057\u305f\u3044\u300d<\/p> <p>\u300c\u201c\u8ab0\u304c\u3069\u306e\u9806\u3067\u30ed\u30c3\u30af\u3092\u53d6\u308b\u304b\u201d\u3092\u3001\u30b3\u30fc\u30c9\u306b\u4efb\u305b\u305a\u30eb\u30fc\u30eb\u306b\u3057\u305f\u3044\u300d<\/p> <hr> <h3>\u57fa\u672c\u539f\u5247\uff1a\u30ed\u30c3\u30af\u306b\u201c\u5168\u9806\u5e8f\u201d\u3092\u4e0e\u3048\u308b\uff08\u30ed\u30c3\u30af\u9806\u5e8f\u306e\u56fa\u5b9a\uff09<\/h3> <p>\u8907\u6570\u30ed\u30c3\u30af\u3092\u6271\u3046\u306a\u3089\u3001\u53d6\u5f97\u9806\u5e8f\u3092\u56fa\u5b9a\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070 A \u3068 B \u3092\u540c\u6642\u306b\u53d6\u308a\u5f97\u308b\u306a\u3089\u3001\u5fc5\u305a A\u2192B \u306e\u9806\u3067\u53d6\u308b\u3001\u3068\u3044\u3046\u30eb\u30fc\u30eb\u3067\u3059\u3002\u3053\u308c\u3060\u3051\u3067\u300cA\u3092\u6301\u3063\u3066B\u5f85\u3061\u300d\u3068\u300cB\u3092\u6301\u3063\u3066A\u5f85\u3061\u300d\u304c\u540c\u6642\u306b\u6210\u7acb\u3057\u306a\u304f\u306a\u308a\u3001\u5faa\u74b0\u304c\u65ad\u3061\u5207\u308c\u307e\u3059\u3002<\/p> <p>\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u306f\u3001<strong>\u30eb\u30fc\u30eb\u3092\u6587\u66f8\u3060\u3051\u306b\u7f6e\u304b\u306a\u3044<\/strong>\u3053\u3068\u3067\u3059\u3002\u5b9f\u88c5\u306b\u843d\u3068\u3057\u8fbc\u307f\u307e\u3059\u3002<\/p> <ul> <li>\u30ed\u30c3\u30af\u53d6\u5f97\u3092\u30e9\u30c3\u30d7\u3057\u3066\u3001\u9806\u5e8f\u9055\u53cd\u3092\u691c\u51fa\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\uff08\u691c\u8a3c\u74b0\u5883\u3067\u7279\u306b\u6709\u52b9\uff09<\/li> <li>\u201c\u3053\u306e\u95a2\u6570\u306f\u3053\u306e\u30ed\u30c3\u30af\u3092\u6301\u3063\u3066\u547c\u3070\u308c\u308b\u201d\u3068\u3044\u3046\u5951\u7d04\u3092\u660e\u793a\u3059\u308b<\/li> <li>\u30ec\u30d3\u30e5\u30fc\u3067\u300c\u9806\u5e8f\u304c\u5b88\u3089\u308c\u3066\u3044\u308b\u304b\u300d\u3092\u5fc5\u305a\u898b\u308b\u30c1\u30a7\u30c3\u30af\u9805\u76ee\u306b\u3059\u308b<\/li> <\/ul> <p>\u3053\u308c\u304c\u3067\u304d\u308b\u3068\u3001EDEADLK\u3092\u898b\u305f\u3068\u304d\u306b\u300c\u30eb\u30fc\u30eb\u9055\u53cd\u304c\u3069\u3053\u304b\u306b\u3042\u308b\u300d\u3068\u8ffd\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u8abf\u67fb\u304c\u901f\u304f\u306a\u308a\u307e\u3059\u3002<\/p> <hr> <h3>\u968e\u5c64\u5316\uff1a\u30ed\u30c3\u30af\u3092\u201c\u30ec\u30a4\u30e4\u30fc\u201d\u3067\u5206\u3051\u3066\u8d8a\u5883\u3092\u7981\u6b62\u3059\u308b<\/h3> <p>\u30ed\u30c3\u30af\u9806\u5e8f\u306e\u56fa\u5b9a\u306f\u5f37\u529b\u3067\u3059\u304c\u3001\u30b7\u30b9\u30c6\u30e0\u304c\u5927\u304d\u304f\u306a\u308b\u3068\u30ed\u30c3\u30af\u306e\u6570\u3082\u5897\u3048\u3001\u5168\u9806\u5e8f\u306e\u7dad\u6301\u304c\u96e3\u3057\u304f\u306a\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u3001\u30ed\u30c3\u30af\u3092\u968e\u5c64\uff08\u30ec\u30a4\u30e4\u30fc\uff09\u306b\u5206\u3051\u3001\u8d8a\u5883\u3092\u7981\u6b62\u3057\u307e\u3059\u3002<\/p> <ul> <li>\u4e0a\u4f4d\u30ed\u30c3\u30af\uff08\u4f8b\uff1a\u30b0\u30ed\u30fc\u30d0\u30eb\u8a2d\u5b9a\uff09\u2192\u4e0b\u4f4d\u30ed\u30c3\u30af\uff08\u4f8b\uff1a\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u5358\u4f4d\uff09<\/li> <li>\u540c\u4e00\u968e\u5c64\u306e\u30ed\u30c3\u30af\u306f\u540c\u6642\u4fdd\u6301\u3057\u306a\u3044\uff08\u5fc5\u8981\u306a\u3089\u7c92\u5ea6\u3092\u5909\u3048\u308b\uff09<\/li> <\/ul> <p>\u300c\u3069\u3053\u307e\u3067\u304c\u4e0a\u4f4d\u3067\u3001\u3069\u3053\u304b\u3089\u304c\u4e0b\u4f4d\u304b\u300d\u3092\u6574\u7406\u3059\u308b\u3068\u3001\u5faa\u74b0\u304c\u6210\u7acb\u3059\u308b\u7d4c\u8def\u304c\u6e1b\u308a\u3001\u8a2d\u8a08\u304c\u8aad\u307f\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u7d50\u679c\u3068\u3057\u3066\u3001\u969c\u5bb3\u5bfe\u5fdc\u306e\u201c\u8aac\u660e\u30b3\u30b9\u30c8\u201d\u3082\u4e0b\u304c\u308a\u307e\u3059\u3002<\/p> <hr> <h3>\u7c92\u5ea6\u8abf\u6574\uff1a\u5927\u304d\u3059\u304e\u308b\u30ed\u30c3\u30af\u306f\u201c\u4fdd\u6301\u6642\u9593\u201d\u3067\u4e8b\u6545\u308b<\/h3> <p>\u5927\u304d\u3044\u30ed\u30c3\u30af\u306f\u5b9f\u88c5\u304c\u7c21\u5358\u3067\u3001\u6700\u521d\u306f\u5b89\u5168\u306b\u898b\u3048\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u30ed\u30c3\u30af\u4fdd\u6301\u4e2d\u306bI\/O\u3084\u5916\u90e8\u547c\u3073\u51fa\u3057\u304c\u5165\u308a\u3084\u3059\u304f\u3001\u4fdd\u6301\u6642\u9593\u304c\u4f38\u3073\u308b\u3068\u3001\u5225\u306e\u30ed\u30c3\u30af\u5f85\u3061\u3068\u7d61\u3093\u3067\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u304c\u6210\u7acb\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306e\u5bfe\u7b56\u306f\u3001\u5358\u7d14\u306b\u300c\u7d30\u304b\u304f\u3059\u308b\u300d\u3067\u306f\u306a\u304f\u3001<strong>\u5883\u754c\u3092\u6574\u7406\u3057\u3066\u3001\u4fdd\u6301\u4e2d\u306b\u3084\u3063\u3066\u306f\u3044\u3051\u306a\u3044\u3053\u3068\u3092\u6c7a\u3081\u308b<\/strong>\u3053\u3068\u3067\u3059\u3002<\/p> <p>\u305f\u3068\u3048\u3070\u6b21\u306e\u3088\u3046\u306a\u30eb\u30fc\u30eb\u306f\u3001\u73fe\u5834\u3067\u52b9\u304d\u307e\u3059\u3002<\/p> <ul> <li>\u30ed\u30c3\u30af\u4fdd\u6301\u4e2d\u306b\u5916\u90e8API\u3092\u547c\u3070\u306a\u3044<\/li> <li>\u30ed\u30c3\u30af\u4fdd\u6301\u4e2d\u306b\u30d5\u30a1\u30a4\u30ebI\/O\u3092\u3057\u306a\u3044\uff08\u30ed\u30b0\u51fa\u529b\u3082\u542b\u3080\uff09<\/li> <li>DB\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3068\u30a2\u30d7\u30ea\u30ed\u30c3\u30af\u3092\u91cd\u306d\u306a\u3044\uff08\u91cd\u306d\u308b\u306a\u3089\u9806\u5e8f\u3068\u5883\u754c\u3092\u53b3\u683c\u306b\uff09<\/li> <\/ul> <p>\u3053\u308c\u3089\u306f\u300c\u6027\u80fd\u300d\u3067\u306f\u306a\u304f\u300c\u9032\u6357\u4fdd\u8a3c\u300d\u306e\u30eb\u30fc\u30eb\u3067\u3059\u3002\u3053\u3053\u3092\u5b88\u308b\u3068\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u3060\u3051\u3067\u306a\u304f\u3001\u9577\u6642\u9593\u505c\u6b62\u3084\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u9023\u9396\u3082\u6291\u3048\u8fbc\u307f\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p> <hr> <h3>\u8a2d\u8a08\u30d1\u30bf\u30fc\u30f3\u306e\u6bd4\u8f03\uff1a\u3069\u308c\u3092\u9078\u3076\u3079\u304d\u304b\u306e\u6574\u7406<\/h3> <table style=\"border-collapse:collapse; width:100%;\"> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">\u30a2\u30d7\u30ed\u30fc\u30c1<\/th> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">\u72d9\u3044<\/th> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px;\">\u5411\u304f\u72b6\u6cc1<\/th> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">\u30ed\u30c3\u30af\u9806\u5e8f\u306e\u56fa\u5b9a<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u5faa\u74b0\u5f85\u3061\u3092\u69cb\u9020\u7684\u306b\u4e0d\u53ef\u80fd\u306b\u3059\u308b<\/td> <td style=\"border:1px solid #999; padding:8px;\">\u8907\u6570\u30ed\u30c3\u30af\u3092\u6301\u3064\u7b87\u6240\u304c\u660e\u78ba\u3001\u30ec\u30d3\u30e5\u30fc\u6587\u5316\u304c\u3042\u308b<\/td> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">\u968e\u5c64\u5316\uff08\u30ec\u30a4\u30e4\u30fc\uff09<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u5168\u9806\u5e8f\u304c\u96e3\u3057\u3044\u898f\u6a21\u3067\u79e9\u5e8f\u3092\u4fdd\u3064<\/td> <td style=\"border:1px solid #999; padding:8px;\">\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u591a\u3044\u3001\u8cac\u52d9\u5206\u96e2\u304c\u9032\u3093\u3067\u3044\u308b<\/td> <\/tr> <tr> <th style=\"border:1px solid #999; background-color:#eeeeee; padding:8px; text-align:left;\">\u7c92\u5ea6\u8abf\u6574\uff0b\u5883\u754c\u30eb\u30fc\u30eb<\/th> <td style=\"border:1px solid #999; padding:8px;\">\u4fdd\u6301\u6642\u9593\u3092\u6e1b\u3089\u3057\u3066\u6210\u7acb\u78ba\u7387\u3092\u4e0b\u3052\u308b<\/td> <td style=\"border:1px solid #999; padding:8px;\">I\/O\u9045\u5ef6\u304c\u7d61\u3080\u3001\u5916\u90e8\u4f9d\u5b58\u304c\u591a\u3044<\/td> <\/tr> <\/table> <hr> <p>\u7b2c7\u7ae0\u306e\u5e30\u7d50\u306f\u3001\u300c\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u201c\u904b\u201d\u3067\u306f\u306a\u304f\u201c\u79e9\u5e8f\u201d\u3067\u6291\u3048\u8fbc\u3081\u308b\u300d\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u305f\u3060\u3057\u3001\u8a2d\u8a08\u3060\u3051\u3067100%\u3092\u4fdd\u8a3c\u3059\u308b\u306e\u306f\u96e3\u3057\u3044\u73fe\u5b9f\u3082\u3042\u308a\u307e\u3059\u3002\u3060\u304b\u3089\u6b21\u7ae0\u3067\u306f\u3001\u5b9f\u88c5\u5074\u3067\u306e\u9003\u304c\u3057\u65b9\u2014\u2014trylock\u3001timedlock\u3001\u30d0\u30c3\u30af\u30aa\u30d5\u306a\u3069\u3067\u201c\u5fc5\u305a\u524d\u306b\u9032\u3080\u201d\u4ed5\u7d44\u307f\u3092\u5165\u308c\u308b\u65b9\u6cd5\u3092\u6271\u3044\u307e\u3059\u3002<\/p> \r\n\r\n\r\n\r\n<p>\u3000<\/p> <a id=\"sec08\"><\/a> <h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u5b9f\u88c5\u3067\u9003\u304c\u3059\uff1atrylock\uff0ftimedlock\uff0f\u30d0\u30c3\u30af\u30aa\u30d5\u3067\u9032\u6357\u4fdd\u8a3c\u3092\u5165\u308c\u308b<\/h2> <p>\u8a2d\u8a08\u3067\u5faa\u74b0\u3092\u4f5c\u3089\u306a\u3044\u306e\u304c\u7406\u60f3\u3067\u3082\u3001\u73fe\u5b9f\u306b\u306f\u300c\u30ec\u30ac\u30b7\u30fc\u3067\u76f4\u3057\u304d\u308c\u306a\u3044\u300d\u300c\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u90fd\u5408\u3067\u9806\u5e8f\u304c\u56fa\u5b9a\u3067\u304d\u306a\u3044\u300d\u300c\u904b\u7528\u8981\u4ef6\u3067\u30ed\u30c3\u30af\u7bc4\u56f2\u304c\u5e83\u3044\u300d\u306a\u3069\u306e\u5236\u7d04\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3046\u3044\u3046\u6642\u306b\u52b9\u304f\u306e\u304c\u3001\u5b9f\u88c5\u3067\u201c\u9003\u3052\u9053\u201d\u3092\u4f5c\u308a\u3001\u9032\u6357\u4fdd\u8a3c\u3092\u5165\u308c\u308b\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u3059\u3002EDEADLK\u3092\u300c\u691c\u51fa\u3067\u304d\u305f\u77ac\u9593\u300d\u306b\u3001\u56fa\u307e\u308a\u5207\u308b\u524d\u306b\u624b\u3092\u6253\u3066\u308b\u72b6\u614b\u3078\u6301\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p> <p>\u5fc3\u306e\u4f1a\u8a71\u306f\u3053\u3046\u3067\u3059\u3002<\/p> <p>\u300c\u5b8c\u74a7\u306b\u76f4\u3059\u306e\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u3002\u307e\u305a\u306f\u201c\u56fa\u307e\u3089\u306a\u3044\u201d\u65b9\u5411\u306b\u8edf\u7740\u9678\u3055\u305b\u305f\u3044\u300d<\/p> <p>\u300c\u591a\u5c11\u9045\u304f\u3066\u3082\u3044\u3044\u3002\u6b62\u307e\u3089\u306a\u3044\u3053\u3068\u304c\u6b63\u7fa9\u306e\u5c40\u9762\u3063\u3066\u3042\u308b\u300d<\/p> <hr> <h3>trylock\uff1a\u5f85\u305f\u306a\u3044\u3053\u3068\u3067\u5faa\u74b0\u3092\u6210\u7acb\u3055\u305b\u306a\u3044<\/h3> <p>trylock \u306f\u300c\u53d6\u308c\u306a\u3051\u308c\u3070\u5f85\u305f\u305a\u306b\u623b\u308b\u300d\u305f\u3081\u3001\u5faa\u74b0\u5f85\u3061\u306e\u8f2a\u306e\u4e2d\u306b\u5165\u308b\u524d\u306b\u629c\u3051\u3089\u308c\u307e\u3059\u3002\u91cd\u8981\u306a\u306e\u306f\u3001<strong>\u53d6\u308c\u306a\u304b\u3063\u305f\u3068\u304d\u306e\u632f\u308b\u821e\u3044\u3092\u201c\u4ed5\u69d8\u201d\u3068\u3057\u3066\u8a2d\u8a08\u3059\u308b<\/strong>\u3053\u3068\u3067\u3059\u3002<\/p> <ul> <li>\u3059\u3050\u306b\u5931\u6557\u3068\u3057\u3066\u8fd4\u3059\uff08\u4e0a\u4f4d\u3067\u518d\u8a66\u884c\u3059\u308b\uff0f\u5225\u7d4c\u8def\u3078\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3059\u308b\uff09<\/li> <li>\u512a\u5148\u5ea6\u306e\u4f4e\u3044\u51e6\u7406\u3092\u30b9\u30ad\u30c3\u30d7\u3059\u308b\uff08\u5f8c\u3067\u518d\u5b9f\u884c\u3067\u304d\u308b\u306a\u3089\u6709\u52b9\uff09<\/li> <li>\u30ed\u30c3\u30af\u304c\u4e0d\u8981\u306a\u8aad\u307f\u53d6\u308a\u306b\u5207\u308a\u66ff\u3048\u308b\uff08\u30ad\u30e3\u30c3\u30b7\u30e5\u3084\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u304c\u3042\u308b\u5834\u5408\uff09<\/li> <\/ul> <p>\u300c\u53d6\u308c\u306a\u304b\u3063\u305f\u3089\u30ea\u30c8\u30e9\u30a4\u3059\u308c\u3070\u3044\u3044\u300d\u3068\u96d1\u306b\u3059\u308b\u3068\u3001\u30ea\u30c8\u30e9\u30a4\u5d50\u3067\u5225\u306e\u8a70\u307e\u308a\u3092\u8d77\u3053\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3060\u304b\u3089\u6b21\u306e timedlock \/ \u30d0\u30c3\u30af\u30aa\u30d5\u3068\u30bb\u30c3\u30c8\u3067\u8003\u3048\u307e\u3059\u3002<\/p> <hr> <h3>timedlock\uff1a\u7121\u9650\u5f85\u3061\u3092\u7981\u6b62\u3057\u3001\u89b3\u6e2c\u3068\u5fa9\u65e7\u306e\u4f59\u5730\u3092\u4f5c\u308b<\/h3> <p>timedlock\uff08\u4e00\u5b9a\u6642\u9593\u5f85\u3063\u3066\u53d6\u308c\u306a\u3051\u308c\u3070\u8ae6\u3081\u308b\uff09\u306f\u3001\u300c\u6c38\u4e45\u5f85\u3061\u300d\u3092\u9632\u304e\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001<\/p> <ul> <li>\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u6642\u306b\u5fc5\u305a\u30ed\u30b0\uff08\u30b9\u30ec\u30c3\u30c9ID\u3001\u30ed\u30c3\u30af\u8b58\u5225\u5b50\u3001\u51e6\u7406ID\uff09\u3092\u6b8b\u305b\u308b<\/li> <li>\u4e0a\u4f4d\u3067\u201c\u5b89\u5168\u306a\u30ea\u30bb\u30c3\u30c8\u201d\u3084\u201c\u4ee3\u66ff\u51e6\u7406\u201d\u306b\u5207\u308a\u66ff\u3048\u3089\u308c\u308b<\/li> <li>\u76e3\u8996\u30fb\u30a2\u30e9\u30fc\u30c8\u306b\u7e4b\u3052\u3066\u3001\u73fe\u5834\u304c\u72b6\u6cc1\u8aac\u660e\u3057\u3084\u3059\u304f\u306a\u308b<\/li> <\/ul> <p>\u3068\u3044\u3046\u52b9\u679c\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u5358\u306a\u308b\u30a8\u30e9\u30fc\u51e6\u7406\u3067\u306f\u306a\u304f\u3001\u904b\u7528\u306e\u30c0\u30e1\u30fc\u30b8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u4ed5\u7d44\u307f\u3067\u3059\u3002EDEADLK\u304c\u8fd4\u308b\u8a2d\u8a08\u3068\u540c\u69d8\u306b\u3001\u300c\u56fa\u307e\u308b\u524d\u306b\u623b\u308b\u300d\u3053\u3068\u304c\u4fa1\u5024\u306b\u306a\u308a\u307e\u3059\u3002<\/p> <hr> <h3>\u30d0\u30c3\u30af\u30aa\u30d5\uff1a\u518d\u8a66\u884c\u306f\u201c\u9593\u9694\u201d\u304c\u672c\u4f53\uff08\u540c\u6642\u591a\u767a\u3092\u907f\u3051\u308b\uff09<\/h3> <p>trylock\u3084timedlock\u306e\u5f8c\u306b\u518d\u8a66\u884c\u3059\u308b\u5834\u5408\u3001\u540c\u6642\u591a\u767a\u3067\u518d\u7a81\u5165\u3059\u308b\u3068\u3001\u7af6\u5408\u304c\u5897\u3048\u3066\u9006\u52b9\u679c\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u30d0\u30c3\u30af\u30aa\u30d5\uff08\u5f85\u3061\u6642\u9593\u3092\u8a2d\u3051\u308b\uff09\u3092\u5165\u308c\u307e\u3059\u3002\u3053\u3053\u306f\u201c\u6027\u80fd\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u201d\u3068\u3044\u3046\u3088\u308a\u3001<strong>\u904e\u71b1\u3057\u305f\u7af6\u5408\u3092\u6c88\u9759\u5316\u3055\u305b\u308b<\/strong>\u305f\u3081\u306e\u8a2d\u8a08\u3067\u3059\u3002<\/p> <p>\u5b9f\u52d9\u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u65b9\u91dd\u304c\u73fe\u5834\u3067\u6271\u3044\u3084\u3059\u3044\u3067\u3059\u3002<\/p> <ul> <li>\u77ed\u6642\u9593\u306e\u518d\u8a66\u884c\u306f\u5c11\u56de\u6570\u306b\u5236\u9650\u3059\u308b\uff08\u4f8b\uff1a\u6570\u56de\uff09<\/li> <li>\u305d\u308c\u3067\u3082\u53d6\u308c\u306a\u3044\u306a\u3089\u3001\u51e6\u7406\u3092\u30ad\u30e5\u30fc\u306b\u623b\u3059\uff0f\u9045\u5ef6\u5b9f\u884c\u306b\u56de\u3059<\/li> <li>\u5168\u4f53\u540c\u6642\u306b\u518d\u8a66\u884c\u3057\u306a\u3044\u3088\u3046\u3001\u30b8\u30c3\u30bf\uff08\u63fa\u3089\u304e\uff09\u3092\u5165\u308c\u308b<\/li> <\/ul> <p>\u3053\u3053\u307e\u3067\u3084\u308b\u3068\u3001\u300c\u30ed\u30c3\u30af\u304c\u53d6\u308c\u306a\u3044\uff1d\u81f4\u547d\u7684\u505c\u6b62\u300d\u3067\u306f\u306a\u304f\u3001\u300c\u53d6\u308c\u306a\u3044\u306a\u3089\u4e00\u65e6\u623b\u3063\u3066\u3001\u5225\u306e\u5f62\u3067\u9032\u3081\u308b\u300d\u3068\u3044\u3046\u5b9f\u88c5\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u304c\u201c\u9032\u6357\u4fdd\u8a3c\u201d\u3067\u3059\u3002<\/p> <hr> <h3>EDEADLK\u3092\u53d7\u3051\u305f\u3068\u304d\u306e\u201c\u73fe\u5834\u3067\u56f0\u3089\u306a\u3044\u201d\u6271\u3044\u65b9<\/h3> <p>EDEADLK\u3092\u63e1\u308a\u3064\u3076\u3059\u306e\u3067\u306f\u306a\u304f\u3001\u904b\u7528\u3067\u6271\u3048\u308b\u30a4\u30d9\u30f3\u30c8\u306b\u5909\u63db\u3057\u307e\u3059\u3002\u304a\u3059\u3059\u3081\u306f\u6b21\u306e3\u70b9\u30bb\u30c3\u30c8\u3067\u3059\u3002<\/p> <ol> <li><strong>\u5fc5\u305a\u8a18\u9332<\/strong>\uff1a\u767a\u751f\u7b87\u6240\u3001\u30b9\u30ec\u30c3\u30c9ID\u3001\u30ed\u30c3\u30af\u8b58\u5225\u5b50\u3001\u51e6\u7406ID\u3001\u76f4\u524d\u306e\u4e3b\u8981\u30a4\u30d9\u30f3\u30c8<\/li> <li><strong>\u5fc5\u305a\u623b\u308b<\/strong>\uff1a\u7121\u9650\u5f85\u3061\u306b\u5165\u3089\u305a\u3001\u5931\u6557\u3068\u3057\u3066\u4e0a\u4f4d\u306b\u8fd4\u3059\uff08\u518d\u8a66\u884c\u306f\u5236\u5fa1\u3059\u308b\uff09<\/li> <li><strong>\u5fc5\u305a\u89b3\u6e2c\u3078\u7e4b\u3050<\/strong>\uff1a\u540c\u7a2e\u304c\u4e00\u5b9a\u56de\u6570\u3092\u8d85\u3048\u305f\u3089\u30a2\u30e9\u30fc\u30c8\u3001\u307e\u305f\u306f\u81ea\u52d5\u3067\u72b6\u614b\u30c0\u30f3\u30d7<\/li> <\/ol> <p>\u3053\u308c\u306b\u3088\u308a\u3001\u969c\u5bb3\u306f\u300c\u7a81\u7136\u56fa\u307e\u3063\u3066\u708e\u4e0a\u300d\u3067\u306f\u306a\u304f\u3001\u300c\u5146\u5019\u3092\u691c\u77e5\u3057\u3066\u6e29\u5ea6\u3092\u4e0b\u3052\u308b\uff08\u30af\u30fc\u30eb\u30c0\u30a6\u30f3\uff09\u904b\u7528\u300d\u306b\u8fd1\u3065\u304d\u307e\u3059\u3002<\/p> <hr> <p>\u7b2c8\u7ae0\u306e\u7d50\u8ad6\u306f\u3001\u5b8c\u5168\u306a\u4fee\u6b63\u304c\u96e3\u3057\u3044\u72b6\u6cc1\u3067\u3082\u201c\u56fa\u307e\u3089\u306a\u3044\u5b9f\u88c5\u201d\u306b\u8edf\u7740\u9678\u3055\u305b\u3089\u308c\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u6b21\u306f\u7b2c9\u7ae0\u3067\u3001\u3053\u3046\u3057\u305f\u5bfe\u7b56\u304c\u672c\u5f53\u306b\u52b9\u304f\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306e\u30c6\u30b9\u30c8\uff08\u8ca0\u8377\u30fb\u4e26\u884c\u5ea6\u30fb\u30d5\u30a9\u30fc\u30eb\u30c8\u6ce8\u5165\uff09\u3092\u6271\u3044\u3001\u300c\u518d\u767a\u3057\u306a\u3044\u300d\u3092\u8a3c\u660e\u3059\u308b\u65b9\u5411\u3078\u9032\u3081\u307e\u3059\u3002<\/p> \r\n\r\n\r\n\r\n<p>\u3000<\/p> <a id=\"sec09\"><\/a> <h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u30c6\u30b9\u30c8\u3067\u6f70\u3059\uff1a\u8ca0\u8377\u30fb\u4e26\u884c\u5ea6\u30fb\u30d5\u30a9\u30fc\u30eb\u30c8\u6ce8\u5165\u3067\u300c\u518d\u767a\u3057\u306a\u3044\u300d\u3092\u8a3c\u660e\u3059\u308b<\/h2> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u5bfe\u7b56\u306e\u96e3\u3057\u3055\u306f\u3001\u300c\u76f4\u3057\u305f\u3089\u8d77\u304d\u306a\u304f\u306a\u3063\u305f\u6c17\u304c\u3059\u308b\u300d\u304c\u901a\u308a\u3084\u3059\u3044\u70b9\u3067\u3059\u3002\u8d77\u304d\u306b\u304f\u3044\u4e0d\u5177\u5408\u307b\u3069\u3001\u5076\u7136\u306e\u4e0d\u767a\u3092\u201c\u6539\u5584\u201d\u3068\u8aa4\u8a8d\u3057\u304c\u3061\u3067\u3059\u3002\u3060\u304b\u3089\u3053\u305d\u7b2c9\u7ae0\u306f\u3001\u518d\u767a\u9632\u6b62\u3092\u201c\u6c17\u5206\u201d\u3067\u306f\u306a\u304f\u201c\u8a3c\u62e0\u201d\u3067\u8a9e\u308c\u308b\u72b6\u614b\u306b\u6301\u3063\u3066\u3044\u304f\u8a71\u3067\u3059\u3002\u73fe\u5834\u306e\u75b2\u5f0a\u3092\u6e1b\u3089\u3059\u305f\u3081\u306b\u306f\u3001\u3053\u3053\u304c\u6700\u5f8c\u306e\u8e0f\u3093\u5f35\u308a\u3069\u3053\u308d\u306b\u306a\u308a\u307e\u3059\u3002<\/p> <p>\u5fc3\u306e\u4f1a\u8a71\u306f\u3053\u3046\u3067\u3059\u3002<\/p> <p>\u300c\u307e\u305f\u3044\u3064\u304b\u8d77\u304d\u308b\u3001\u3092\u653e\u7f6e\u3057\u305f\u304f\u306a\u3044\u3002\u6b21\u306f\u201c\u8a3c\u660e\u3067\u304d\u308b\u5b89\u5fc3\u201d\u304c\u6b32\u3057\u3044\u300d<\/p> <p>\u300c\u76e3\u8996\u3084\u904b\u7528\u3067\u30d6\u30ec\u30fc\u30ad\u3092\u304b\u3051\u308b\u306e\u306f\u5927\u4e8b\u3002\u3067\u3082\u3001\u6839\u3063\u3053\u306f\u30c6\u30b9\u30c8\u3067\u6291\u3048\u8fbc\u307f\u305f\u3044\u300d<\/p> <hr> <h3>1) \u4e26\u884c\u5ea6\u3092\u4e0a\u3052\u308b\uff1a\u30b9\u30ec\u30c3\u30c9\u6570\u3068\u7af6\u5408\u70b9\u3092\u610f\u56f3\u7684\u306b\u904e\u5bc6\u306b\u3059\u308b<\/h3> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u3001\u4e26\u884c\u5b9f\u884c\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u304c\u565b\u307f\u5408\u3063\u305f\u3068\u304d\u306b\u6210\u7acb\u3057\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u30c6\u30b9\u30c8\u3067\u306f\u300c\u666e\u6bb5\u3088\u308a\u4e26\u884c\u5ea6\u3092\u9ad8\u304f\u3059\u308b\u300d\u300c\u540c\u3058\u8cc7\u6e90\u3092\u596a\u3044\u5408\u3046\u72b6\u6cc1\u3092\u4f5c\u308b\u300d\u3053\u3068\u304c\u57fa\u672c\u3067\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u3001<\/p> <ul> <li>\u30ef\u30fc\u30ab\u30fc\u30b9\u30ec\u30c3\u30c9\u6570\u3092\u5897\u3084\u3057\u3001\u540c\u3058\u30ed\u30c3\u30af\u306b\u8907\u6570\u30b9\u30ec\u30c3\u30c9\u304c\u96c6\u4e2d\u3059\u308b\u72b6\u6cc1\u3092\u4f5c\u308b<\/li> <li>\u30ed\u30c3\u30af\u53d6\u5f97\u9806\u5e8f\u304c\u5206\u5c90\u3059\u308b\u30b3\u30fc\u30c9\u30d1\u30b9\uff08\u4f8b\u5916\u51e6\u7406\u3001\u65e9\u671freturn\u3001\u30ea\u30c8\u30e9\u30a4\uff09\u3092\u901a\u3059\u5272\u5408\u3092\u5897\u3084\u3059<\/li> <li>\u8907\u6570\u30ed\u30c3\u30af\u306e\u201c\u540c\u6642\u4fdd\u6301\u201d\u304c\u8d77\u304d\u308b\u95a2\u6570\uff08A\u2192B\u3001B\u2192A\u306b\u306a\u308a\u5f97\u308b\u7b87\u6240\uff09\u3092\u91cd\u70b9\u7684\u306b\u56de\u3059<\/li> <\/ul> <p>\u91cd\u8981\u306a\u306e\u306f\u3001\u6027\u80fd\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u306e\u3088\u3046\u306b\u300c\u5e73\u5747\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u300d\u3060\u3051\u3092\u898b\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u4e00\u5b9a\u6642\u9593\u5185\u306b\u9032\u6357\u30bc\u30ed\u306b\u306a\u3089\u306a\u3044\u300d\u3053\u3068\u3092\u5408\u5426\u306b\u542b\u3081\u308b\u3053\u3068\u3067\u3059\u3002\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u6027\u80fd\u3067\u306f\u306a\u304f\u9032\u6357\u306e\u554f\u984c\u306a\u306e\u3067\u3001\u8a55\u4fa1\u6307\u6a19\u3082\u5408\u308f\u305b\u307e\u3059\u3002<\/p> <hr> <h3>2) \u201c\u6b62\u307e\u308a\u201d\u3092\u691c\u77e5\u3059\u308b\uff1a\u30a6\u30a9\u30c3\u30c1\u30c9\u30c3\u30b0\uff08\u9032\u6357\u76e3\u8996\uff09\u3092\u30c6\u30b9\u30c8\u306b\u7d44\u307f\u8fbc\u3080<\/h3> <p>\u518d\u767a\u9632\u6b62\u3092\u8a9e\u308b\u3046\u3048\u3067\u5f37\u3044\u306e\u306f\u3001\u30c6\u30b9\u30c8\u304c\u300c\u6b62\u307e\u3063\u305f\u300d\u3053\u3068\u3092\u78ba\u5b9f\u306b\u691c\u77e5\u3057\u3001\u8a3c\u8de1\uff08\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\u3084\u30ed\u30b0\uff09\u3092\u6b8b\u305b\u308b\u3053\u3068\u3067\u3059\u3002\u304a\u3059\u3059\u3081\u306f\u3001\u30c6\u30b9\u30c8\u30cf\u30fc\u30cd\u30b9\u5074\u306b\u30a6\u30a9\u30c3\u30c1\u30c9\u30c3\u30b0\u3092\u5165\u308c\u308b\u3053\u3068\u3067\u3059\u3002<\/p> <ul> <li>\u4e00\u5b9a\u6642\u9593\u3001\u6210\u529f\u5fdc\u7b54\u3084\u51e6\u7406\u5b8c\u4e86\u4ef6\u6570\u304c\u5897\u3048\u306a\u3044\u5834\u5408\u306b\u7570\u5e38\u3068\u5224\u5b9a\u3059\u308b<\/li> <li>\u7570\u5e38\u5224\u5b9a\u6642\u306b\u3001\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\uff0f\u4e3b\u8981\u30e1\u30c8\u30ea\u30af\u30b9\uff0f\u76f4\u8fd1\u30ed\u30b0\u3092\u81ea\u52d5\u53d6\u5f97\u3059\u308b<\/li> <li>\u53d6\u5f97\u5f8c\u306f\u30c6\u30b9\u30c8\u3092\u4e2d\u65ad\u3057\u3001\u539f\u56e0\u8abf\u67fb\u306b\u5fc5\u8981\u306a\u6750\u6599\u3092\u56fa\u5b9a\u3059\u308b<\/li> <\/ul> <p>\u3053\u308c\u304c\u3042\u308b\u3068\u3001\u300c\u6b62\u307e\u3063\u305f\u304b\u3082\u3057\u308c\u306a\u3044\u300d\u3067\u306f\u306a\u304f\u300c\u3053\u306e\u6642\u70b9\u3067\u9032\u6357\u304c\u6b62\u307e\u308a\u3001\u30b9\u30ec\u30c3\u30c9\u306f\u3053\u306e\u5f85\u3061\u306b\u3044\u305f\u300d\u3068\u8a00\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u73fe\u5834\u306e\u8b70\u8ad6\u304c\u904e\u71b1\u3057\u306b\u304f\u304f\u306a\u308a\u3001\u30ce\u30a4\u30ba\u30ab\u30c3\u30c8\u306b\u3082\u306a\u308a\u307e\u3059\u3002<\/p> <hr> <h3>3) \u30d5\u30a9\u30fc\u30eb\u30c8\u6ce8\u5165\uff1a\u9045\u5ef6\u30fb\u5931\u6557\u30fb\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3092\u201c\u610f\u56f3\u7684\u306b\u201d\u6df7\u305c\u308b<\/h3> <p>\u672c\u756a\u306e\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u3001\u5916\u90e8\u8981\u56e0\u304c\u30ed\u30c3\u30af\u4fdd\u6301\u6642\u9593\u3092\u4f38\u3070\u3057\u3066\u6210\u7acb\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u30c6\u30b9\u30c8\u3067\u306f\u3001\u5916\u90e8I\/O\u3084\u4f9d\u5b58\u5148\u306b\u5bfe\u3057\u3066\u300c\u9045\u5ef6\u300d\u300c\u4e00\u6642\u5931\u6557\u300d\u300c\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u300d\u3092\u610f\u56f3\u7684\u306b\u6df7\u305c\u307e\u3059\u3002\u76ee\u7684\u306f\u3001<\/p> <ul> <li>\u30ed\u30c3\u30af\u4fdd\u6301\u4e2d\u306bI\/O\u304c\u5165\u3063\u305f\u3068\u304d\u306b\u8a70\u307e\u3089\u306a\u3044\u304b<\/li> <li>\u30ea\u30c8\u30e9\u30a4\u304c\u540c\u6642\u591a\u767a\u3057\u3066\u7af6\u5408\u304c\u5897\u5e45\u3057\u306a\u3044\u304b<\/li> <li>\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u6642\u306b\u30ed\u30c3\u30af\u89e3\u653e\u6f0f\u308c\u304c\u8d77\u304d\u306a\u3044\u304b<\/li> <\/ul> <p>\u3092\u78ba\u304b\u3081\u308b\u3053\u3068\u3067\u3059\u3002\u7b2c8\u7ae0\u3067\u8ff0\u3079\u305f timedlock \u3084\u30d0\u30c3\u30af\u30aa\u30d5\u3092\u5165\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u3053\u3053\u3067\u300c\u672c\u5f53\u306b\u201c\u8edf\u7740\u9678\u201d\u3059\u308b\u304b\u300d\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u518d\u8a66\u884c\u304c\u5d50\u306b\u306a\u308b\u306a\u3089\u3001\u30d0\u30c3\u30af\u30aa\u30d5\u306e\u8a2d\u8a08\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p> <hr> <h3>4) \u9759\u7684\u30fb\u52d5\u7684\u691c\u8a3c\uff1a\u4eba\u9593\u306e\u76ee\u3060\u3051\u306b\u4f9d\u5b58\u3057\u306a\u3044<\/h3> <p>\u30ed\u30c3\u30af\u9806\u5e8f\u306e\u56fa\u5b9a\u3084\u968e\u5c64\u5316\u306f\u3001\u30ec\u30d3\u30e5\u30fc\u3067\u691c\u51fa\u3067\u304d\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u898f\u6a21\u304c\u5927\u304d\u3044\u307b\u3069\u6f0f\u308c\u307e\u3059\u3002\u3053\u3053\u3067\u52b9\u304f\u306e\u304c\u3001\u30c4\u30fc\u30eb\u306b\u3088\u308b\u691c\u8a3c\u3067\u3059\u3002\u74b0\u5883\u3084\u8a00\u8a9e\u306b\u3082\u3088\u308a\u307e\u3059\u304c\u3001\u4e00\u822c\u8ad6\u3068\u3057\u3066\u306f\u6b21\u304c\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p> <ul> <li>\u30ed\u30c3\u30af\u53d6\u5f97\u3092\u30e9\u30c3\u30d7\u3057\u3066\u3001\u9806\u5e8f\u9055\u53cd\u3092\u691c\u51fa\u3059\u308b\uff08\u691c\u8a3c\u74b0\u5883\u306e\u307f\u306b\u4ed5\u8fbc\u3080\u904b\u7528\u3082\u73fe\u5b9f\u7684\uff09<\/li> <li>\u30b9\u30ec\u30c3\u30c9\u89e3\u6790\u7cfb\u306e\u30c4\u30fc\u30eb\u3084\u30b5\u30cb\u30bf\u30a4\u30b6\uff08\u8a00\u8a9e\u30fb\u30b3\u30f3\u30d1\u30a4\u30e9\u5bfe\u5fdc\u304c\u3042\u308b\u5834\u5408\uff09\u3067\u30c7\u30fc\u30bf\u7af6\u5408\u3084\u30ed\u30c3\u30af\u554f\u984c\u3092\u7099\u308a\u51fa\u3059<\/li> <li>\u7d71\u5408\u30c6\u30b9\u30c8\u3067\u300c\u9032\u6357\u505c\u6b62\u300d\u3092\u81ea\u52d5\u5224\u5b9a\u3057\u3001\u8a3c\u8de1\u3092\u63a1\u308b<\/li> <\/ul> <p>\u3053\u3053\u3067\u306e\u59ff\u52e2\u306f\u300c\u4e07\u80fd\u306a\u9280\u306e\u5f3e\u4e38\u3092\u63a2\u3059\u300d\u3067\u306f\u306a\u304f\u3001\u300c\u4eba\u9593\u304c\u898b\u843d\u3068\u3059\u7b87\u6240\u3092\u3001\u4ed5\u7d44\u307f\u3067\u62fe\u3046\u300d\u3053\u3068\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5bfe\u7b56\u306e\u201c\u6301\u7d9a\u6027\u201d\u304c\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p> <hr> <h3>5) \u5408\u5426\u57fa\u6e96\u3092\u201c\u904b\u7528\u306e\u8a00\u8449\u201d\u306b\u843d\u3068\u3059<\/h3> <p>\u6700\u5f8c\u306b\u3001\u5408\u5426\u57fa\u6e96\u3092\u904b\u7528\u306e\u8a00\u8449\u306b\u7ffb\u8a33\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001<\/p> <ul> <li>\u4e00\u5b9a\u6642\u9593\u5185\u306b\u9032\u6357\u304c\u6b62\u307e\u3089\u306a\u3044\uff08\u30b8\u30e7\u30d6\u5b8c\u4e86\u304c\u5897\u3048\u7d9a\u3051\u308b\uff09<\/li> <li>\u30ed\u30c3\u30af\u5f85\u3061\u304c\u95be\u5024\u3092\u8d85\u3048\u305f\u3089\u5fc5\u305a\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u3001\u4e0a\u4f4d\u3078\u623b\u308b<\/li> <li>\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u6642\u306b\u5fc5\u305a\u30ed\u30b0\u3068\u72b6\u614b\u30c0\u30f3\u30d7\u304c\u6b8b\u308b<\/li> <\/ul> <p>\u3068\u3044\u3063\u305f\u6761\u4ef6\u3067\u3059\u3002\u3053\u308c\u304c\u3042\u308b\u3068\u3001\u73fe\u5834\u306f\u300c\u6b21\u306b\u540c\u7a2e\u304c\u8d77\u304d\u3066\u3082\u3001\u6c88\u9759\u5316\uff08\u88ab\u5bb3\u6700\u5c0f\u5316\uff09\u3055\u305b\u308b\u624b\u9806\u304c\u3042\u308b\u300d\u3068\u611f\u3058\u3089\u308c\u307e\u3059\u3002\u518d\u767a\u9632\u6b62\u306f\u201c\u6280\u8853\u201d\u3060\u3051\u3067\u306a\u304f\u201c\u5b89\u5fc3\u201d\u306e\u8a2d\u8a08\u3067\u3082\u3042\u308a\u307e\u3059\u3002<\/p> <p>\u6b21\u7ae0\u3067\u306f\u3001\u3053\u3053\u307e\u3067\u306e\u691c\u51fa\u30fb\u89b3\u6e2c\u30fb\u8a2d\u8a08\u30fb\u5b9f\u88c5\u30fb\u30c6\u30b9\u30c8\u3092\u4e00\u672c\u306b\u675f\u306d\u3001\u300cEDEADLK\u3092\u201c\u4ed5\u69d8\u201d\u306b\u3059\u308b\u300d\u5e30\u7d50\u3078\u9032\u307f\u307e\u3059\u3002<\/p> \r\n\r\n\r\n\r\n<p>\u3000<\/p> <a id=\"sec10\"><\/a> <h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u5e30\u7d50\uff1aEDEADLK\u3092\u201c\u4ed5\u69d8\u201d\u306b\u3059\u308b\u2014\u300c\u6b62\u307e\u3089\u306a\u3044\u300d\u3088\u308a\u300c\u5fc5\u305a\u9032\u3080\u300d\u8a2d\u8a08\u3078<\/h2> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u5bfe\u7b56\u3067\u6700\u7d42\u7684\u306b\u5927\u4e8b\u306a\u306e\u306f\u3001\u300c\u7d76\u5bfe\u306b\u8d77\u304d\u306a\u3044\u300d\u3068\u8a00\u3044\u5207\u308b\u3053\u3068\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u73fe\u5834\u30b7\u30b9\u30c6\u30e0\u306f\u30ec\u30ac\u30b7\u30fc\u3082\u6df7\u3056\u308a\u3001\u5916\u90e8\u4f9d\u5b58\u3082\u3042\u308a\u3001\u60f3\u5b9a\u5916\u5165\u529b\u3082\u6765\u307e\u3059\u3002\u3060\u304b\u3089\u73fe\u5b9f\u7684\u306a\u5e30\u7d50\u306f\u3001<strong>\u300c\u8d77\u304d\u5f97\u308b\u300d\u3092\u524d\u63d0\u306b\u3001\u691c\u51fa\u3057\u3066\u3001\u88ab\u5bb3\u6700\u5c0f\u5316\u3057\u3066\u3001\u5fc5\u305a\u9032\u6357\u3092\u53d6\u308a\u623b\u3059<\/strong>\u3053\u3068\u3067\u3059\u3002EDEADLK\u306f\u3001\u305d\u306e\u4e16\u754c\u89b3\u306b\u30d5\u30a3\u30c3\u30c8\u3059\u308b\u201c\u30b7\u30b0\u30ca\u30eb\u201d\u3067\u3059\u3002<\/p> <p>\u5fc3\u306e\u4f1a\u8a71\u306f\u3001\u3053\u3053\u3067\u3053\u3046\u5909\u308f\u308a\u307e\u3059\u3002<\/p> <p>\u300c\u30bc\u30ed\u306b\u3059\u308b\u3088\u308a\u3001\u8d77\u304d\u305f\u77ac\u9593\u306b\u6291\u3048\u8fbc\u307f\u3001\u9032\u6357\u3092\u5b88\u308b\u65b9\u304c\u73fe\u5b9f\u7684\u3060\u300d<\/p> <p>\u300c\u201c\u307e\u305f\u56fa\u307e\u308b\u304b\u3082\u201d\u306e\u4e0d\u5b89\u3092\u3001\u904b\u7528\u3068\u8a2d\u8a08\u3067\u6e29\u5ea6\u3092\u4e0b\u3052\u3066\u3044\u304d\u305f\u3044\u300d<\/p> <hr> <h3>1) EDEADLK\u3092\u63e1\u308a\u3064\u3076\u3055\u305a\u3001\u8a2d\u8a08\u5224\u65ad\u306b\u4f7f\u3046<\/h3> <p>EDEADLK\u3092\u5358\u306b\u30ed\u30b0\u306b\u51fa\u3057\u3066\u7d42\u308f\u308a\u306b\u3059\u308b\u3068\u3001\u300c\u305f\u307e\u306b\u51fa\u308b\u8b0e\u306e\u30a8\u30e9\u30fc\u300d\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3046\u3067\u306f\u306a\u304f\u3001\u8a2d\u8a08\u5224\u65ad\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p> <ul> <li>EDEADLK\u304c\u8fd4\u3063\u305f\u3089\u3001\u305d\u306e\u51e6\u7406\u306f\u201c\u5931\u6557\u3068\u3057\u3066\u5207\u308a\u4e0a\u3052\u308b\u201d\u306e\u304b<\/li> <li>\u5b89\u5168\u306a\u518d\u8a66\u884c\uff08\u30d0\u30c3\u30af\u30aa\u30d5\u4ed8\u304d\uff09\u3078\u5207\u308a\u66ff\u3048\u308b\u306e\u304b<\/li> <li>\u4ee3\u66ff\u7d4c\u8def\uff08\u30ad\u30e3\u30c3\u30b7\u30e5\u3001\u9045\u5ef6\u5b9f\u884c\u3001\u30ad\u30e5\u30fc\u623b\u3057\uff09\u306b\u9003\u304c\u3059\u306e\u304b<\/li> <\/ul> <p>\u3053\u306e\u5224\u65ad\u3092\u201c\u4ed5\u69d8\u201d\u306b\u3057\u3066\u304a\u304f\u3068\u3001\u73fe\u5834\u306f\u8ff7\u3044\u307e\u305b\u3093\u3002\u8ff7\u3044\u304c\u6e1b\u308b\u3068\u3001\u969c\u5bb3\u5bfe\u5fdc\u306f\u4e00\u6c17\u306b\u6c88\u9759\u5316\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p> <hr> <h3>2) \u89b3\u6e2c\u3068\u904b\u7528\u3092\u7e4b\u3050\uff1a\u5146\u5019\u3067\u30a2\u30e9\u30fc\u30c8\u3057\u3001\u8a3c\u8de1\u3092\u81ea\u52d5\u3067\u6b8b\u3059<\/h3> <p>\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u300c\u8d77\u304d\u305f\u5f8c\u306b\u6c17\u3065\u304f\u300d\u3088\u308a\u3001\u300c\u8d77\u304d\u308b\u524d\u306e\u5146\u5019\uff08\u30ed\u30c3\u30af\u5f85\u3061\u5897\u52a0\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u5897\u52a0\u3001EDEADLK\u767a\u751f\uff09\u300d\u3067\u6c17\u3065\u3051\u308b\u65b9\u304c\u88ab\u5bb3\u6700\u5c0f\u5316\u306b\u7e4b\u304c\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u3001<\/p> <ul> <li>\u30ed\u30c3\u30af\u5f85\u3061\u6642\u9593\u3084\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u56de\u6570\u3092\u30e1\u30c8\u30ea\u30af\u30b9\u5316\u3059\u308b<\/li> <li>EDEADLK\u306e\u767a\u751f\u7387\u30fb\u767a\u751f\u7b87\u6240\u3092\u96c6\u8a08\u3059\u308b<\/li> <li>\u95be\u5024\u3092\u8d85\u3048\u305f\u3089\u3001\u81ea\u52d5\u3067\u72b6\u614b\u30c0\u30f3\u30d7\u3084\u8ffd\u52a0\u30ed\u30b0\u3092\u63a1\u53d6\u3059\u308b<\/li> <\/ul> <p>\u3068\u3044\u3046\u201c\u89b3\u6e2c\u2192\u904b\u7528\u201d\u306e\u7dda\u3092\u5f15\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u300c\u56fa\u307e\u3063\u3066\u304b\u3089\u306e\u708e\u4e0a\u300d\u3067\u306f\u306a\u304f\u3001\u300c\u904e\u71b1\u3059\u308b\u524d\u306b\u7a7a\u6c17\u3092\u843d\u3061\u7740\u304b\u305b\u308b\u300d\u904b\u7528\u306b\u5bc4\u305b\u3089\u308c\u307e\u3059\u3002<\/p> <hr> <h3>3) \u4e00\u822c\u8ad6\u306e\u9650\u754c\uff1a\u6700\u9069\u89e3\u306f\u30b7\u30b9\u30c6\u30e0\u69cb\u6210\u30fb\u8ca0\u8377\u30fb\u904b\u7528\u5236\u7d04\u3067\u5909\u308f\u308b<\/h3> <p>\u3053\u3053\u307e\u3067\u8ff0\u3079\u305f\u5185\u5bb9\u306f\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306b\u5bfe\u3059\u308b\u6709\u52b9\u306a\u4e00\u822c\u8ad6\u3067\u3059\u304c\u3001\u500b\u5225\u6848\u4ef6\u3067\u306f\u96e3\u6240\u304c\u51fa\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001<\/p> <ul> <li>\u30ed\u30c3\u30af\u9806\u5e8f\u3092\u56fa\u5b9a\u3057\u305f\u304f\u3066\u3082\u3001\u8907\u6570\u30c1\u30fc\u30e0\u30fb\u8907\u6570\u30b5\u30fc\u30d3\u30b9\u306e\u5883\u754c\u3092\u8de8\u3044\u3067\u3044\u308b<\/li> <li>\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u5185\u90e8\u3067\u30ed\u30c3\u30af\u3092\u53d6\u308a\u3001\u9806\u5e8f\u3092\u5236\u5fa1\u3067\u304d\u306a\u3044<\/li> <li>\u6027\u80fd\u8981\u4ef6\u304c\u53b3\u3057\u304f\u3001\u7c92\u5ea6\u8abf\u6574\u304c\u526f\u4f5c\u7528\uff08\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u4f4e\u4e0b\uff09\u3092\u751f\u3080<\/li> <li>\u672c\u756a\u3067\u306e\u8a3c\u8de1\u63a1\u53d6\uff08gdb attach \u7b49\uff09\u304c\u904b\u7528\u30ea\u30b9\u30af\u306b\u306a\u308a\u5f97\u308b<\/li> <\/ul> <p>\u306a\u3069\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u540c\u3058\u300cEDEADLK\u300d\u300c\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u300d\u3068\u3044\u3046\u8a00\u8449\u3067\u3082\u3001\u6700\u9069\u306a\u5bfe\u7b56\u306e\u7d44\u307f\u5408\u308f\u305b\u306f\u5909\u308f\u308a\u307e\u3059\u3002\u3060\u304b\u3089\u6700\u5f8c\u306f\u3001\u4e00\u822c\u8ad6\u304b\u3089\u4e00\u6b69\u9032\u3081\u3066\u300c\u3042\u306a\u305f\u306e\u30b7\u30b9\u30c6\u30e0\u306e\u30ed\u30c3\u30af\u8a2d\u8a08\u30fb\u904b\u7528\u8a2d\u8a08\u3068\u3057\u3066\u3069\u3046\u843d\u3068\u3059\u304b\u300d\u3092\u6c7a\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p> <hr> <h3>4) \u6b21\u306e\u4e00\u6b69\uff1a\u8ff7\u3063\u305f\u3089\u3001\u73fe\u5834\u76ee\u7dda\u3067\u4e00\u7dd2\u306b\u8a2d\u8a08\u3059\u308b<\/h3> <p>\u3082\u3057\u3042\u306a\u305f\u304c\u4eca\u3001\u5177\u4f53\u7684\u306a\u6848\u4ef6\uff08API\u306e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u9023\u9396\u3001\u30b8\u30e7\u30d6\u30ad\u30e5\u30fc\u306e\u8a70\u307e\u308a\u3001\u30ed\u30b0\u306bEDEADLK\u304c\u51fa\u59cb\u3081\u305f\u3001\u30aa\u30f3\u30b3\u30fc\u30eb\u304c\u5897\u3048\u305f\u3001\u306a\u3069\uff09\u3067\u60a9\u3093\u3067\u3044\u308b\u306a\u3089\u3001\u307e\u305a\u306f\u201c\u898b\u3048\u308b\u5316\u3068\u6291\u3048\u8fbc\u307f\u201d\u304b\u3089\u59cb\u3081\u308b\u306e\u304c\u73fe\u5b9f\u7684\u3067\u3059\u3002\u305d\u306e\u3046\u3048\u3067\u3001\u8a2d\u8a08\uff08\u9806\u5e8f\u30fb\u968e\u5c64\u30fb\u7c92\u5ea6\uff09\u3068\u5b9f\u88c5\uff08timedlock\u30fb\u30d0\u30c3\u30af\u30aa\u30d5\uff09\u3092\u3001\u904b\u7528\u8981\u4ef6\u306b\u5408\u308f\u305b\u3066\u8edf\u7740\u9678\u3055\u305b\u3066\u3044\u304d\u307e\u3059\u3002<\/p> <p>\u3053\u3046\u3057\u305f\u500b\u5225\u6700\u9069\u306f\u3001\u5358\u767a\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3088\u308a\u300c\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u6574\u5408\u300d\u3092\u898b\u3066\u6c7a\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u91cd\u8981\u30c7\u30fc\u30bf\u3084\u57fa\u5e79\u30b5\u30fc\u30d3\u30b9\u304c\u95a2\u308f\u308b\u5834\u5408\u306f\u3001\u5224\u65ad\u30df\u30b9\u304c\u9577\u671f\u505c\u6b62\u3084\u5fa9\u65e7\u96e3\u6613\u5ea6\u306e\u4e0a\u6607\u306b\u7e4b\u304c\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u682a\u5f0f\u4f1a\u793e\u60c5\u5831\u5de5\u5b66\u7814\u7a76\u6240\u3067\u306f\u3001\u30ed\u30b0\u30fb\u89b3\u6e2c\u30fb\u69cb\u6210\u30fb\u904b\u7528\u5236\u7d04\u307e\u3067\u542b\u3081\u3066\u3001\u73fe\u5834\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u4e00\u7dd2\u306b\u6574\u7406\u3057\u3001\u88ab\u5bb3\u6700\u5c0f\u5316\uff08\u30c0\u30e1\u30fc\u30b8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\uff09\u3068\u518d\u767a\u9632\u6b62\u306e\u4e21\u65b9\u3092\u652f\u63f4\u3067\u304d\u307e\u3059\u3002\u4e00\u822c\u8ad6\u3067\u8ff7\u3044\u304c\u51fa\u305f\u6642\u70b9\u3067\u3001\u682a\u5f0f\u4f1a\u793e\u60c5\u5831\u5de5\u5b66\u7814\u7a76\u6240\u306e\u69d8\u306a\u5c02\u9580\u4e8b\u696d\u8005\u306b\u76f8\u8ac7\u3059\u308b\u3053\u3068\u3092\u691c\u8a0e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p> \r\n\r\n\r\n\r\n<p>\u3000<\/p> <a id=\"sec11\"><\/a> <h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u4ed8\u9332\uff1a\u73fe\u5728\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u8a00\u8a9e\u5404\u7a2e\u306b\u304a\u3051\u308b\u201c\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u5bfe\u7b56\u201d\u306e\u6ce8\u610f\u70b9<\/h2> <p>\u6700\u5f8c\u306b\u3001\u8a00\u8a9e\u3054\u3068\u306b\u300c\u8d77\u3053\u308a\u3084\u3059\u3044\u843d\u3068\u3057\u7a74\u300d\u3068\u300c\u73fe\u5834\u3067\u52b9\u304f\u89b3\u70b9\u300d\u3092\u6574\u7406\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u6271\u3046\u306e\u306f\u4e00\u822c\u8ad6\u3067\u3042\u308a\u3001\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3084\u5b9f\u88c5\u3001\u5b9f\u884c\u74b0\u5883\uff08OS\u3001\u30e9\u30f3\u30bf\u30a4\u30e0\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\uff09\u306b\u3088\u3063\u3066\u6319\u52d5\u306f\u5909\u308f\u308a\u307e\u3059\u3002\u500b\u5225\u6848\u4ef6\u3067\u306f\u3001\u30ed\u30b0\u30fb\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\u30fb\u69cb\u6210\u3092\u8e0f\u307e\u3048\u3066\u5224\u65ad\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p> <hr> <h3>C \/ C++\uff08pthread\u7b49\uff09<\/h3> <ul> <li>\u30ed\u30c3\u30af\u306e\u53d6\u5f97\u30fb\u89e3\u653e\u304c\u624b\u52d5\u306b\u306a\u308a\u304c\u3061\u3067\u3001\u4f8b\u5916\u3084\u65e9\u671freturn\u3067\u89e3\u653e\u6f0f\u308c\u304c\u8d77\u304d\u3084\u3059\u3044\uff08\u89e3\u653e\u6f0f\u308c\u306f\u201c\u6c38\u4e45\u5f85\u3061\u201d\u306b\u76f4\u7d50\uff09<\/li> <li>\u30ed\u30c3\u30af\u9806\u5e8f\u306e\u56fa\u5b9a\u30fb\u968e\u5c64\u5316\u3092\u3001\u8a2d\u8a08\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3068\u5b9f\u88c5\uff08\u30e9\u30c3\u30d1\uff09\u3067\u4e00\u81f4\u3055\u305b\u308b\u3053\u3068\u304c\u91cd\u8981<\/li> <li>\u672c\u756a\u3067\u306e\u8abf\u67fb\u306f\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\u63a1\u53d6\u304c\u52b9\u304f\u4e00\u65b9\u3001\u904b\u7528\u30ea\u30b9\u30af\u3082\u3042\u308b\u305f\u3081\u624b\u9806\u3092\u4e8b\u524d\u306b\u6c7a\u3081\u3066\u304a\u304f<\/li> <\/ul> <h3>Rust\uff08Mutex\/Arc\u3001async\u542b\u3080\uff09<\/h3> <ul> <li>\u6240\u6709\u6a29\u306b\u3088\u308a\u30e1\u30e2\u30ea\u5b89\u5168\u6027\u306f\u4e0a\u304c\u308b\u304c\u3001\u8ad6\u7406\u7684\u306a\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u5225\u554f\u984c\u3068\u3057\u3066\u8d77\u3053\u308a\u5f97\u308b<\/li> <li>Mutex\u30ac\u30fc\u30c9\u306e\u4fdd\u6301\u7bc4\u56f2\u304c\u5e83\u3044\u3068\u3001\u610f\u56f3\u305b\u305a\u9577\u6642\u9593\u4fdd\u6301\u306b\u306a\u308a\u3084\u3059\u3044\uff08\u7279\u306bI\/O\u3084\u5f85\u6a5f\u3092\u8de8\u304c\u306a\u3044\u8a2d\u8a08\u304c\u91cd\u8981\uff09<\/li> <li>async\u74b0\u5883\u3067\u306f\u300c\u5f85\u6a5f\uff08await\u7b49\uff09\u3092\u8de8\u3044\u3067\u30ed\u30c3\u30af\u3092\u4fdd\u6301\u3057\u306a\u3044\u300d\u306a\u3069\u3001\u4fdd\u6301\u5883\u754c\u306e\u30eb\u30fc\u30eb\u304c\u91cd\u8981\u306b\u306a\u308b<\/li> <\/ul> <h3>Go\uff08goroutine\u3001channel\u3001sync.Mutex\u7b49\uff09<\/h3> <ul> <li>Mutex\u306e\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306b\u52a0\u3048\u3066\u3001channel\u306e\u9001\u53d7\u4fe1\u5f85\u3061\u306e\u5faa\u74b0\uff08\u5168goroutine\u5f85\u3061\uff09\u304c\u201c\u505c\u6b62\u201d\u3068\u3057\u3066\u73fe\u308c\u308b\u3053\u3068\u304c\u3042\u308b<\/li> <li>\u300c\u30ed\u30c3\u30af\uff0b\u30c1\u30e3\u30cd\u30eb\u300d\u3092\u6df7\u5728\u3055\u305b\u308b\u3068\u3001\u9806\u5e8f\u304c\u8907\u96d1\u5316\u3057\u3084\u3059\u3044\uff08\u30eb\u30fc\u30eb\u5316\u3068\u76e3\u8996\u304c\u91cd\u8981\uff09<\/li> <li>\u30c6\u30b9\u30c8\u3067\u306f\u4e26\u884c\u5ea6\u3092\u4e0a\u3052\u3001\u9032\u6357\u76e3\u8996\uff08\u30a6\u30a9\u30c3\u30c1\u30c9\u30c3\u30b0\uff09\u3068\u30b9\u30bf\u30c3\u30af\u30c0\u30f3\u30d7\u63a1\u53d6\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u539f\u56e0\u304c\u8ffd\u3044\u3084\u3059\u3044<\/li> <\/ul> <h3>Java \/ Kotlin\uff08synchronized\u3001ReentrantLock\u7b49\uff09<\/h3> <ul> <li>\u30e2\u30cb\u30bf\u30ed\u30c3\u30af\u3084\u8907\u6570\u30ed\u30c3\u30af\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u5faa\u74b0\u5f85\u3061\u304c\u8d77\u304d\u3084\u3059\u3044\u3002\u53d6\u5f97\u9806\u5e8f\u306e\u56fa\u5b9a\u304c\u57fa\u672c<\/li> <li>\u5f85\u6a5f\uff08wait\/notify\uff09\u3084\u6761\u4ef6\u5909\u6570\u306e\u8aa4\u7528\u3067\u201c\u6b62\u307e\u3063\u305f\u3088\u3046\u306b\u898b\u3048\u308b\u201d\u72b6\u614b\u304c\u4f5c\u3089\u308c\u3084\u3059\u3044<\/li> <li>\u30b9\u30ec\u30c3\u30c9\u30c0\u30f3\u30d7\uff08jstack\u7b49\uff09\u3067\u5f85\u3061\u95a2\u4fc2\u304c\u8ffd\u3044\u3084\u3059\u3044\u53cd\u9762\u3001\u904b\u7528\u8a2d\u8a08\uff08\u63a1\u53d6\u30bf\u30a4\u30df\u30f3\u30b0\u30fb\u6a29\u9650\u30fb\u5f71\u97ff\uff09\u3092\u6c7a\u3081\u3066\u304a\u304f\u3068\u73fe\u5834\u304c\u697d\u306b\u306a\u308b<\/li> <\/ul> <h3>Python\uff08threading\u3001asyncio\u7b49\uff09<\/h3> <ul> <li>GIL\u304c\u3042\u3063\u3066\u3082\u3001I\/O\u3084\u5f85\u6a5f\u3001\u8907\u6570\u30ed\u30c3\u30af\u306e\u5faa\u74b0\u306f\u8d77\u3053\u308a\u5f97\u308b\uff08\u300cPython\u3060\u304b\u3089\u5b89\u5168\u300d\u3068\u3044\u3046\u8aa4\u89e3\u306b\u6ce8\u610f\uff09<\/li> <li>\u30ed\u30c3\u30af\u4fdd\u6301\u4e2d\u306bI\/O\u3092\u884c\u3046\u3068\u4fdd\u6301\u6642\u9593\u304c\u4f38\u3073\u3001\u6210\u7acb\u78ba\u7387\u304c\u4e0a\u304c\u308b\u3002\u4fdd\u6301\u5883\u754c\u3092\u77ed\u304f\u3059\u308b<\/li> <li>asyncio\u7b49\u306e\u975e\u540c\u671f\u3067\u306f\u3001\u5f85\u6a5f\u70b9\u3092\u8de8\u3044\u3060\u8cc7\u6e90\u4fdd\u6301\u304c\u8907\u96d1\u5316\u3057\u3084\u3059\u3044\u306e\u3067\u3001\u8a2d\u8a08\u3068\u3057\u3066\u201c\u4fdd\u6301\u3057\u306a\u3044\u201d\u3092\u5fb9\u5e95\u3059\u308b<\/li> <\/ul> <h3>JavaScript \/ Node.js\uff08\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30d7\u3001Worker\u7b49\uff09<\/h3> <ul> <li>\u5358\u4e00\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30d7\u3067\u3082\u300c\u5f85\u3061\u5408\u308f\u305b\u306e\u8a2d\u8a08\u30df\u30b9\u300d\u3067\u9032\u6357\u304c\u6b62\u307e\u308b\uff08Promise\u306e\u5faa\u74b0\u4f9d\u5b58\u3001\u5b8c\u4e86\u6761\u4ef6\u306e\u6b20\u843d\u306a\u3069\uff09<\/li> <li>Worker\u3084\u30cd\u30a4\u30c6\u30a3\u30d6\u62e1\u5f35\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001\u5f93\u6765\u578b\u306e\u30ed\u30c3\u30af\u554f\u984c\u304c\u5165\u308a\u8fbc\u3080\uff08\u5883\u754c\u3067\u8a2d\u8a08\u3092\u5206\u3051\u308b\uff09<\/li> <li>\u201c\u6b62\u307e\u308b\u201d\u304cCPU\u30d0\u30a6\u30f3\u30c9\uff08\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30d7\u306e\u30d6\u30ed\u30c3\u30af\uff09\u306a\u306e\u304b\u5f85\u6a5f\u306a\u306e\u304b\u3092\u89b3\u6e2c\u3067\u5207\u308a\u5206\u3051\u308b\u3053\u3068\u304c\u91cd\u8981<\/li> <\/ul> <h3>PHP\uff08FPM\/CLI\u3001\u62e1\u5f35\u3001\u5916\u90e8\u8cc7\u6e90\uff09<\/h3> <ul> <li>\u8a00\u8a9e\u81ea\u4f53\u306f\u4e00\u822c\u306b\u30b9\u30ec\u30c3\u30c9\u4e26\u884c\u3092\u524d\u63d0\u306b\u3057\u306a\u3044\u30b1\u30fc\u30b9\u304c\u591a\u3044\u304c\u3001\u5916\u90e8\u8cc7\u6e90\uff08DB\u30ed\u30c3\u30af\u3001\u30d5\u30a1\u30a4\u30eb\u30ed\u30c3\u30af\u3001\u5206\u6563\u30ed\u30c3\u30af\uff09\u3067\u5f85\u3061\u304c\u767a\u751f\u3057\u5f97\u308b<\/li> <li>\u30a2\u30d7\u30ea\u5074\u306e\u201c\u30ed\u30c3\u30af\u201d\u3088\u308a\u3001DB\u3084\u30b9\u30c8\u30ec\u30fc\u30b8\u3001\u5206\u6563KVS\u306a\u3069\u306e\u5f85\u3061\u304c\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u306b\u306a\u308a\u3084\u3059\u3044\uff08\u89b3\u6e2c\u70b9\u3092\u5916\u306b\u7f6e\u304f\uff09<\/li> <li>\u4e26\u5217\u5b9f\u884c\u306f\u300c\u30d7\u30ed\u30bb\u30b9\u4e26\u5217\u300d\u3067\u8d77\u304d\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3001\u30d7\u30ed\u30bb\u30b9\u9593\u306e\u8cc7\u6e90\u7af6\u5408\uff08\u30d5\u30a1\u30a4\u30eb\u3001DB\u884c\u3001\u30ad\u30e5\u30fc\uff09\u306b\u6ce8\u610f\u3059\u308b<\/li> <\/ul> <h3>C# \/ .NET\uff08lock\u3001async\/await\u7b49\uff09<\/h3> <ul> <li>\u540c\u671f\u30ed\u30c3\u30af\u3068\u975e\u540c\u671f\u306e\u6df7\u5728\u3067\u3001\u5f85\u6a5f\u3068\u4fdd\u6301\u304c\u8907\u96d1\u5316\u3057\u3084\u3059\u3044\uff08\u4fdd\u6301\u5883\u754c\u306e\u30eb\u30fc\u30eb\u5316\u304c\u91cd\u8981\uff09<\/li> <li>\u30ed\u30c3\u30af\u5185\u3067\u306eI\/O\u3084\u5f85\u6a5f\u304c\u4fdd\u6301\u6642\u9593\u3092\u4f38\u3070\u3057\u3001\u7af6\u5408\u3092\u5897\u3084\u3059\u3002\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u30bb\u30af\u30b7\u30e7\u30f3\u306f\u77ed\u304f<\/li> <li>\u30b9\u30bf\u30c3\u30af\u3084\u5f85\u6a5f\u72b6\u614b\u3092\u89b3\u6e2c\u3067\u304d\u308b\u4ed5\u7d44\u307f\uff08\u30ed\u30b0\u30fb\u30c0\u30f3\u30d7\uff09\u3092\u3001\u904b\u7528\u624b\u9806\u3068\u3057\u3066\u6574\u3048\u308b\u3068\u518d\u767a\u6642\u306e\u53ce\u675f\u304c\u901f\u3044<\/li> <\/ul> <hr> <p>\u4ed8\u9332\u306e\u307e\u3068\u3081\u3068\u3057\u3066\u3001\u300c\u8a00\u8a9e\u304c\u9055\u3063\u3066\u3082\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306f\u201c\u9806\u5e8f\u201d\u201c\u4fdd\u6301\u6642\u9593\u201d\u201c\u5f85\u6a5f\u306e\u8a2d\u8a08\u201d\u3067\u6210\u7acb\u3059\u308b\u300d\u3068\u3044\u3046\u70b9\u306f\u5171\u901a\u3067\u3059\u3002\u4e00\u65b9\u3067\u3001\u89b3\u6e2c\u306e\u53d6\u308a\u65b9\uff08\u30c0\u30f3\u30d7\u306e\u63a1\u53d6\u3001\u30ed\u30b0\u306e\u6b8b\u3057\u65b9\u3001\u904b\u7528\u30ea\u30b9\u30af\uff09\u306f\u8a00\u8a9e\u30fb\u30e9\u30f3\u30bf\u30a4\u30e0\u3067\u5909\u308f\u308a\u307e\u3059\u3002\u4e00\u822c\u8ad6\u3060\u3051\u3067\u306f\u6c7a\u3081\u304d\u308c\u306a\u3044\u5834\u9762\u304c\u51fa\u305f\u3089\u3001\u682a\u5f0f\u4f1a\u793e\u60c5\u5831\u5de5\u5b66\u7814\u7a76\u6240\u306e\u69d8\u306a\u5c02\u9580\u4e8b\u696d\u8005\u306b\u76f8\u8ac7\u3057\u3001\u5bfe\u8c61\u30b7\u30b9\u30c6\u30e0\u306e\u69cb\u6210\u30fb\u904b\u7528\u5236\u7d04\u30fb\u5fa9\u65e7\u671f\u9650\u306b\u5408\u308f\u305b\u305f\u201c\u73fe\u5b9f\u7684\u306a\u8edf\u7740\u9678\u201d\u3092\u4e00\u7dd2\u306b\u8a2d\u8a08\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p> \r\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-562b709b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"562b709b\" data-element_type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7b6d00db\" data-id=\"7b6d00db\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2969c3e5 elementor-widget elementor-widget-text-editor\" data-id=\"2969c3e5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<style>h1.dai {    display: inline-block;    font-weight: bold;    border-left: solid 5px #38b3f2;    border-bottom: solid 1px #38b3f2;    margin-top: 25px; \/* \u4e0a\u306e\u7a7a\u767d\u30922\u500d *\/    margin-bottom: 5px;    padding: 5px 5px 5px 5px;    font-size: 18px; \/* \u6587\u5b57\u306e\u5927\u304d\u3055\u309218px\u306b\u8a2d\u5b9a *\/}h2.fukudai {    display: inline-block;    font-weight: bold;    border-left: solid 5px #38b3f2;    border-bottom: solid 1px #38b3f2;    margin-top: 25px; \/* \u4e0a\u306e\u7a7a\u767d\u30922\u500d *\/    margin-bottom: 5px;    padding: 5px 5px 5px 5px;    font-size: 18px; \/* \u6587\u5b57\u306e\u5927\u304d\u3055\u309218px\u306b\u8a2d\u5b9a *\/}.fukudai {    display: inline-block;    font-weight: bold;    border-left: solid 5px #38b3f2;    border-bottom: solid 1px #38b3f2;    margin: 0 auto 50px;    padding: 5px 5px 5px 5px;    font-size: 18px; \/* \u6587\u5b57\u306e\u5927\u304d\u3055\u309218px\u306b\u8a2d\u5b9a *\/}.fukudai {    display: inline-block;    font-weight: bold;    border-left: solid 5px #38b3f2;    border-bottom: solid 1px #38b3f2;    margin: 0 auto 50px;    padding: 5px 5px 5px 5px;    font-size: 18px; \/* \u6587\u5b57\u306e\u5927\u304d\u3055\u309218px\u306b\u8a2d\u5b9a *\/}<\/style><h2 class='fukudai'>\u306f\u3058\u3081\u306b<\/h2><br><p>     Linux\u30b7\u30b9\u30c6\u30e0\u3092\u904b\u7528\u3057\u3066\u3044\u308b\u3068\u3001\u6642\u6298\u300cEDEADLK (35)\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u306b\u906d\u9047\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30a8\u30e9\u30fc\u306f\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u7af6\u5408\u3084\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u72b6\u614b\u306b\u3088\u3063\u3066\u767a\u751f\u3057\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u6b63\u5e38\u306a\u52d5\u4f5c\u3092\u59a8\u3052\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u7279\u306b\u3001\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u3084\u30b9\u30ec\u30c3\u30c9\u304c\u540c\u3058\u30ea\u30bd\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3057\u305f\u969b\u306b\u8d77\u3053\u308b\u3053\u3068\u304c\u591a\u304f\u3001\u9069\u5207\u306a\u5bfe\u7b56\u3092\u8b1b\u3058\u3066\u3044\u306a\u3044\u3068\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u6027\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3059\u6050\u308c\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001EDEADLK\u306e\u57fa\u672c\u7684\u306a\u5b9a\u7fa9\u3068\u539f\u56e0\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3059\u308b\u3068\u3068\u3082\u306b\u3001\u5177\u4f53\u7684\u306a\u4e8b\u4f8b\u3084\u5bfe\u51e6\u6cd5\u306b\u3064\u3044\u3066\u3082\u8a73\u3057\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005\u3084IT\u62c5\u5f53\u8005\u304c\u5b89\u5fc3\u3057\u3066\u30b7\u30b9\u30c6\u30e0\u3092\u904b\u7528\u3067\u304d\u308b\u3088\u3046\u3001\u73fe\u72b6\u306e\u7406\u89e3\u3068\u9069\u5207\u306a\u5bfe\u5fdc\u7b56\u3092\u8eab\u306b\u3064\u3051\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u30c7\u30fc\u30bf\u306e\u5b89\u5168\u6027\u3068\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u6027\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306b\u3001\u6b63\u3057\u3044\u77e5\u8b58\u3068\u5bfe\u7b56\u3092\u5099\u3048\u308b\u3053\u3068\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p><br><br><p>EDEADLK\uff08\u30a8\u30e9\u30fc\u30b3\u30fc\u30c935\uff09\u306f\u3001Linux\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3044\u3066\u30ea\u30bd\u30fc\u30b9\u306e\u7af6\u5408\u3084\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u72b6\u614b\u304c\u539f\u56e0\u3067\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u3067\u3059\u3002\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u3068\u306f\u3001\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u3084\u30b9\u30ec\u30c3\u30c9\u304c\u4e92\u3044\u306b\u76f8\u624b\u306e\u4fdd\u6301\u3057\u3066\u3044\u308b\u30ea\u30bd\u30fc\u30b9\u3092\u5f85\u3061\u7d9a\u3051\u308b\u72b6\u614b\u3092\u6307\u3057\u307e\u3059\u3002\u3053\u306e\u72b6\u614b\u306b\u306a\u308b\u3068\u3001\u30b7\u30b9\u30c6\u30e0\u306f\u5f85\u6a5f\u72b6\u614b\u304b\u3089\u629c\u3051\u51fa\u305b\u305a\u3001\u6700\u60aa\u306e\u5834\u5408\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u52d5\u4f5c\u306b\u652f\u969c\u3092\u304d\u305f\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002EDEADLK\u306f\u3001POSIX\u6a19\u6e96\u306e\u30a8\u30e9\u30fc\u30b3\u30fc\u30c9\u306e\u4e00\u3064\u3067\u3001\u300c\u30ea\u30bd\u30fc\u30b9\u306e\u7af6\u5408\u306b\u3088\u308b\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u304c\u691c\u51fa\u3055\u308c\u305f\u300d\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002  \u3053\u306e\u30a8\u30e9\u30fc\u306e\u80cc\u666f\u306b\u306f\u3001\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u3084\u30b9\u30ec\u30c3\u30c9\u304c\u540c\u3058\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30d0\u30a4\u30b9\u3001\u30e1\u30e2\u30ea\u9818\u57df\u306a\u3069\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u540c\u6642\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3059\u308b\u969b\u306e\u7ba1\u7406\u4e0d\u8db3\u3084\u8a2d\u8a08\u306e\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u4e00\u3064\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u30d5\u30a1\u30a4\u30ebA\u3092\u30ed\u30c3\u30af\u3057\u3001\u305d\u306e\u72b6\u614b\u3067\u5225\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u540c\u3058\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30c3\u30af\u3057\u3088\u3046\u3068\u3057\u305f\u5834\u5408\u3001\u4e92\u3044\u306b\u5f85\u3061\u72b6\u614b\u306b\u5165\u308a\u3001\u6700\u7d42\u7684\u306b\u30b7\u30b9\u30c6\u30e0\u304c\u30a8\u30e9\u30fc\u3092\u8fd4\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002  \u307e\u305f\u3001EDEADLK\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u6027\u3092\u4fdd\u3064\u305f\u3081\u306b\u3001\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306b\u304a\u3044\u3066\u9069\u5207\u306a\u30ed\u30c3\u30af\u5236\u5fa1\u3084\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u8a2d\u5b9a\u3092\u884c\u3046\u3053\u3068\u304c\u91cd\u8981\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u767a\u751f\u3092\u672a\u7136\u306b\u9632\u304e\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u6b63\u5e38\u306a\u52d5\u4f5c\u3092\u7dad\u6301\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005\u3084IT\u62c5\u5f53\u8005\u306f\u3001\u3053\u308c\u3089\u306e\u57fa\u672c\u7684\u306a\u539f\u56e0\u3068\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3057\u3001\u9069\u5207\u306a\u5bfe\u7b56\u3092\u8b1b\u3058\u308b\u3053\u3068\u304c\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u4fe1\u983c\u6027\u5411\u4e0a\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002  \u203b\u5f53\u793e\u306f\u3001\u7d30\u5fc3\u306e\u6ce8\u610f\u3092\u6255\u3063\u3066\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u60c5\u5831\u3092\u63b2\u8f09\u3057\u3066\u304a\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u60c5\u5831\u306e\u6b63\u78ba\u6027\u304a\u3088\u3073\u5b8c\u5168\u6027\u3092\u4fdd\u8a3c\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5f53\u793e\u306f\u4e88\u544a\u306a\u3057\u306b\u3001\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5f53\u793e\u304a\u3088\u3073\u305d\u306e\u95a2\u9023\u4f1a\u793e\u306f\u3001\u304a\u5ba2\u3055\u307e\u304c\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u542b\u307e\u308c\u308b\u60c5\u5831\u3082\u3057\u304f\u306f\u5185\u5bb9\u3092\u3054\u5229\u7528\u3055\u308c\u305f\u3053\u3068\u3067\u76f4\u63a5\u30fb\u9593\u63a5\u7684\u306b\u751f\u3058\u305f\u640d\u5931\u306b\u95a2\u3057\u4e00\u5207\u8cac\u4efb\u3092\u8ca0\u3046\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p><br><br><p>EDEADLK\u306e\u767a\u751f\u539f\u56e0\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u306f\u3001\u52b9\u679c\u7684\u306a\u5bfe\u7b56\u3092\u8b1b\u3058\u308b\u305f\u3081\u306e\u7b2c\u4e00\u6b69\u3067\u3059\u3002\u5177\u4f53\u7684\u306a\u4e8b\u4f8b\u3068\u3057\u3066\u3001\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u540c\u3058\u30d5\u30a1\u30a4\u30eb\u3084\u30ea\u30bd\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u30ed\u30c3\u30af\u3092\u53d6\u5f97\u3057\u3088\u3046\u3068\u3059\u308b\u72b6\u6cc1\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u3042\u308b\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u51e6\u7406\u3068\u30c7\u30fc\u30bf\u66f4\u65b0\u51e6\u7406\u304c\u540c\u6642\u306b\u540c\u3058\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u4e92\u3044\u306b\u30ed\u30c3\u30af\u3092\u5f85\u3064\u72b6\u614b\u306b\u9665\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u72b6\u6cc1\u304c\u7e70\u308a\u8fd4\u3055\u308c\u308b\u3068\u3001\u30b7\u30b9\u30c6\u30e0\u306f\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u72b6\u614b\u306b\u5165\u308a\u3001\u30a8\u30e9\u30fc\u30b3\u30fc\u30c935\u304c\u8fd4\u3055\u308c\u308b\u306e\u3067\u3059\u3002  \u3053\u306e\u554f\u984c\u3092\u9632\u3050\u305f\u3081\u306b\u306f\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u7ba1\u7406\u65b9\u6cd5\u3092\u898b\u76f4\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305a\u3001\u30ed\u30c3\u30af\u306e\u53d6\u5f97\u9806\u5e8f\u3092\u7d71\u4e00\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u540c\u3058\u30ea\u30bd\u30fc\u30b9\u3092\u6271\u3046\u5834\u5408\u3001\u5fc5\u305a\u540c\u3058\u9806\u5e8f\u3067\u30ed\u30c3\u30af\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3067\u3001\u5faa\u74b0\u5f85\u3061\u306e\u72b6\u614b\u3092\u907f\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u8a2d\u5b9a\u3092\u5c0e\u5165\u3057\u3001\u4e00\u5b9a\u6642\u9593\u5185\u306b\u30ed\u30c3\u30af\u304c\u53d6\u5f97\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u51e6\u7406\u3092\u4e2d\u65ad\u3057\u3001\u30ea\u30c8\u30e9\u30a4\u3084\u30a8\u30e9\u30fc\u901a\u77e5\u3092\u884c\u3046\u4ed5\u7d44\u307f\u3082\u6709\u52b9\u3067\u3059\u3002  \u3055\u3089\u306b\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u8a2d\u8a08\u6bb5\u968e\u3067\u30ea\u30bd\u30fc\u30b9\u306e\u7af6\u5408\u3092\u6700\u5c0f\u5316\u3059\u308b\u5de5\u592b\u3082\u5fc5\u8981\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u5206\u6563\u5316\u3084\u3001\u5fc5\u8981\u6700\u5c0f\u9650\u306e\u30ed\u30c3\u30af\u7bc4\u56f2\u306b\u9650\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u30ea\u30b9\u30af\u3092\u4f4e\u6e1b\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u5bfe\u7b56\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u8ca0\u8377\u72b6\u6cc1\u3084\u904b\u7528\u5f62\u614b\u306b\u5408\u308f\u305b\u3066\u9069\u5207\u306b\u8abf\u6574\u3055\u308c\u308b\u3079\u304d\u3067\u3059\u3002  \u6700\u5f8c\u306b\u3001\u5b9a\u671f\u7684\u306a\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3068\u30ed\u30b0\u5206\u6790\u3082\u91cd\u8981\u3067\u3059\u3002\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u5146\u5019\u3092\u65e9\u671f\u306b\u691c\u51fa\u3057\u3001\u539f\u56e0\u3092\u7279\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u672a\u7136\u306b\u30a8\u30e9\u30fc\u3092\u9632\u3050\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005\u3084IT\u62c5\u5f53\u8005\u306f\u3001\u3053\u308c\u3089\u306e\u77e5\u8b58\u3068\u6280\u8853\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u5b89\u5b9a\u3057\u305f\u904b\u7528\u3092\u7dad\u6301\u3057\u3066\u3044\u304f\u3053\u3068\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002  \u203b\u5f53\u793e\u306f\u3001\u7d30\u5fc3\u306e\u6ce8\u610f\u3092\u6255\u3063\u3066\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u60c5\u5831\u3092\u63b2\u8f09\u3057\u3066\u304a\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u60c5\u5831\u306e\u6b63\u78ba\u6027\u304a\u3088\u3073\u5b8c\u5168\u6027\u3092\u4fdd\u8a3c\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5f53\u793e\u306f\u4e88\u544a\u306a\u3057\u306b\u3001\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5f53\u793e\u304a\u3088\u3073\u305d\u306e\u95a2\u9023\u4f1a\u793e\u306f\u3001\u304a\u5ba2\u3055\u307e\u304c\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u542b\u307e\u308c\u308b\u60c5\u5831\u3082\u3057\u304f\u306f\u5185\u5bb9\u3092\u3054\u5229\u7528\u3055\u308c\u305f\u3053\u3068\u3067\u76f4\u63a5\u30fb\u9593\u63a5\u7684\u306b\u751f\u3058\u305f\u640d\u5931\u306b\u95a2\u3057\u4e00\u5207\u8cac\u4efb\u3092\u8ca0\u3046\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p><br><br><p>EDEADLK\uff08\u30a8\u30e9\u30fc\u30b3\u30fc\u30c935\uff09\u306e\u5177\u4f53\u7684\u306a\u5bfe\u51e6\u6cd5\u306b\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u8a2d\u8a08\u306e\u898b\u76f4\u3057\u3068\u904b\u7528\u4e0a\u306e\u5de5\u592b\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u307e\u305a\u3001\u6700\u3082\u52b9\u679c\u7684\u306a\u65b9\u6cd5\u306f\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u30ed\u30c3\u30af\u53d6\u5f97\u9806\u5e8f\u3092\u7d71\u4e00\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u540c\u3058\u30ea\u30bd\u30fc\u30b9\u3092\u6271\u3046\u5834\u5408\u3001\u5e38\u306b\u540c\u3058\u9806\u5e8f\u3067\u30ed\u30c3\u30af\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u5faa\u74b0\u5f85\u3061\u306e\u72b6\u614b\u3092\u9632\u6b62\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c6\u30fc\u30d6\u30eb\u3084\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30af\u30bb\u30b9\u9806\u5e8f\u3092\u6c7a\u3081\u3001\u305d\u308c\u306b\u5f93\u3063\u3066\u51e6\u7406\u3092\u884c\u3046\u30eb\u30fc\u30eb\u3092\u8a2d\u3051\u308b\u306e\u3067\u3059\u3002  \u6b21\u306b\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u8a2d\u5b9a\u306e\u5c0e\u5165\u3082\u91cd\u8981\u3067\u3059\u3002\u30ed\u30c3\u30af\u53d6\u5f97\u306b\u4e00\u5b9a\u6642\u9593\u3092\u8d85\u3048\u305f\u5834\u5408\u3001\u81ea\u52d5\u7684\u306b\u51e6\u7406\u3092\u4e2d\u65ad\u3057\u3001\u30ea\u30c8\u30e9\u30a4\u3084\u30a8\u30e9\u30fc\u901a\u77e5\u3092\u884c\u3046\u4ed5\u7d44\u307f\u3092\u6574\u5099\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u62e1\u5927\u3092\u9632\u6b62\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u5fdc\u7b54\u6027\u3084\u5b89\u5b9a\u6027\u3092\u7dad\u6301\u3067\u304d\u307e\u3059\u3002  \u307e\u305f\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u5206\u6563\u5316\u3084\u3001\u30ed\u30c3\u30af\u7bc4\u56f2\u306e\u9650\u5b9a\u3082\u6709\u52b9\u3067\u3059\u3002\u5fc5\u8981\u6700\u5c0f\u9650\u306e\u7bc4\u56f2\u3060\u3051\u306b\u30ed\u30c3\u30af\u3092\u304b\u3051\u308b\u3053\u3068\u3067\u3001\u7af6\u5408\u306e\u53ef\u80fd\u6027\u3092\u6e1b\u3089\u3057\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u30ea\u30b9\u30af\u3092\u4f4e\u6e1b\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u8a2d\u8a08\u306b\u304a\u3044\u3066\u3001\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u3060\u3051\u3092\u30ed\u30c3\u30af\u3057\u3001\u9577\u6642\u9593\u306e\u30ed\u30c3\u30af\u4fdd\u6301\u3092\u907f\u3051\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002  \u3055\u3089\u306b\u3001\u5b9a\u671f\u7684\u306a\u76e3\u8996\u3068\u30ed\u30b0\u5206\u6790\u3082\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u306e\u52d5\u4f5c\u30ed\u30b0\u3092\u53ce\u96c6\u3057\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u5146\u5019\u3084\u983b\u5ea6\u3092\u628a\u63e1\u3059\u308b\u3053\u3068\u3067\u3001\u6839\u672c\u539f\u56e0\u3092\u7279\u5b9a\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u4e8b\u524d\u306b\u554f\u984c\u3092\u5bdf\u77e5\u3057\u3001\u9069\u5207\u306a\u5bfe\u5fdc\u7b56\u3092\u8b1b\u3058\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002  \u6700\u5f8c\u306b\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u8a2d\u8a08\u6bb5\u968e\u304b\u3089\u3053\u308c\u3089\u306e\u5bfe\u7b56\u3092\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u3001\u9577\u671f\u7684\u306a\u5b89\u5b9a\u904b\u7528\u3092\u652f\u3048\u308b\u57fa\u672c\u3067\u3059\u3002\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u6700\u9069\u5316\u3068\u904b\u7528\u306e\u5fb9\u5e95\u306b\u3088\u308a\u3001EDEADLK\u306e\u767a\u751f\u3092\u672a\u7136\u306b\u9632\u304e\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u4fe1\u983c\u6027\u3068\u52b9\u7387\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p><br><br><p>EDEADLK\u306e\u554f\u984c\u3092\u6839\u672c\u7684\u306b\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u8a2d\u8a08\u6bb5\u968e\u304b\u3089\u9069\u5207\u306a\u5bfe\u7b56\u3092\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u307e\u305a\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u30ed\u30c3\u30af\u53d6\u5f97\u9806\u5e8f\u3092\u7d71\u4e00\u3059\u308b\u3053\u3068\u304c\u6700\u3082\u52b9\u679c\u7684\u306a\u65b9\u6cd5\u306e\u4e00\u3064\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5faa\u74b0\u5f85\u3061\u306e\u72b6\u614b\u3092\u9632\u304e\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u767a\u751f\u3092\u672a\u7136\u306b\u6291\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u8907\u6570\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u51e6\u7406\u3067\u306f\u3001\u5e38\u306b\u540c\u3058\u9806\u5e8f\u3067\u30ed\u30c3\u30af\u3092\u53d6\u5f97\u3059\u308b\u898f\u5247\u3092\u8a2d\u3051\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002  \u6b21\u306b\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30ed\u30c3\u30af\u306e\u53d6\u5f97\u306b\u9577\u6642\u9593\u304b\u304b\u308b\u5834\u5408\u306e\u30ea\u30b9\u30af\u3092\u8efd\u6e1b\u3067\u304d\u307e\u3059\u3002\u4e00\u5b9a\u6642\u9593\u5185\u306b\u30ed\u30c3\u30af\u304c\u53d6\u5f97\u3067\u304d\u306a\u304b\u3063\u305f\u5834\u5408\u306f\u3001\u51e6\u7406\u3092\u4e2d\u65ad\u3057\u3001\u30ea\u30c8\u30e9\u30a4\u3084\u30a8\u30e9\u30fc\u901a\u77e5\u3092\u884c\u3046\u4ed5\u7d44\u307f\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u5fdc\u7b54\u6027\u3084\u5b89\u5b9a\u6027\u3092\u7dad\u6301\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002  \u3055\u3089\u306b\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u5206\u6563\u5316\u3084\u30ed\u30c3\u30af\u7bc4\u56f2\u306e\u9650\u5b9a\u3082\u6709\u52b9\u3067\u3059\u3002\u5fc5\u8981\u6700\u5c0f\u9650\u306e\u7bc4\u56f2\u306b\u30ed\u30c3\u30af\u3092\u304b\u3051\u308b\u3053\u3068\u3067\u3001\u7af6\u5408\u306e\u53ef\u80fd\u6027\u3092\u6e1b\u3089\u3057\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u30ea\u30b9\u30af\u3092\u4f4e\u6e1b\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u8a2d\u8a08\u306b\u304a\u3044\u3066\u306f\u3001\u9577\u6642\u9593\u30ed\u30c3\u30af\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u3001\u5bfe\u8c61\u306e\u30c7\u30fc\u30bf\u3060\u3051\u3092\u7d30\u304b\u304f\u30ed\u30c3\u30af\u3059\u308b\u5de5\u592b\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002  \u307e\u305f\u3001\u5b9a\u671f\u7684\u306a\u76e3\u8996\u3068\u30ed\u30b0\u5206\u6790\u3082\u91cd\u8981\u3067\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u306e\u52d5\u4f5c\u30ed\u30b0\u3092\u7d99\u7d9a\u7684\u306b\u53ce\u96c6\u3057\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u5146\u5019\u3084\u983b\u5ea6\u3092\u628a\u63e1\u3059\u308b\u3053\u3068\u3067\u3001\u554f\u984c\u306e\u6839\u6e90\u3092\u7279\u5b9a\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u65e9\u671f\u306b\u5bfe\u7b56\u3092\u8b1b\u3058\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u904b\u7528\u3092\u78ba\u4fdd\u3067\u304d\u307e\u3059\u3002  \u6700\u5f8c\u306b\u3001\u3053\u308c\u3089\u306e\u5bfe\u7b56\u3092\u30b7\u30b9\u30c6\u30e0\u8a2d\u8a08\u306e\u6bb5\u968e\u304b\u3089\u76db\u308a\u8fbc\u3080\u3053\u3068\u304c\u3001\u9577\u671f\u7684\u306a\u4fe1\u983c\u6027\u5411\u4e0a\u306b\u76f4\u7d50\u3057\u307e\u3059\u3002\u9069\u5207\u306a\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u3068\u904b\u7528\u306e\u5fb9\u5e95\u306b\u3088\u308a\u3001EDEADLK\u306e\u767a\u751f\u3092\u6291\u3048\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u52b9\u7387\u3068\u5b89\u5b9a\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u53d6\u308a\u7d44\u307f\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u898f\u6a21\u3084\u904b\u7528\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u67d4\u8edf\u306b\u9069\u7528\u3057\u7d9a\u3051\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p><br><br><p>\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u6027\u3068\u4fe1\u983c\u6027\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u65e5\u5e38\u7684\u306a\u904b\u7528\u306e\u4e2d\u3067\u7d99\u7d9a\u7684\u306a\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3068\u6539\u5584\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u7279\u306b\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u3084\u30ea\u30bd\u30fc\u30b9\u7af6\u5408\u306e\u5146\u5019\u3092\u65e9\u671f\u306b\u691c\u77e5\u3067\u304d\u308b\u4ed5\u7d44\u307f\u3092\u6574\u5099\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u5b9a\u671f\u7684\u306a\u30ed\u30b0\u306e\u53ce\u96c6\u3068\u5206\u6790\u306b\u3088\u308a\u3001\u3069\u306e\u30ea\u30bd\u30fc\u30b9\u304c\u983b\u7e41\u306b\u7af6\u5408\u3057\u3066\u3044\u308b\u304b\u3001\u3069\u306e\u51e6\u7406\u304c\u9577\u6642\u9593\u30ed\u30c3\u30af\u3092\u4fdd\u6301\u3057\u3066\u3044\u308b\u304b\u3092\u628a\u63e1\u3057\u3001\u6839\u672c\u7684\u306a\u539f\u56e0\u3092\u7279\u5b9a\u3057\u307e\u3059\u3002\u3053\u3046\u3057\u305f\u60c5\u5831\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u8a2d\u8a08\u3084\u904b\u7528\u30eb\u30fc\u30eb\u306e\u898b\u76f4\u3057\u306b\u5f79\u7acb\u3061\u3001\u672a\u7136\u306b\u554f\u984c\u3092\u9632\u3050\u305f\u3081\u306e\u8cb4\u91cd\u306a\u8cc7\u6599\u3068\u306a\u308a\u307e\u3059\u3002  \u307e\u305f\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u904b\u7528\u306b\u304a\u3044\u3066\u306f\u3001\u30ed\u30c3\u30af\u306e\u53d6\u5f97\u3068\u89e3\u653e\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u9069\u5207\u306b\u7ba1\u7406\u3057\u3001\u5fc5\u8981\u306a\u7bc4\u56f2\u3060\u3051\u306b\u30ed\u30c3\u30af\u3092\u9650\u5b9a\u3059\u308b\u3053\u3068\u3082\u52b9\u679c\u7684\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u7af6\u5408\u304c\u6e1b\u5c11\u3057\u3001\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u767a\u751f\u78ba\u7387\u3092\u4f4e\u6e1b\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u8907\u96d1\u306a\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u5206\u6563\u5316\u3084\u51e6\u7406\u306e\u4e26\u5217\u5316\u3092\u691c\u8a0e\u3057\u3001\u30ea\u30bd\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u52b9\u7387\u5316\u3059\u308b\u3053\u3068\u3082\u91cd\u8981\u3067\u3059\u3002  \u3053\u3046\u3057\u305f\u53d6\u308a\u7d44\u307f\u3092\u7d99\u7d9a\u7684\u306b\u884c\u3046\u3053\u3068\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u904b\u7528\u52b9\u7387\u306f\u5411\u4e0a\u3057\u3001\u4e88\u671f\u305b\u306c\u30a8\u30e9\u30fc\u3084\u30c0\u30a6\u30f3\u30bf\u30a4\u30e0\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u6700\u7d42\u7684\u306b\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u6027\u306f\u3001\u8a2d\u8a08\u6bb5\u968e\u306e\u5de5\u592b\u3068\u65e5\u3005\u306e\u904b\u7528\u7ba1\u7406\u306e\u4e21\u9762\u304b\u3089\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u3088\u3063\u3066\u652f\u3048\u3089\u308c\u307e\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005\u3084IT\u62c5\u5f53\u8005\u306f\u3001\u3053\u308c\u3089\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u5b9f\u8df5\u3057\u3001\u7d99\u7d9a\u7684\u306a\u6539\u5584\u3092\u5fc3\u639b\u3051\u308b\u3053\u3068\u304c\u3001\u9577\u671f\u7684\u306a\u4fe1\u983c\u6027\u5411\u4e0a\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p><br><br><p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Linux\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3044\u3066\u983b\u7e41\u306b\u906d\u9047\u3059\u308bEDEADLK\uff08\u30a8\u30e9\u30fc\u30b3\u30fc\u30c935\uff09\u306e\u6982\u8981\u3068\u539f\u56e0\u3001\u305d\u3057\u3066\u5177\u4f53\u7684\u306a\u5bfe\u7b56\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002EDEADLK\u306f\u3001\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u3084\u30b9\u30ec\u30c3\u30c9\u304c\u30ea\u30bd\u30fc\u30b9\u306e\u7af6\u5408\u3084\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u72b6\u614b\u306b\u9665\u308b\u3053\u3068\u3067\u767a\u751f\u3057\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u6b63\u5e38\u306a\u52d5\u4f5c\u3092\u59a8\u3052\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u539f\u56e0\u3092\u7406\u89e3\u3057\u3001\u30ed\u30c3\u30af\u306e\u53d6\u5f97\u9806\u5e8f\u306e\u7d71\u4e00\u3084\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u8a2d\u5b9a\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u5206\u6563\u5316\u3068\u3044\u3063\u305f\u5bfe\u7b56\u3092\u5b9f\u65bd\u3059\u308b\u3053\u3068\u304c\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u6027\u3092\u4fdd\u3064\u305f\u3081\u306b\u306f\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u7279\u306b\u30b7\u30b9\u30c6\u30e0\u8a2d\u8a08\u306e\u6bb5\u968e\u304b\u3089\u3053\u308c\u3089\u306e\u5bfe\u7b56\u3092\u53d6\u308a\u5165\u308c\u3001\u65e5\u5e38\u306e\u904b\u7528\u306b\u304a\u3044\u3066\u3082\u7d99\u7d9a\u7684\u306a\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3068\u6539\u5584\u3092\u884c\u3046\u3053\u3068\u304c\u3001\u9577\u671f\u7684\u306a\u4fe1\u983c\u6027\u5411\u4e0a\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005\u3084IT\u62c5\u5f53\u8005\u306f\u3001\u3053\u308c\u3089\u306e\u57fa\u672c\u7684\u306a\u77e5\u8b58\u3068\u5b9f\u8df5\u3092\u901a\u3058\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u904b\u7528\u3092\u652f\u3048\u3001\u30ea\u30b9\u30af\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b\u52aa\u529b\u3092\u7d9a\u3051\u308b\u3053\u3068\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002\u9069\u5207\u306a\u5bfe\u7b56\u3068\u7d99\u7d9a\u7684\u306a\u7ba1\u7406\u306b\u3088\u308a\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u4fe1\u983c\u6027\u3092\u7dad\u6301\u3057\u3001\u5b89\u5fc3\u3057\u3066\u904b\u7528\u3067\u304d\u308b\u74b0\u5883\u3092\u7bc9\u3044\u3066\u3044\u304f\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p><br><br><p>\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u904b\u7528\u306b\u306f\u3001\u65e5\u3005\u306e\u9069\u5207\u306a\u7ba1\u7406\u3068\u7d99\u7d9a\u7684\u306a\u6539\u5584\u304c\u6b20\u304b\u305b\u307e\u305b\u3093\u3002\u4eca\u56de\u3054\u7d39\u4ecb\u3057\u305fEDEADLK\u306e\u5bfe\u7b56\u3084\u4e88\u9632\u7b56\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u306e\u57fa\u672c\u3068\u3057\u3066\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002\u3082\u3057\u3001\u3054\u81ea\u8eab\u306e\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3044\u3066\u4e0d\u5b89\u3084\u8ab2\u984c\u3092\u611f\u3058\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u5c02\u9580\u7684\u306a\u30b5\u30dd\u30fc\u30c8\u3092\u53d7\u3051\u308b\u3053\u3068\u3082\u691c\u8a0e\u3055\u308c\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002\u4fe1\u983c\u3067\u304d\u308b\u30d1\u30fc\u30c8\u30ca\u30fc\u3068\u9023\u643a\u3057\u3001\u5b9a\u671f\u7684\u306a\u76e3\u67fb\u3084\u6700\u9069\u5316\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u30ea\u30b9\u30af\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u3001\u5b89\u5b9a\u3057\u305f\u904b\u7528\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002\u79c1\u305f\u3061\u306f\u3001\u30c7\u30fc\u30bf\u5fa9\u65e7\u3084\u30b7\u30b9\u30c6\u30e0\u4fdd\u5168\u306e\u5206\u91ce\u3067\u591a\u304f\u306e\u5b9f\u7e3e\u3092\u6301\u3061\u3001\u5b89\u5fc3\u3057\u3066\u304a\u4efb\u305b\u3044\u305f\u3060\u3051\u308b\u4f53\u5236\u3092\u6574\u3048\u3066\u3044\u307e\u3059\u3002\u307e\u305a\u306f\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u3044\u305f\u3060\u304d\u3001\u73fe\u72b6\u306e\u72b6\u6cc1\u3084\u3054\u8981\u671b\u3092\u304a\u805e\u304b\u305b\u304f\u3060\u3055\u3044\u3002\u9069\u5207\u306a\u30a2\u30c9\u30d0\u30a4\u30b9\u3068\u30b5\u30dd\u30fc\u30c8\u3092\u901a\u3058\u3066\u3001\u8cb4\u793e\u306eIT\u74b0\u5883\u3092\u3088\u308a\u5805\u7262\u306b\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p><br><br><p>EDEADLK\u306b\u95a2\u3059\u308b\u5bfe\u7b56\u3084\u4e88\u9632\u7b56\u3092\u5b9f\u65bd\u3059\u308b\u969b\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\u3092\u62bc\u3055\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305a\u3001\u30b7\u30b9\u30c6\u30e0\u8a2d\u8a08\u6bb5\u968e\u3067\u306e\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u6700\u9069\u5316\u306f\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u304c\u3001\u3053\u308c\u306b\u306f\u9ad8\u5ea6\u306a\u6280\u8853\u7684\u77e5\u8b58\u3084\u7d4c\u9a13\u304c\u6c42\u3081\u3089\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u8aa4\u3063\u305f\u8a2d\u8a08\u3084\u8a2d\u5b9a\u306f\u3001\u9006\u306b\u30b7\u30b9\u30c6\u30e0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u4f4e\u4e0b\u3084\u65b0\u305f\u306a\u554f\u984c\u306e\u539f\u56e0\u3068\u306a\u308b\u53ef\u80fd\u6027\u3082\u3042\u308b\u305f\u3081\u3001\u5c02\u9580\u7684\u306a\u652f\u63f4\u3084\u5341\u5206\u306a\u691c\u8a3c\u3092\u884c\u3046\u3053\u3068\u304c\u671b\u307e\u3057\u3044\u3067\u3059\u3002  \u6b21\u306b\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u8a2d\u5b9a\u3084\u30ed\u30c3\u30af\u306e\u7bc4\u56f2\u5236\u9650\u306f\u6709\u52b9\u306a\u5bfe\u7b56\u3067\u3059\u304c\u3001\u3053\u308c\u3089\u3092\u9069\u5207\u306b\u8a2d\u5b9a\u3057\u306a\u3044\u3068\u3001\u51e6\u7406\u306e\u9045\u5ef6\u3084\u30c7\u30fc\u30bf\u306e\u6574\u5408\u6027\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u7279\u306b\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u6642\u9593\u306e\u8a2d\u5b9a\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u904b\u7528\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u8abf\u6574\u304c\u5fc5\u8981\u3067\u3042\u308a\u3001\u9577\u3059\u304e\u308b\u3068\u30c7\u30c3\u30c9\u30ed\u30c3\u30af\u306e\u30ea\u30b9\u30af\u304c\u9ad8\u307e\u308b\u4e00\u65b9\u3001\u77ed\u3059\u304e\u308b\u3068\u6b63\u5e38\u306a\u51e6\u7406\u3082\u4e2d\u65ad\u3055\u308c\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002  \u307e\u305f\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u7d99\u7d9a\u7684\u306a\u76e3\u8996\u3084\u30ed\u30b0\u5206\u6790\u306b\u3064\u3044\u3066\u3082\u3001\u5c02\u9580\u7684\u306a\u30c4\u30fc\u30eb\u3084\u77e5\u8b58\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u308c\u3089\u3092\u6020\u308b\u3068\u3001\u554f\u984c\u306e\u65e9\u671f\u767a\u898b\u3084\u6839\u672c\u539f\u56e0\u306e\u7279\u5b9a\u304c\u9045\u308c\u3001\u7d50\u679c\u7684\u306b\u30b7\u30b9\u30c6\u30e0\u306e\u4fe1\u983c\u6027\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3059\u6050\u308c\u304c\u3042\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u904b\u7528\u30eb\u30fc\u30eb\u3084\u7ba1\u7406\u4f53\u5236\u306e\u5fb9\u5e95\u3082\u91cd\u8981\u3067\u3042\u308a\u3001\u62c5\u5f53\u8005\u306e\u7d4c\u9a13\u3084\u610f\u8b58\u306b\u4f9d\u5b58\u3057\u3059\u304e\u308b\u3068\u3001\u898b\u843d\u3068\u3057\u3084\u4e0d\u9069\u5207\u306a\u5bfe\u5fdc\u306b\u3064\u306a\u304c\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002  \u6700\u5f8c\u306b\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u8a2d\u8a08\u3084\u904b\u7528\u306b\u304a\u3044\u3066\u306f\u3001\u5e38\u306b\u6700\u65b0\u306e\u60c5\u5831\u3084\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u53d6\u308a\u5165\u308c\u308b\u3053\u3068\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002\u6280\u8853\u306e\u9032\u6b69\u3084\u696d\u754c\u306e\u52d5\u5411\u306b\u4f34\u3044\u3001\u6700\u9069\u306a\u5bfe\u7b56\u3082\u5909\u5316\u3057\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u4e00\u5ea6\u306e\u5bfe\u7b56\u3060\u3051\u3067\u306a\u304f\u3001\u7d99\u7d9a\u7684\u306a\u898b\u76f4\u3057\u3068\u6539\u5584\u3092\u884c\u3046\u3053\u3068\u304c\u3001\u9577\u671f\u7684\u306a\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u904b\u7528\u306b\u306f\u6b20\u304b\u305b\u307e\u305b\u3093\u3002\u3053\u308c\u3089\u306e\u70b9\u3092\u610f\u8b58\u3057\u306a\u304c\u3089\u3001\u614e\u91cd\u304b\u3064\u8a08\u753b\u7684\u306b\u5bfe\u7b56\u3092\u9032\u3081\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002    \u203b\u5f53\u793e\u306f\u3001\u7d30\u5fc3\u306e\u6ce8\u610f\u3092\u6255\u3063\u3066\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u60c5\u5831\u3092\u63b2\u8f09\u3057\u3066\u304a\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u60c5\u5831\u306e\u6b63\u78ba\u6027\u304a\u3088\u3073\u5b8c\u5168\u6027\u3092\u4fdd\u8a3c\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5f53\u793e\u306f\u4e88\u544a\u306a\u3057\u306b\u3001\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5f53\u793e\u304a\u3088\u3073\u305d\u306e\u95a2\u9023\u4f1a\u793e\u306f\u3001\u304a\u5ba2\u3055\u307e\u304c\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u542b\u307e\u308c\u308b\u60c5\u5831\u3082\u3057\u304f\u306f\u5185\u5bb9\u3092\u3054\u5229\u7528\u3055\u308c\u305f\u3053\u3068\u3067\u76f4\u63a5\u30fb\u9593\u63a5\u7684\u306b\u751f\u3058\u305f\u640d\u5931\u306b\u95a2\u3057\u4e00\u5207\u8cac\u4efb\u3092\u8ca0\u3046\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p><br><br><h2 class='fukudai'>\u88dc\u8db3\u60c5\u5831<\/h2><br><p>\u203b\u682a\u5f0f\u4f1a\u793e\u60c5\u5831\u5de5\u5b66\u7814\u7a76\u6240\u306f\uff08\u4ee5\u4e0b\u3001\u5f53\u793e\uff09\u306f\u3001\u7d30\u5fc3\u306e\u6ce8\u610f\u3092\u6255\u3063\u3066\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u60c5\u5831\u3092\u63b2\u8f09\u3057\u3066\u304a\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u60c5\u5831\u306e\u6b63\u78ba\u6027\u304a\u3088\u3073\u5b8c\u5168\u6027\u3092\u4fdd\u8a3c\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5f53\u793e\u306f\u4e88\u544a\u306a\u3057\u306b\u3001\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5f53\u793e\u304a\u3088\u3073\u305d\u306e\u95a2\u9023\u4f1a\u793e\u306f\u3001\u304a\u5ba2\u3055\u307e\u304c\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u542b\u307e\u308c\u308b\u60c5\u5831\u3082\u3057\u304f\u306f\u5185\u5bb9\u3092\u3054\u5229\u7528\u3055\u308c\u305f\u3053\u3068\u3067\u76f4\u63a5\u30fb\u9593\u63a5\u7684\u306b\u751f\u3058\u305f\u640d\u5931\u306b\u95a2\u3057\u4e00\u5207\u8cac\u4efb\u3092\u8ca0\u3046\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p><br><br>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u3082\u304f\u3058 \u7b2c1\u7ae0\uff1a\u300c\u305f\u307e\u306b\u56fa\u307e\u308b\u300d\u304c\u4e00\u756a\u5384\u4ecb\uff1a\u73fe\u5834\u304c\u62b1\u3048\u308b\u201c\u8aac\u660e\u3067\u304d\u306a\u3044\u505c\u6b62\u201d \u7b2c2\u7ae0\uff1aEDEADLK(35)\u306f\u60aa\u3044\u77e5\u3089\u305b\u3067\u306f\u306a\u3044\uff1a\u30cf\u30f3\u30b0\u3059\u308b\u524d\u306b\u691c\u51fa\u3067\u304d\u305f\u3068\u3044\u3046\u610f\u5473 \u7b2c3\u7ae0\uff1a\u3069\u3053\u3067\u8fd4\u308b\uff1fpthread mutex\uff0ffut [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"","site-content-layout":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[62],"tags":[56,50,43],"class_list":["post-42426","post","type-post","status-publish","format-standard","hentry","category-1-","tag-56","tag-50","tag-43"],"_links":{"self":[{"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/posts\/42426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42426"}],"version-history":[{"count":4,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/posts\/42426\/revisions"}],"predecessor-version":[{"id":54880,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/posts\/42426\/revisions\/54880"}],"wp:attachment":[{"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}