Merge branch 'PHP-8.0'

* PHP-8.0:
  Fix misleading error message
This commit is contained in:
Christoph M. Becker 2021-04-20 15:45:26 +02:00
commit 8667dc92aa
No known key found for this signature in database
GPG Key ID: D66C9593118BCCB6

View File

@ -458,7 +458,7 @@ int fpm_unix_init_main() /* {{{ */
r.rlim_max = r.rlim_cur = (rlim_t) fpm_global_config.rlimit_files;
if (0 > setrlimit(RLIMIT_NOFILE, &r)) {
zlog(ZLOG_SYSERROR, "failed to set rlimit_core for this pool. Please check your system limits or decrease rlimit_files. setrlimit(RLIMIT_NOFILE, %d)", fpm_global_config.rlimit_files);
zlog(ZLOG_SYSERROR, "failed to set rlimit_files for this pool. Please check your system limits or decrease rlimit_files. setrlimit(RLIMIT_NOFILE, %d)", fpm_global_config.rlimit_files);
return -1;
}
}