{"id":5492,"date":"2015-12-15T19:27:56","date_gmt":"2015-12-15T10:27:56","guid":{"rendered":"http:\/\/www.skyarch.net\/blog\/?p=5492"},"modified":"2016-06-06T20:33:59","modified_gmt":"2016-06-06T11:33:59","slug":"jmeter%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%9f%e8%b2%a0%e8%8d%b7%e8%a9%a6%e9%a8%93%e3%81%a7%e3%81%ae%e3%81%a1%e3%82%87%e3%81%a3%e3%81%a8%e3%81%97%e3%81%9f%e6%b3%a8%e6%84%8f%e7%82%b9","status":"publish","type":"post","link":"https:\/\/www.skyarch.net\/blog\/jmeter%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%9f%e8%b2%a0%e8%8d%b7%e8%a9%a6%e9%a8%93%e3%81%a7%e3%81%ae%e3%81%a1%e3%82%87%e3%81%a3%e3%81%a8%e3%81%97%e3%81%9f%e6%b3%a8%e6%84%8f%e7%82%b9\/","title":{"rendered":"Jmeter\u3092\u4f7f\u7528\u3057\u305f\u8ca0\u8377\u8a66\u9a13\u3067\u306e\u3061\u3087\u3063\u3068\u3057\u305f\u6ce8\u610f\u70b9"},"content":{"rendered":"<p>\u304a\u4e45\u3057\u3076\u308a\u3067\u3059\u3001\u306f\u3058\u3081\u307e\u3057\u3066\u306e\u65b9\u3082\u304a\u4e45\u3057\u3076\u308a\u306e\u65b9\u3082\u304a\u5143\u6c17\u3067\u3059\u304b\uff1f<br \/>\n\u304a\u3063\u3055\u3093\u306f\u4eca\u65e5\u3082\u4ed5\u4e8b\u306e\u5f8c\u306e\u9ea6\u9152\u304c\u304a\u3044\u3057\u3044\u3067\u3059\u3002<br \/>\n\u79cb\u304b\u3089\u5bb6\u65cf\u306b\u306a\u3063\u305f\u3001\u3046\u3061\u306e\u732b\u306e\u304b\u308f\u3044\u3055\u3092\u4e16\u754c\u4e2d\u306b\u4f1d\u3048\u308b\u305f\u3081\u306b2000\u6587\u5b57\u4f4d\u306e\u8a18\u4e8b\u3092\u6295\u7a3f\u3057\u305f\u3044\u5fc3\u3092\u3050\u3063\u3068\u3053\u3089\u3048\u3066<br \/>\nJmeter\u3092\u4f7f\u3063\u305f\u8ca0\u8377\u8a66\u9a13\u3067\u306e\u3061\u3087\u3063\u3068\u3057\u305f\u6ce8\u610f\u70b9\u3092\u3054\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u3093\u306a\u3093\u77e5\u3063\u3066\u308b\u3088\uff5e\u3063\u3066\u65b9\u306f\u300c\u30a4\u30a4\u306d\u300d\u3060\u3051\u30af\u30ea\u30c3\u30af\u3057\u3066\u9802\u3044\u3066\u4ed6\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6c17\u306b\u306a\u308b\u65b9\u306f\u7d9a\u304d\u3092\u8aad\u3080\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068<\/p>\n<p>\u4eca\u56de\u306f\u4e0b\u8a18\uff12\u3064\u306e\u6ce8\u610f\u70b9\u3092\u3054\u7d39\u4ecb\u3044\u305f\u3057\u307e\u3059\u3002<br \/>\n<strong>\u30fbWindows\u3067Jmeter\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u5834\u5408\u306e\u6ce8\u610f\u70b9<\/strong><br \/>\n<strong>\u30fbAWS ELB\u306b\u5bfe\u3057\u3066\u306e\u8ca0\u8377\u8a66\u9a13\u306e\u969b\u306b\u3084\u3063\u3066\u304a\u304b\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u4e8b<\/strong><\/p>\n<p><!--more--><\/p>\n<ul>\n<li><strong>Windows\u3067Jmeter\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u306e\u6ce8\u610f\u70b9<\/strong><br \/>\nJmeter\u306fJAVA\u4e0a\u3067\u52d5\u4f5c\u3057\u307e\u3059\u304cWindows\u74b0\u5883\u306e\u5834\u5408\u300164bitOS\u4e0a\u3067\u3082Oracle\u793e\u306e\u30b5\u30a4\u30c8\u304b\u3089\u81ea\u52d5\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306e\u5834\u5408<br \/>\n32bit\u7248\u306eJAVA\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\uff08\u304a\u524d\u306e\u78ba\u8a8d\u304c\u304a\u308d\u305d\u304b\u3068\u304b\u8a00\u308f\u306a\u3044\u3067\uff09<br \/>\n32bit\u7248JAVA\u3067\u3082Jmeter\u306f\u305d\u306e\u307e\u307e\u52d5\u4f5c\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u3059\u304c\uff01\uff01<\/li>\n<\/ul>\n<p>\u305f\u304f\u3055\u3093\u306e\u8ca0\u8377\u8a66\u9a13\u3092\u884c\u3044\u305f\u3044\u6642\u306bHEAP\u5024\u3092\u8abf\u6574\u3057\u30664GB\u4ee5\u4e0a\u306e\u30e1\u30e2\u30ea\u3092\u5272\u308a\u5f53\u3066\u308b\u3068<br \/>\nOOM\u3067Jmeter\u304c\u8d77\u52d5\u3057\u306a\u3044\u3063\u3066\u4e8b\u306b\u306a\u3063\u3061\u3083\u3063\u305f\u308a\u3057\u3061\u3083\u3044\u307e\u3059\u3002<br \/>\n\u3067\u3059\u306e\u3067\u304d\u3061\u3093\u3068JAVA\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u304d\u306f<a href=\"https:\/\/java.com\/ja\/download\/manual.jsp\" target=\"_blank\">\u3053\u3061\u3089<\/a>\u304b\u308964bit\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3042\u3052\u307e\u3057\u3087\u3046<br \/>\n\u3082\u3061\u308d\u309364bit\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5f8c\u306fHEAP\u5024\u3092\u9069\u5207\u306b\u8abf\u6574\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<br \/>\n\u79c1\u3082\u3053\u308c\u3067\u3061\u3087\u3073\u3063\u3068\u30cf\u30de\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>AWS ELB\u306b\u5bfe\u3057\u3066\u306e\u8ca0\u8377\u8a66\u9a13\u306e\u969b\u306b\u3084\u3063\u3066\u304a\u304b\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u4e8b<\/strong><\/li>\n<\/ul>\n<p>JVM (java)\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3068\u3057\u3066DNS\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u7121\u5236\u9650\u3067\u4fdd\u6301\u3059\u308b\u8a2d\u5b9a\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\nAWS\u306eELB\u306fElastic Load Balancing\u306e\u6b63\u5f0f\u540d\u79f0\u306e\u901a\u308a\u4f38\u7e2e\u81ea\u5728\u306b\u30b9\u30b1\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n\u30b9\u30b1\u30fc\u30eb\u306b\u4f34\u3044IP\u3082\u5909\u308f\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br \/>\nDNS\u540d\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306e\u3067\u901a\u5e38\u306e\u30d6\u30e9\u30a6\u30b8\u30f3\u30b0\u7b49\u3067\u306f\u554f\u984c\u304c\u7121\u3044\u306e\u3067\u3059\u3051\u3069<br \/>\n\u4e0a\u8a18\u306eDNS\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u7121\u5236\u9650\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u307e\u3059\u3068\u8ca0\u8377\u8a66\u9a13\u306e\u9014\u4e2d\u3067ELB\u304c\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3057IP\u304c\u5909\u66f4\u3055\u308c<br \/>\n\u8ca0\u8377\u304c\u639b\u3051\u3089\u308c\u306a\u3044\u3068\u3044\u3046\u60b2\u3057\u3044\u4e8b\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u306e\u3067<br \/>\n\u4e0b\u8a18\u306e\u3088\u3046\u306bJVM\u5074\u3067DNS\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u5207\u3063\u3066\u3057\u307e\u3046\u304bJmeter\u8d77\u52d5\u6642\u306b\u5f15\u6570\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046<\/p>\n<p>\u30fbJVM\u5074\u3067\u306eDNS\u30ad\u30e3\u30c3\u30b7\u30e5\u7121\u52b9\u5316\u3067\u306e\u5bfe\u5fdc<br \/>\n$JAVA_HOME\/lib\/security\/java.security \u306b\u4e0b\u8a18\u3092\u8a18\u8ff0<br \/>\n#networkaddress.cache.ttl=-1\u3000\u21d0-1\u306f\u7121\u5236\u9650\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u307e\u3059\u3002<br \/>\n\u4e0a\u8a18\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306a\u306e\u3067\u4e0b\u8a18\u306e\u3088\u3046\u306b\u5909\u66f4<br \/>\nnetworkaddress.cache.ttl=0\u3000\u21d00\u306b\u3059\u308b\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u7121\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fbJmeter\u306e\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306e\u5bfe\u5fdc<br \/>\n\u30de\u30b9\u30bf\u30fc\u30b9\u30ec\u30fc\u30d6\u69cb\u6210\u3067\u306f\u30b9\u30ec\u30fc\u30d6\u5074\u306eJmeter-Server\u306e\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u306b\"-Dsun.net.inetaddr.ttl=0\"\u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051<br \/>\n\u3061\u306a\u307f\u306b\u8a18\u8ff0\u3068\u3057\u3066\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>${DIRNAME}\/jmeter ${RMI_HOST_DEF} -Dsun.net.inetaddr.ttl=0 -Dserver_port=${SERVER_PORT:-1099} -s -j jmeter-server.log \"$@\"<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u4eca\u56de\u306f\u3053\u3053\u307e\u3067\uff01\u6700\u5f8c\u306b\u3046\u3061\u306e\u732b\uff01<\/p>\n<a href=\"http:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2015\/12\/IMAG0113.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-5497\" src=\"http:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2015\/12\/IMAG0113-300x230.jpeg\" alt=\"IMAG0113\" width=\"300\" height=\"230\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2015\/12\/IMAG0113-300x230.jpeg 300w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2015\/12\/IMAG0113-1024x783.jpeg 1024w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2015\/12\/IMAG0113-900x689.jpeg 900w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2015\/12\/IMAG0113.jpeg 1788w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n","protected":false},"excerpt":{"rendered":"<p>\u304a\u4e45\u3057\u3076\u308a\u3067\u3059\u3001\u306f\u3058\u3081\u307e\u3057\u3066\u306e\u65b9\u3082\u304a\u4e45\u3057\u3076\u308a\u306e\u65b9\u3082\u304a\u5143\u6c17\u3067\u3059\u304b\uff1f \u304a\u3063\u3055\u3093\u306f\u4eca\u65e5\u3082\u4ed5\u4e8b\u306e\u5f8c\u306e\u9ea6\u9152\u304c\u304a\u3044\u3057\u3044\u3067\u3059\u3002 \u79cb\u304b\u3089\u5bb6\u65cf\u306b\u306a\u3063\u305f\u3001\u3046\u3061\u306e\u732b\u306e\u304b\u308f\u3044\u3055\u3092\u4e16\u754c\u4e2d\u306b\u4f1d\u3048\u308b\u305f\u3081\u306b2000\u6587\u5b57\u4f4d\u306e\u8a18\u4e8b\u3092\u6295\u7a3f\u3057\u305f\u3044\u5fc3\u3092\u3050\u3063\u3068\u3053\u3089&#8230;<\/p>\n","protected":false},"author":9,"featured_media":1008,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"5492","footnotes":""},"categories":[26],"tags":[],"class_list":{"0":"post-5492","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-26","8":"ja"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/5492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/comments?post=5492"}],"version-history":[{"count":10,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/5492\/revisions"}],"predecessor-version":[{"id":5507,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/5492\/revisions\/5507"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media\/1008"}],"wp:attachment":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media?parent=5492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/categories?post=5492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/tags?post=5492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}