發新話題

WHM 改變 MaxClients 取代Global Configuration

WHM 改變 MaxClients 取代Global Configuration

cPanel WHM 改變 MaxClients 取代Global Configuration預設值Main >> Service Configuration >> Apache Configuration >> Global Configuration

對於 Apache 2.X
修改 /usr/local/apache/conf/includes/pre_virtualhost_global.conf
並添加這些行

<IfModule prefork.c>
ServerLimit  10000
StartServers 16
MinSpareServers 16
MaxSpareServers 64
MaxClients 10000
MaxRequestsPerChild 0
</IfModule>

然後重新啟動 Apache。
當然你可以修改任何你想要的。
對於 Apache 1.3只需要修改httpd.conf中的MaxClients設置。

取代預設值
Main >> Service Configuration >> Apache Configuration >> Global Configuration

TOP

發新話題

本站所有圖文均屬網友發表,僅代表作者的觀點與本站無關,如有侵權請通知版主會盡快刪除。