apache 优化笔记 :: smomo
gq81 · 2006-04-05
smomo
网上无意间看到的感兴趣的资料,统统放这里
.:
发表评论 :.
.:
最后更新 :.
Dev-Cpp/Mingw32 环境介绍
Aapche + tomcat 配置一例
Apache带宽与并发联接数的控制
apache 优化笔记
Jakarta Tomcat Connector Workers HowTo
apache tomcat jk I've got many threads
Apache 2.0性能优化—MPM的选择与配置
Iptables 指南 1.1.19
使用Apache 2.0.x+mod_deflate压缩网页输出
linux手册
::
<< Jakarta Tomcat Connector Workers HowTo
|
首页
|
Apache带宽与并发联接数的控制 >>
apache 优化笔记
- [
]
Tag:
配置如下:
[root@dev bin]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) D CPU 2.80GHz
cache size : 1024 KB
[root@dev bin]# free
total used free shared buffers cached
Mem: 513516 450276 63240 0 42732 115600
-/+ buffers/cache: 291944 221572
Swap: 1015800 1152 1014648
编译apache
./configure --prefix=/home/smomo/apache2/ --with-mpm=worker --enable-so --enable-mods-shared=most --enable-deflate
启动apache压缩方式
DeflateFilterNote ratio
AddOutputFilterByType DEFLATE text/*
AddOutputFilterByType DEFLATE application/ms* application/vnd* application/postscript
配置线程方式
<IfModule worker.c>
StartServers 3
MaxClients 2000
ServerLimit 25
MinSpareThreads 50
MaxSpareThreads 200
ThreadLimit 200
ThreadsPerChild 100
MaxRequestsPerChild 0
</IfModule>
gq81
|
引用(trackback0)
|
编辑
□ 评论
原始快照:web.archive.org