要增加apche效能可以用
mod_cachehttpd.conf加入
# Sample Cache Configuration # LoadModule cache_module modules/mod_cache.so
<IfModule mod_cache.c> #LoadModule disk_cache_module modules/mod_disk_cache.so <IfModule mod_disk_cache.c> CacheRoot c:/cacheroot CacheSize 256 CacheEnable disk / CacheDirLevels 5 CacheDirLength 3 </IfModule>
LoadModule mem_cache_module modules/mod_mem_cache.so <IfModule mod_mem_cache.c> CacheEnable mem / MCacheSize 4096 MCacheMaxObjectCount 100 MCacheMinObjectSize 1 MCacheMaxObjectSize 2048 </IfModule> </IfModule> |
mod_mem_cache沒看到這個module,據說沒實作..
詳細中文解釋
其他調校介紹:
http://linuxgazette.net/123/vishnu.html
http://httpd.apache.org/docs/2.0/misc/perf-tuning.html
darren2000 發表在
痞客邦
留言(0)
人氣(
819
)
請先 登入 以發表留言。