Skip to content

Commit

Permalink
Fix misleading error message
Browse files Browse the repository at this point in the history
Closes GH-6889.
  • Loading branch information
cmb69 committed Apr 20, 2021
1 parent ea3c992 commit 263f14a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sapi/fpm/fpm/fpm_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 263f14a

Please sign in to comment.