{"id":382,"date":"2011-05-15T03:05:21","date_gmt":"2011-05-14T18:05:21","guid":{"rendered":"http:\/\/blog.xcir.net\/?p=382"},"modified":"2011-05-15T14:09:34","modified_gmt":"2011-05-15T05:09:34","slug":"varnishcache3-0beta1%e3%81%a7%e5%a4%89%e6%9b%b4%e3%81%95%e3%82%8c%e3%81%9f%e3%83%91%e3%83%a9%e3%83%a1%e3%83%bc%e3%82%bf%e4%b8%80%e8%a6%a7","status":"publish","type":"post","link":"https:\/\/blog.xcir.net\/?p=382","title":{"rendered":"VarnishCache3.0beta1\u3067\u5909\u66f4\u3055\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u4e00\u89a7"},"content":{"rendered":"<p>VarnishCache3.0\u306e\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8\u3067\u3082\u3042\u3063\u305f\u3068\u304a\u308a\u30c7\u30d5\u30a9\u30eb\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u53ca\u3073\u8ffd\u52a0\u30fb\u524a\u9664\u30fb\u540d\u524d\u5909\u66f4\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u7279\u7b46\u3059\u3079\u304d\u7b87\u6240\u306f\u30b3\u30e1\u30f3\u30c8\u3092\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u8ffd\u52a0\u3055\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf<\/h2>\n<li>ban_dups<\/li>\n<li>default_keep<\/li>\n<li>expiry_sleep<\/li>\n<li>fetch_maxchunksize<\/li>\n<li>gzip_level<\/li>\n<li>gzip_stack_buffer<\/li>\n<li>gzip_tmp_space<\/li>\n<li>http_gzip_support<\/li>\n<li>http_req_hdr_len<\/li>\n<li>http_req_size<\/li>\n<li>http_resp_hdr_len<\/li>\n<li>http_resp_size<\/li>\n<li>shortlived<\/li>\n<blockquote><p>\u6307\u5b9a\u3055\u308c\u305f\u79d2\u6570\u4ee5\u4e0b\u306eTTL\u3092\u3082\u3064\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4e00\u6642\u7684\u306a\u30b9\u30c8\u30ec\u30fc\u30b8(malloc)\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\uff08\u30c7\u30d5\u30a9\u30eb\u30c810\u79d2\uff09<br \/>\n\u74b0\u5883\u306b\u3088\u3063\u3066\u5909\u3048\u308b\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u52b9\u3044\u3066\u304d\u305d\u3046\u306a\u304d\u304c\u3057\u307e\u3059\u3002\n<\/p><\/blockquote>\n<li>thread_pool_workspace<\/li>\n<li>vcc_err_unref<\/li>\n<blockquote><p>\u4eca\u307e\u3067\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u304a\u3044\u3066\u4f8b\u3048\u3070backend\u3092\u5b9a\u7fa9\u3057\u305f\u3082\u306e\u306e\u305d\u308c\u304c\u30b3\u30fc\u30c9\u4e2d\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306fVCC\u3067\u30a8\u30e9\u30fc\u304c\u3067\u307e\u3057\u305f<br \/>\n[root@LIP-APP-01 redhat]# varnishd -d -f \/etc\/varnish\/default.vcl.rpmnew<br \/>\nMessage from VCC-compiler:<br \/>\nUnused backend default2, defined:<br \/>\n(&#8216;input&#8217; Line 7 Pos 9)<br \/>\nbackend default2 {<br \/>\n&#8212;&#8212;&#8211;########&#8211;<\/p>\n<p>Running VCC-compiler failed, exit 1<\/p>\n<p>VCL compilation failed<br \/>\n\u3057\u304b\u3057\u3053\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092OFF\u306b\u3059\u308b\u3068\u8b66\u544a\u306f\u3067\u307e\u3059\u304c\u8d77\u52d5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059<br \/>\n[root@LIP-APP-01 redhat]# varnishd -d -f \/etc\/varnish\/default.vcl.rpmnew -p vcc_err_unref=off<br \/>\nMessage from VCC-compiler:<br \/>\nUnused backend default2, defined:<br \/>\n(&#8216;input&#8217; Line 7 Pos 9)<br \/>\nbackend default2 {<br \/>\n&#8212;&#8212;&#8211;########&#8211;<\/p>\n<p>(That was just a warning)<br \/>\n\u30c7\u30d5\u30a9\u30eb\u30c8\u306fON\u3067\u3059\u304cOFF\u306b\u3059\u308b\u3068\u904a\u3093\u3067\u898b\u308b\u3068\u304d\u306b\u306f\u4fbf\u5229\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u304b\u3082\u3057\u308c\u307e\u305b\u3093\n<\/p><\/blockquote>\n<li>vcl_dir<\/li>\n<li>vmod_dir<\/li>\n<h2>\u5909\u66f4\u3055\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf<\/h2>\n<p>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u3088\u304f\u306a\u308b\u3088\u3046\u306a\u65b9\u5411\u306b\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<li>ban_lurker_sleep<\/li>\n<li>cc_command<\/li>\n<blockquote><p>\u4eca\u307e\u3067\u306f\u56fa\u5b9a\u3067<br \/>\nexec cc -fpic -shared -Wl,-x -o %o %s<br \/>\n\u3067\u3057\u305f\u304c<br \/>\nexec $PTHREAD_CC $OCFLAGS $PTHREAD_CFLAGS -fpic -shared -Wl,-x -o %o %s<br \/>\n\u306b\u5909\u66f4\u3055\u308c\u307e\u3057\u305f\u3002\n<\/p><\/blockquote>\n<li>connect_timeout<\/li>\n<li>http_range_support<\/li>\n<blockquote><p>EXPERIMENTAL\u306f\u5916\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067ON\u306b\u5909\u308f\u308a\u307e\u3057\u305f\u3002Range\u3082\u3042\u308b\u7a0b\u5ea6\u306e\u5b89\u5b9a\u6027\u304c\u78ba\u4fdd\u3067\u304d\u305f\u3068\u8003\u3048\u3066\u3082\u3044\u3044\u3067\u3057\u3087\u3046<\/p><\/blockquote>\n<li>log_hashstring<\/li>\n<li>send_timeout<\/li>\n<li>thread_pool_add_delay<\/li>\n<li>thread_pool_max<\/li>\n<li>thread_pool_min<\/li>\n<li>thread_pool_timeout<\/li>\n<h2>\u540d\u524d\u304c\u5909\u308f\u3063\u305f\u30d1\u30e9\u30e1\u30fc\u30bf<\/h2>\n<p>\u540d\u524d\u304c\u5909\u308f\u3063\u305f\u3060\u3051\u3067\u5024\u306e\u5909\u66f4\u306f\u3042\u308a\u307e\u305b\u3093<\/p>\n<li>http_max_hdr<\/li>\n<blockquote><p>http_headers\u304b\u3089\u5909\u66f4\u3055\u308c\u307e\u3057\u305f<\/p><\/blockquote>\n<li>max_esi_depth<\/li>\n<blockquote><p>max_esi_includes\u304b\u3089\u5909\u66f4\u3055\u308c\u307e\u3057\u305f<\/p><\/blockquote>\n<li>queue_max<\/li>\n<blockquote><p>overflow_max\u304b\u3089\u5909\u66f4\u3055\u308c\u307e\u3057\u305f<\/p><\/blockquote>\n<p>\u8a73\u3057\u3044\u5909\u66f4\u5c65\u6b74\u306f\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044<br \/>\n<a href=\"http:\/\/wiki.xcir.net\/index.php?title=Varnish%E3%83%A9%E3%83%B3%E3%82%BF%E3%82%A4%E3%83%A0%E3%83%91%E3%83%A9%E3%83%A1%E3%83%BC%E3%82%BF\">Varnish\u30e9\u30f3\u30bf\u30a4\u30e0\u30d1\u30e9\u30e1\u30fc\u30bf<\/a><\/p>\n<p>&#8212;<br \/>\n(5\/15 14:00\u66f4\u65b0) queue_max\u306foverflow_max\u306e\u30ea\u30cd\u30fc\u30e0\u3067\u3057\u305f<\/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%3D382&title=VarnishCache3.0beta1%E3%81%A7%E5%A4%89%E6%9B%B4%E3%81%95%E3%82%8C%E3%81%9F%E3%83%91%E3%83%A9%E3%83%A1%E3%83%BC%E3%82%BF%E4%B8%80%E8%A6%A7' 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=382' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - VarnishCache3.0beta1\u3067\u5909\u66f4\u3055\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u4e00\u89a7' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='\/\/b.hatena.ne.jp\/entry\/image\/https:\/\/blog.xcir.net\/?p=382' alt='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - VarnishCache3.0beta1\u3067\u5909\u66f4\u3055\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u4e00\u89a7' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - VarnishCache3.0beta1\u3067\u5909\u66f4\u3055\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u4e00\u89a7'   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%3D382&t=VarnishCache3.0beta1%E3%81%A7%E5%A4%89%E6%9B%B4%E3%81%95%E3%82%8C%E3%81%9F%E3%83%91%E3%83%A9%E3%83%A1%E3%83%BC%E3%82%BF%E4%B8%80%E8%A6%A7' 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%3D382&title=VarnishCache3.0beta1%E3%81%A7%E5%A4%89%E6%9B%B4%E3%81%95%E3%82%8C%E3%81%9F%E3%83%91%E3%83%A9%E3%83%A1%E3%83%BC%E3%82%BF%E4%B8%80%E8%A6%A7' 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=382\" data-text=\"VarnishCache3.0beta1\u3067\u5909\u66f4\u3055\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u4e00\u89a7\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>VarnishCache3.0\u306e\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8\u3067\u3082\u3042\u3063\u305f\u3068\u304a\u308a\u30c7\u30d5\u30a9\u30eb\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u53ca\u3073\u8ffd\u52a0\u30fb\u524a\u9664\u30fb\u540d\u524d\u5909\u66f4\u304c\u3042\u308a\u307e\u3059\u3002 \u7279\u7b46\u3059\u3079\u304d\u7b87\u6240\u306f\u30b3\u30e1\u30f3\u30c8\u3092\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<\/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,20],"class_list":["post-382","post","type-post","status-publish","format-standard","hentry","category-3","tag-varnish","tag-varnish3-0beta1","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\/382","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=382"}],"version-history":[{"count":16,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/382\/revisions"}],"predecessor-version":[{"id":398,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/382\/revisions\/398"}],"wp:attachment":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}