网站日流量在5万PV,4核8G内存总是进程跑满
大家帮我改一下应该怎么改,最近总是进程跑满导致网站无响应环境是apache+php7.3
LoadModule fcgid_module modules/mod_fcgid.so
#此文件为宝塔调整性能
<IfModule mod_fcgid.c>
AddHandlerfcgid-script .fcgi
FcgidFixPathinfo 1
FcgidIdleTimeout 120
FcgidBusyTimeout 120
FcgidProcessLifeTime 120
FcgidIOTimeout 600
FcgidConnectTimeout 30
FcgidMaxProcesses 500
FcgidMaxProcessesPerClass 500
FcgidMaxRequestsPerProcess 1000
FcgidMaxRequestLen 10737418240
FcgidErrorScanInterval 60
</IfModule>
#参数说明参考(win下是winnt模式) httpd-npm.conf
<IfModule mpm_winnt_module>
ThreadLimit 500
ThreadsPerChild 300
MaxConnectionsPerChild 10000
MaxRequestsPerChild 5000
ListenBackLog 512
</IfModule>
#参数说明参考httpd-default.conf
Timeout 30
KeepAlive on
KeepAliveTimeout 5
MaxKeepAliveRequests 200
HostnameLookups Off
ServerSignature Off
ServerTokens Prod
TraceEnable Off
页:
[1]