Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

apache这样配置是不是有问题?

[复制链接]
Dalamar 发表于 2004-5-1 13:33:38 | 显示全部楼层 |阅读模式
<IfModule prefork.c>
StartServers       8
MinSpareServers   10
MaxSpareServers   20
ServerLimit         2000
MaxClients       500
MaxRequestsPerChild  3000
</IfModule>

我webmin里看内存状况,20个apache进程每个大概占用25M内存.

OS是redhat AS3,服务器内存1G. apache版本2.0.46,另外还装的php4.3.2,作为apache的模块运行.

不知道哪些地方还需要优化.

用ab -n 1000 -c 500测试下来的性能



[ Last edited by Dalamar on 2004-5-1 at 02:05 PM ]
cqfanli 发表于 2004-5-2 14:37:13 | 显示全部楼层
汗,最好的优化是,减少上面的值
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-14 22:17 , Processed in 0.094395 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表