ユーザ用ツール

サイト用ツール


serverapps:nextcloud:05.phpconfig

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:nextcloud:05.phpconfig [2023/08/07 06:19] – [/usr/local/etc/php-fpm.d/www.conf] hayashiserverapps:nextcloud:05.phpconfig [2023/08/26 09:29] (現在) – [/usr/local/etc/php-fpm.conf] hayashi
行 4: 行 4:
 \\ \\
 \\ \\
 +
 +===== rc.conf =====
 +
 +/etc/rc.confまたは/etc/rc.conf.localに記述
 +
 +  php_fpm_enable="YES"
 +  nginx_enable="YES"
 ===== /usr/local/etc/php.ini ===== ===== /usr/local/etc/php.ini =====
  
行 46: 行 53:
 listen.owner      = www listen.owner      = www
 listen.group      = www listen.group      = www
-listen.mode       0666+listen.mode       0660
  
 pm                   = dynamic pm                   = dynamic
-pm.max_children      = 8 +pm.max_children      = 4 
-pm.start_servers     4 +pm.start_servers     1 
-pm.min_spare_servers = 2 +pm.min_spare_servers = 1 
-pm.max_spare_servers = 4+pm.max_spare_servers = 3
 pm.max_requests      = 500 pm.max_requests      = 500
 </file> </file>
 +
 +  * pm.max_children((memory_limitを設定の基準にする。(TotalMem/memory_limit) x 2))
 +  * pm.start_servers((max_children x 0.35))
 +  * pm.min_spare_servers((= start_server))
 +  * pm.max_spare_servers((max_children x 0.7))
serverapps/nextcloud/05.phpconfig.1691389179.txt.gz · 最終更新: 2023/08/07 06:19 by hayashi