{"id":2619,"date":"2017-08-02T11:57:32","date_gmt":"2017-08-02T02:57:32","guid":{"rendered":"http:\/\/blog.xcir.net\/?p=2619"},"modified":"2017-08-08T12:11:21","modified_gmt":"2017-08-08T03:11:21","slug":"varnish4-1-7%e3%81%8c%e5%85%ac%e9%96%8b%e3%81%95%e3%82%8c%e3%81%be%e3%81%97%e3%81%9f","status":"publish","type":"post","link":"https:\/\/blog.xcir.net\/?p=2619","title":{"rendered":"Varnish4.1.7\u304c\u516c\u958b\u3055\u308c\u307e\u3057\u305f"},"content":{"rendered":"<p>4.1\u7cfb\u306e\u6700\u65b0\u7248\u306e4.1.7\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002 [<a href=\"https:\/\/github.com\/varnishcache\/varnish-cache\/blob\/varnish-4.1.7\/doc\/changes.rst\">changelog<\/a>] [<a href=\"https:\/\/www.varnish-cache.org\/#maintenance-release-4-1-7\">\u516c\u5f0f\u306e\u30ea\u30ea\u30fc\u30b9\u6587<\/a>] [<a href=\"https:\/\/packagecloud.io\/varnishcache\/varnish41\">\u30d1\u30c3\u30b1\u30fc\u30b8DL<\/a>] [<a href=\"https:\/\/www.varnish-cache.org\/releases\/index.html\">\u30bd\u30fc\u30b9DL<\/a>]<\/p>\n<p>\u4eca\u56de\u306e\u5909\u66f4\u5185\u5bb9\u306f\u4e3b\u306bstat\u5468\u308a\u306e\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9\u3068\u3061\u3087\u3063\u3068\u3057\u305f\u65b0\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<h4>\u8ffd\u52a0\u3055\u308c\u305f\u6a5f\u80fd<\/h4>\n<p><strong>varnishncsa\u306eLogFormat\u306e%{X}x\u3067record-prefix\u306b\u5bfe\u5fdc\u3057\u307e\u3057\u305f(<a href=\"https:\/\/github.com\/varnishcache\/varnish-cache\/pull\/2077\">#2077<\/a>)<\/strong><\/p>\n<p>\u3082\u3068\u3082\u3068\u306f%{VSL:tag[field]}x\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u6307\u5b9a\u3067\u304d\u305f\u306e\u3067\u3059\u304c<br \/>\nTimestamp\u306e\u3088\u3046\u306b\u540c\u4e00\u30bf\u30b0\u3067\u30e9\u30d9\u30eb\u3067\u60c5\u5831\u304c\u9055\u3046\u3082\u306e\u306e\u5834\u5408\u3001\u4f8b\u3048\u3070Process\u306b\u304b\u304b\u3063\u305f\u6642\u9593\u3001Fetch\u306b\u304b\u304b\u3063\u305f\u6642\u9593\u3092\u5206\u3051\u3066\u51fa\u529b\u3059\u308b\u3053\u3068\u306f\u4e0d\u53ef\u80fd\u3067\u3057\u305f\u3002(\u6700\u521d\u306b\u30de\u30c3\u30c1\u3057\u305f\u3082\u306e\u3060\u3051\u306a\u306e\u3067Start\u306b\u306a\u308b)<br \/>\n\u3057\u304b\u3057\u4eca\u56derecord-prefix\u306b\u5bfe\u5fdc\u3057\u305f\u305f\u3081\u3001vsl-query\u306e\u3088\u3046\u306a\u67d4\u8edf\u306a\u6307\u5b9a\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002(level\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u306a\u3044\u3067\u3059\u304c)<\/p>\n<pre class=\"brush: shell; \">\n\r\n$ sudo varnishncsa -F &quot;fetch:%{VSL:timestamp:fetch[2]}x process:%{VSL:timestamp:process[2]}x&quot;\r\nfetch:0.000377 process:0.000392\r\n\n<\/pre>\n<h4>\u30d0\u30b0\u4fee\u6b63<\/h4>\n<p><strong>workspace\u306e\u30ea\u30bb\u30c3\u30c8\u6f0f\u308c\u3067workspace\u304c\u8db3\u308a\u306a\u304f\u306a\u3063\u3066\u843d\u3061\u308b\u30b1\u30fc\u30b9\u304c\u3042\u3063\u305f\u306e\u3092\u4fee\u6b63(<a href=\"https:\/\/github.com\/varnishcache\/varnish-cache\/issues\/2219\">#2219<\/a>)<\/strong><\/p>\n<p><strong>varnishstat\u3067\u306eglob\u3092\u4fee\u6b63(<a href=\"https:\/\/github.com\/varnishcache\/varnish-cache\/issues\/2022\">#2022<\/a>,<a href=\"https:\/\/github.com\/varnishcache\/varnish-cache\/issues\/2118\">2118<\/a>,<a href=\"https:\/\/github.com\/varnishcache\/varnish-cache\/issues\/2320\">2320<\/a>)<\/strong><br \/>\n\u3042\u307e\u308a\u77e5\u3089\u308c\u3066\u3044\u306a\u3044\u30aa\u30d7\u30b7\u30e7\u30f3\u3060\u3068\u601d\u3046\u306e\u3067\u3059\u304c -f\u3067stat\u306e\u30ad\u30fc\u7d5e\u308a\u8fbc\u307f\u3092\u3067\u304d\u308b\u306e\u3067\u3059\u304c<br \/>\n-1\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u306e\u6642\u306b\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u30d0\u30b0\u304c\u3044\u304f\u3064\u304b\u3042\u3063\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n<p><strong>nuke_limit\u306e\u52b9\u679c\u304c\u306a\u304f\u306a\u3063\u3066\u3044\u305f\u306e\u3092\u4fee\u6b63(<a href=\"https:\/\/github.com\/varnishcache\/varnish-cache\/issues\/1764\">#1764<\/a>)<\/strong><\/p>\n<p><strong>\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u306e\u5fdc\u7b54\u3067Reason-Phrase\u304c\u306a\u3044\u5834\u5408\u306b\u5931\u6557\u3057\u3066\u3044\u305f\u306e\u3092\u4fee\u6b63(<a href=\"https:\/\/github.com\/varnishcache\/varnish-cache\/issues\/2069\">#2069<\/a>)<\/strong><\/p>\n<p>\uff08\u3061\u306a\u307f\u306b\u4eca\u56de\u8a18\u4e8b\u304c\u9045\u308c\u305f\u306e\u306f\u524d\u306e\u8a18\u4e8b\u66f8\u3044\u305f\u3042\u3068\u3042\u305f\u308a\u306b\u66f8\u3044\u305f\u3064\u3082\u308a\u306b\u306a\u3063\u3066\u5fd8\u308c\u3066\u307e\u3057\u305f\u30fb\u30fb\u3059\u3044\u307e\u305b\u3093\uff09<\/p>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_hatena\"><a href='\/\/b.hatena.ne.jp\/add?mode=confirm&url=https%3A%2F%2Fblog.xcir.net%2F%3Fp%3D2619&title=Varnish4.1.7%E3%81%8C%E5%85%AC%E9%96%8B%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F' title='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='https:\/\/blog.xcir.net\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/hatena.gif' alt='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' title='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' width='16' height='12' class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_hatena_users\"><a href='\/\/b.hatena.ne.jp\/entry\/https:\/\/blog.xcir.net\/?p=2619' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.1.7\u304c\u516c\u958b\u3055\u308c\u307e\u3057\u305f' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='\/\/b.hatena.ne.jp\/entry\/image\/https:\/\/blog.xcir.net\/?p=2619' alt='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.1.7\u304c\u516c\u958b\u3055\u308c\u307e\u3057\u305f' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.1.7\u304c\u516c\u958b\u3055\u308c\u307e\u3057\u305f'   class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_facebook\"><a href='http:\/\/www.facebook.com\/share.php?u=https%3A%2F%2Fblog.xcir.net%2F%3Fp%3D2619&t=Varnish4.1.7%E3%81%8C%E5%85%AC%E9%96%8B%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F' title='Facebook \u306b\u30b7\u30a7\u30a2' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='https:\/\/blog.xcir.net\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/facebook.png' alt='Facebook \u306b\u30b7\u30a7\u30a2' title='Facebook \u306b\u30b7\u30a7\u30a2' width='16' height='16' class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_linkedin\"><a href='\/\/www.linkedin.com\/shareArticle?mini=true&url=https%3A%2F%2Fblog.xcir.net%2F%3Fp%3D2619&title=Varnish4.1.7%E3%81%8C%E5%85%AC%E9%96%8B%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F' title='LinkedIn \u306b\u30b7\u30a7\u30a2' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='https:\/\/blog.xcir.net\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/linkedin.png' alt='LinkedIn \u306b\u30b7\u30a7\u30a2' title='LinkedIn \u306b\u30b7\u30a7\u30a2' width='16' height='16' class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/blog.xcir.net\/?p=2619\" data-text=\"Varnish4.1.7\u304c\u516c\u958b\u3055\u308c\u307e\u3057\u305f\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>4.1\u7cfb\u306e\u6700\u65b0\u7248\u306e4.1.7\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002 [changelog] [\u516c\u5f0f\u306e\u30ea\u30ea\u30fc\u30b9\u6587] [\u30d1\u30c3\u30b1\u30fc\u30b8DL] [\u30bd\u30fc\u30b9DL] \u4eca\u56de\u306e\u5909\u66f4\u5185\u5bb9\u306f\u4e3b\u306bstat\u5468\u308a\u306e\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9\u3068\u3061\u3087\u3063\u3068\u3057\u305f\u65b0\u6a5f\u80fd\u3067\u3059\u3002 \u8ffd\u52a0\u3055\u308c\u305f <a href='https:\/\/blog.xcir.net\/?p=2619' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[5,77,32],"class_list":["post-2619","post","type-post","status-publish","format-standard","hentry","category-3","tag-varnish","tag-varnish4-1-7","tag-32","category-3-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/2619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2619"}],"version-history":[{"count":2,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/2619\/revisions"}],"predecessor-version":[{"id":2649,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/2619\/revisions\/2649"}],"wp:attachment":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2619"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}