diff options
author | Josh Richards <josh.t.richards@gmail.com> | 2024-07-16 19:47:05 -0400 |
---|---|---|
committer | Josh <josh.t.richards@gmail.com> | 2024-07-18 11:55:53 -0400 |
commit | a6626d6718409abb2086977d2cec79e7359524af (patch) | |
tree | 490b0dc803c9730ccf4b0bd7905f056badd89ef7 | |
parent | 335e20ad38d12137ede323b03c7c9444c90392b9 (diff) | |
download | nextcloud-server-feat-setupcheck-php-sapi-fpm-max-children.tar.gz nextcloud-server-feat-setupcheck-php-sapi-fpm-max-children.zip |
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
-rw-r--r-- | apps/settings/lib/SetupChecks/PhpSAPI.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings/lib/SetupChecks/PhpSAPI.php b/apps/settings/lib/SetupChecks/PhpSAPI.php index 060c04e4222..59dfaa44253 100644 --- a/apps/settings/lib/SetupChecks/PhpSAPI.php +++ b/apps/settings/lib/SetupChecks/PhpSAPI.php @@ -36,7 +36,9 @@ class PhpSAPI implements ISetupCheck { if ($sapi_max_children_reached === 1) { $sapi_max_children_reached_actual = fpm_get_status()['max-active-processes']; return SetupResult::error($this->l10n->t('Your PHP-FPM pool reached it\'s maximum number of allowed processes (' . $sapi_max_children_reached_actual . ') at least once since your last restart. You may want to increase your pm.max_children value in your PHP-FPM pool configuration to avoid problems such as Gateway Timeouts, client connection errors, and slow performance.'), $this->urlGenerator->linkToDocs('admin-php-fpm')); + } } + return SetupResult::success(); } } |