99精品国产综合久久久久五月天,免费观看欧美大片毛片不用播放器 ,AV无码理论片在线观看免费网站,国产精品国产成人国产三级
標(biāo)題:
[BUG反饋]
針對256M的內(nèi)存優(yōu)化的建議,請幫主提建議
[打印本頁]
作者:
zaiwu119
時間:
2013-7-20 19:13
標(biāo)題:
針對256M的內(nèi)存優(yōu)化的建議,請幫主提建議
個人建立了一個小博客,平時也就200-500多個IP,使用的是
OpenVZ 。最近總是超過內(nèi)存,優(yōu)化了一下,請幫主提提建議,謝謝。
更改:/www/wdlinux/httpd-2.2.22/conf下的
httpd-wdl.conf文件如下,使用過后,有時雖然會基本到512的內(nèi)存(
OpenVZ
可以超至512M
),但是過段時間后,會自動釋放內(nèi)存,請幫主看看還有什么好的建議。
# apache conf conf/httpd-wdl.conf
# Created by
http://fudaan.com
# Last Updated 2010.06.01
Timeout 30
KeepAlive on
MaxKeepAliveRequests 100
KeepAliveTimeout 5
UseCanonicalName Off
ServerTokens Prod
ServerSignature Off
HostnameLookups Off
AddType application/x-httpd-php .php
DirectoryIndex index.html index.php index.htm
<IfModule mpm_worker_module>
ServerLimit
16
ThreadLimit
128
StartServers 6
MaxClients 10
MinSpareThreads 25
MaxSpareThreads 128
ThreadsPerChild 128
MaxRequestsPerChild 1000
</IfModule>
<IfModule mpm_prefork_module>
ServerLimit 16
StartServers 5
MinSpareServers 3
MaxSpareServers 30
MaxClients 10
MaxRequestsPerChild 1000
</IfModule>
<IfModule mpm_itk_module>
ServerLimit 1
StartServers 5
MinSpareServers 3
MaxSpareServers 30
MaxClients 10
MaxRequestsPerChild 1000
</IfModule>
作者:
admin
時間:
2013-7-21 22:49
OpenVZ跟母機(jī)關(guān)聯(lián)比較大
作者:
zaiwu119
時間:
2013-7-22 11:13
OpenVZ跟母機(jī)關(guān)聯(lián)比較大
admin 發(fā)表于 2013-7-21 22:49
謝謝,最近總是超256的內(nèi)存,很麻煩啊
歡迎光臨 WDlinux官方論壇 (http://fudaan.com/bbs/)
Powered by Discuz! 7.2