99精品国产综合久久久久五月天,免费观看欧美大片毛片不用播放器 ,AV无码理论片在线观看免费网站,国产精品国产成人国产三级

Board logo

標題: [求助] 大內(nèi)存WDCP apache & mysql 該如何優(yōu)化 [打印本頁]

作者: tuoputu    時間: 2015-2-10 12:15     標題: 大內(nèi)存WDCP apache & mysql 該如何優(yōu)化

請問阿里云16G內(nèi)存,WDCP apache 和mysql 應該如何優(yōu)化?
=================================
mysql 目前默認設置如下:

配置文件        /www/wdlinux/etc/my.cnf
最大連接數(shù)max_connections        300
連接時間wait_timeout        30
緩沖key_buffer_size            128M
查詢緩存query_cache_size        16
表緩存table_open_cache            128M
臨時表大小tmp_table_size      16
==================================
apache httpd-wdl.conf 配置:

Timeout 30
KeepAlive Off
MaxKeepAliveRequests 600
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         32
    ThreadLimit         256
    StartServers        12
    MaxClients          2048
    MinSpareThreads      50
    MaxSpareThreads      256
    ThreadsPerChild      256
    MaxRequestsPerChild   0
</IfModule>
<IfModule mpm_prefork_module>
    ServerLimit         1024
    StartServers          5
    MinSpareServers       3
    MaxSpareServers      30
    MaxClients          1024
    MaxRequestsPerChild   0
</IfModule>
<IfModule mpm_itk_module>
    ServerLimit         1024
    StartServers          5
    MinSpareServers       3
    MaxSpareServers      30
    MaxClients          1024
    MaxRequestsPerChild   0
</IfModule>
作者: xjll    時間: 2015-9-9 21:55

同求,,,,誰能講一下呢?
作者: xjll    時間: 2015-9-19 18:35

????????怎么沒有人回答呢?
作者: longren916    時間: 2015-11-1 11:05

好像都沒人回答的什么情況
作者: daxiekeji    時間: 2018-5-27 11:30

MaxRequestsPerChild   設置為非0 會不會好點,我測試了 再觀察中。cpu也是經(jīng)常跑滿




歡迎光臨 WDlinux官方論壇 (http://fudaan.com/bbs/) Powered by Discuz! 7.2