{"id":4301,"date":"2010-05-18T04:02:32","date_gmt":"2010-05-17T19:02:32","guid":{"rendered":"http:\/\/fukata.org\/?p=4301"},"modified":"2017-08-11T23:15:42","modified_gmt":"2017-08-11T23:15:42","slug":"wordpress-tuning-on-serverman","status":"publish","type":"post","link":"https:\/\/blog.fukata.org\/archives\/4301\/","title":{"rendered":"[WordPress]ServerMan@VPS\u3067\u306e\u9ad8\u901f\u5316\u306e\u305f\u3081\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0"},"content":{"rendered":"
ServerMan@VPS\u306b\u79fb\u884c\u3057\u305f\u3068\u3044\u3046\u3053\u3068\u3082\u3042\u308a\u3001\u81ea\u7531\u306b\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u3092\u3044\u3058\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u9ad8\u901f\u5316\u306e\u305f\u3081\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u8272\u3005\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u73fe\u5728\u306e\u3068\u3053\u308d\u3069\u308c\u304f\u3089\u3044\u901f\u304f\u306a\u3063\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u5148\u65e5\u306eheteml\u304b\u3089ServerMan@VPS\u306b\u79fb\u884c\u5b8c\u4e86<\/a>\u3067\u5f53\u30b5\u30a4\u30c8\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u8868\u793a\u901f\u5ea6\u304c0.3s\u7a0b\u5ea6\u307e\u3067\u7e2e\u5c0f\u3055\u308c\u305f\u3068\u8a18\u8ff0\u3057\u307e\u3057\u305f\u3002\u6c17\u3065\u3051\u3070heteml\u306e\u6642\u3088\u308a\u534a\u5206\u4ee5\u4e0b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u306d\u3002\u4eca\u56de\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u5f8c\u306f0.23s\u7a0b\u5ea6\u307e\u3067\u77ed\u7e2e\u3055\u308c\u307e\u3057\u305f\u3002\u306a\u3093\u3068\u304b\u30010.1s\u53f0\u307e\u3067\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3057\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n \u307e\u305f\u3001\u4eca\u56de\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u884c\u3063\u305f\u306e\u306fWordPress\u81ea\u8eab\u3067\u306f\u306a\u304f\u3001WordPress\u3092\u5b9f\u884c\u3059\u308b\u30b5\u30fc\u30d0\u5074\u3067\u3059\u3002\u884c\u3063\u305f\u306e\u306f\u4e0b\u8a18\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3067\u3059\u3002<\/p>\n \u76ee\u6b21<\/p> PHP\u306f\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u8a00\u8a9e\u3068\u8a00\u308f\u308c\u308b\u3001\u5b9f\u884c\u6642\u306b\u52d5\u7684\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u8a00\u8a9e\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u5b9f\u884c\u6bce\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u7d50\u679c\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u70ba\u306e\u5f79\u76ee\u3092PHP\u30a2\u30af\u30bb\u30e9\u30ec\u30fc\u30bf\u304c\u62c5\u3063\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n \u4ee3\u8868\u7684\u306aPHP\u30a2\u30af\u30bb\u30e9\u30ec\u30fc\u30bf\u306b\u306fGIGAZINE\u306e\u4e0b\u8a18\u306e\u8a18\u4e8b\u304c\u8a73\u3057\u3044\u3067\u3059\u3002<\/p>\n PHP\u30a2\u30af\u30bb\u30e9\u30ec\u30fc\u30bf\u3067\u4e00\u756a\u9ad8\u901f\u306a\u306e\u306f\u3069\u308c\u304b\uff1f – GIGAZINE<\/a><\/p>\n \u4eca\u56deServerMan@VPS\u306b\u5c0e\u5165\u3057\u305f\u306e\u306f\u3001APC\u3068\u3044\u3046PHP\u30a2\u30af\u30bb\u30e9\u30ec\u30fc\u30bf\u3067\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u95a2\u3057\u3066\u306f\u4e0b\u8a18\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n Installing PHP APC on GNU\/Linux Centos 5 | 2bits.com, Inc. – Drupal Development, Customization and Consulting<\/a><\/p>\n \u6b21\u306b\u884c\u3063\u305f\u306e\u304cApache\u304c\u914d\u4fe1\u3059\u308b\u30c7\u30fc\u30bf\u3092\u5727\u7e2e\u3059\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3001Apache1.3\u307e\u3067\u306fmod_gzip\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3001Apache2.0\u304b\u3089\u306fmod_deflate\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3044\u3046\u306e\u3092\u4f7f\u7528\u3057\u3066\u884c\u3044\u307e\u3059\u3002 \u5c0e\u5165\u306b\u95a2\u3057\u3066\u306fCentOS\u3067yum\u3067httpd-devel\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u521d\u671f\u72b6\u614b\u3067mod_deflate\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u4eca\u56de\u306f\u5272\u611b\u3057\u307e\u3059\u3002\u8a2d\u5b9a\u65b9\u6cd5\u306b\u95a2\u3057\u3066\u306f\u4e0b\u8a18\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n mod_deflate \u3092\u8a66\u3057\u3066\u307f\u305f<\/a><\/p>\n \u3061\u306a\u307f\u306b\u3001mod_cache\u3068mod_deflate\u3092\u4f75\u7528\u3057\u3066\u63cf\u753b\u6642\u9593\u304c\u77ed\u7e2e\u3055\u308c\u308b\u304b\u78ba\u304b\u3081\u3066\u307f\u305f\u306e\u3067\u3059\u304c\u3001\u540c\u7a0b\u5ea6\u3060\u3063\u305f\u70ba\u3001\u5358\u4f53\u3067\u3088\u308a\u77ed\u7e2e\u3055\u308c\u308bmod_deflate\u3092\u5229\u7528\u3057\u307e\u3057\u305f\u3002\u305f\u3060\u3001mod_deflate\u306f\u6bce\u56de\u914d\u4fe1\u3059\u308b\u30c7\u30fc\u30bf\u3092\u5727\u7e2e\u3059\u308b\u306e\u3067CPU\u306b\u8ca0\u8377\u304c\u304b\u304b\u308a\u307e\u3059\u3002\u56de\u7dda\u306e\u4f7f\u7528\u5e2f\u57df\u3068CPU\u30ea\u30bd\u30fc\u30b9\u3092\u5929\u79e4\u306b\u304b\u3051\u3066mod_cache\u3082\u3057\u304f\u306f\u3001mod_deflate\u3069\u3061\u3089\u304b\u3092\u4f7f\u7528\u3059\u308b\u304b\u6c7a\u3081\u308b\u3068\u826f\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n MySQL :: MySQL 5.1 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30de\u30cb\u30e5\u30a2\u30eb :: 4.13 MySQL \u30af\u30a8\u30ea \u30ad\u30e3\u30c3\u30b7\u30e5<\/a><\/p>\n \u6700\u5f8c\u306b\u884c\u3063\u305f\u306e\u304cMySQL\u3067\u767a\u884c\u3055\u308c\u308bSQL\u30af\u30a8\u30ea\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b\u3068\u3044\u3046\u3082\u306e\u3002\u8a2d\u5b9a\u65b9\u6cd5\u306b\u95a2\u3057\u3066\u306f\u4e0b\u8a18\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n \u30af\u30a8\u30ea\u7d50\u679c\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\uff5cMySQL\uff5c\u30d7\u30ed\u30b0\u30e9\u30e0\u30e1\u30e2<\/p>\n \u5927\u304d\u306a\u8a2d\u5b9a\u306b\u95a2\u3057\u3066\u306f\u4e0a\u8a18\u306e\u901a\u308a\u3067\u3059\u3002\u30b5\u30fc\u30d0\u76e3\u8996\u30a2\u30d7\u30ea\u306eMunin<\/a>\u3092\u30b5\u30fc\u30d0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u3067\u3001\u3053\u308c\u304b\u3089\u5b9a\u671f\u7684\u306b\u8a08\u6e2c\u3057\u3066\u7d30\u304b\u3044\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u884c\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u6539\u5584\u3055\u308c\u308b\u3088\u3046\u306a\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u304c\u898b\u3064\u304b\u3063\u305f\u6642\u306b\u306f\u66f8\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n \u4eca\u56de\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306f\u3042\u304f\u307e\u3067\u3082ServerMan@VPS\u306e\u9650\u3089\u308c\u305f\u30ea\u30bd\u30fc\u30b9\u5185\u3067\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306a\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30b9\u30da\u30c3\u30af\u304c\u5909\u308f\u308c\u3070\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u65b9\u6cd5\u3082\u5909\u308f\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u5404\u81ea\u306e\u30b5\u30fc\u30d0\u30b9\u30da\u30c3\u30af\u3068\u76f8\u8ac7\u306e\u4e0a\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001\u4eca\u56de\u306f\u30b5\u30fc\u30d0\u5074\u306e\u8a2d\u5b9a\u306e\u307f\u3067WordPress\u306b\u306f\u4f9d\u5b58\u3057\u306a\u3044\u3082\u306e\u306a\u306e\u3067\u3001\u57fa\u672c\u7684\u306aLAMP\u74b0\u5883\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3068\u3057\u3066\u3082\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n \u6700\u5f8c\u306b\u4e0b\u8a18\u306f\u4e0a\u8a18\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u9805\u76ee\u306e\u73fe\u5728\u306e\u8a2d\u5b9a\u5024\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n \nAPC Support\tenabled Directive\tLocal Value\tMaster Value \n| have_query_cache | YES | \nSetOutputFilter DEFLATE ServerMan@VPS\u306b\u79fb\u884c\u3057\u305f\u3068\u3044\u3046\u3053\u3068\u3082\u3042\u308a\u3001\u81ea\u7531\u306b\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u3092\u3044\u3058\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u9ad8\u901f\u5316\u306e\u305f\u3081\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u8272\u3005\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u73fe\u5728\u306e\u3068\u3053\u308d\u3069\u308c\u304f\u3089\u3044\u901f\u304f\u306a\u3063\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u5148\u65e5\u306eh … \u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":9223372036854775807,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1156],"tags":[719,738,1072,742],"_links":{"self":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/posts\/4301"}],"collection":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/comments?post=4301"}],"version-history":[{"count":0,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/posts\/4301\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/media\/9223372036854775807"}],"wp:attachment":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/media?parent=4301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/categories?post=4301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/tags?post=4301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
PHP\u30a2\u30af\u30bb\u30e9\u30ec\u30fc\u30bf\u306e\u5c0e\u5165<\/span><\/h2>\n
Apache\u306e\u5727\u7e2e\u8ee2\u9001\u306e\u5c0e\u5165<\/span><\/h2>\n
\n\u4eca\u56de\u4f7f\u7528\u3057\u3066\u3044\u308bApache\u306f2.x\u7cfb\u306a\u306e\u3067\u3001mod_deflate\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\nMySQL\u306e\u30af\u30a8\u30ea\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u5c0e\u5165<\/span><\/h2>\n
PHP\u30a2\u30af\u30bb\u30e9\u30ec\u30fc\u30bf(APC)<\/span><\/h3>\n
\nVersion\t3.0.19
\nMMAP Support\tEnabled
\nMMAP File Mask\tno value
\nLocking type\tpthread mutex Locks
\nRevision\t$Revision: 3.154.2.5 $
\nBuild Date\tMay 13 2010 14:20:28<\/p>\n
\napc.cache_by_default\tOn\tOn
\napc.coredump_unmap\tOff\tOff
\napc.enable_cli\tOff\tOff
\napc.enabled\tOn\tOn
\napc.file_update_protection\t2\t2
\napc.filters\tno value\tno value
\napc.gc_ttl\t3600\t3600
\napc.include_once_override\tOff\tOff
\napc.max_file_size\t1M\t1M
\napc.mmap_file_mask\tno value\tno value
\napc.num_files_hint\t1000\t1000
\napc.report_autofilter\tOff\tOff
\napc.shm_segments\t1\t1
\napc.shm_size\t30\t30
\napc.slam_defense\t0\t0
\napc.stat\tOn\tOn
\napc.stat_ctime\tOff\tOff
\napc.ttl\t0\t0
\napc.user_entries_hint\t4096\t4096
\napc.user_ttl\t0\t0
\napc.write_lock\tOn\tOn\n<\/p><\/blockquote>\nMySQL\u30af\u30a8\u30ea\u30ad\u30e3\u30c3\u30b7\u30e5<\/span><\/h3>\n
\n| query_cache_limit | 1048576 |
\n| query_cache_min_res_unit | 4096 |
\n| query_cache_size | 33554432 |
\n| query_cache_type | ON |
\n| query_cache_wlock_invalidate | OFF |\n<\/p><\/blockquote>\nmod_deflate<\/span><\/h3>\n
\nBrowserMatch ^Mozilla\/4 gzip-only-text\/html
\nBrowserMatch ^Mozilla\/4\\.0[678] no-gzip
\nBrowserMatch \\bMSI[E] !no-gzip !gzip-only-text\/html
\nSetEnvIfNoCase Request_URI \\
\n\\.(?:gif|jpe?g|png)$ no-gzip dont-vary
\nHeader append Vary User-Agent env=!dont-vary\n<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"