serverapps:nextcloud:05.phpconfig
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
serverapps:nextcloud:05.phpconfig [2023/08/07 06:11] – [/usr/local/etc/php-fpm.d/www.conf] hayashi | serverapps:nextcloud:05.phpconfig [2023/08/26 09:29] (現在) – [/usr/local/etc/php-fpm.conf] hayashi | ||
---|---|---|---|
行 4: | 行 4: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | |||
+ | ===== rc.conf ===== | ||
+ | |||
+ | / | ||
+ | |||
+ | php_fpm_enable=" | ||
+ | nginx_enable=" | ||
===== / | ===== / | ||
行 39: | 行 46: | ||
<file conf www.conf> | <file conf www.conf> | ||
[www] | [www] | ||
- | user = www | + | user = www |
- | group = www | + | group |
- | listen = / | + | listen |
; Default Value: 511 (-1 on FreeBSD and OpenBSD) | ; Default Value: 511 (-1 on FreeBSD and OpenBSD) | ||
- | ; listen.backlog = 511 | + | ; listen.backlog |
- | listen.owner = www | + | listen.owner |
- | listen.group = www | + | listen.group |
- | listen.mode = 0666 | + | listen.mode |
+ | |||
+ | pm = dynamic | ||
+ | pm.max_children | ||
+ | pm.start_servers | ||
+ | pm.min_spare_servers = 1 | ||
+ | pm.max_spare_servers = 3 | ||
+ | pm.max_requests | ||
</ | </ | ||
+ | |||
+ | * pm.max_children((memory_limitを設定の基準にする。(TotalMem/ | ||
+ | * 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.1691388690.txt.gz · 最終更新: 2023/08/07 06:11 by hayashi