You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zlog(ZLOG_SYSERROR, "[pool %s] failed to set rlimit_core for this pool. Please check your system limits or decrease rlimit_core. setrlimit(RLIMIT_CORE, %d)", wp->config->name, wp->config->rlimit_core);
434
434
}
435
435
}
436
+
#ifHAVE_FPM_CPUAFFINITY
437
+
if (is_root&&wp->config->process_cpumask) {
438
+
intfcpu, lcpu;
439
+
440
+
if (0>fpm_cpusrange(wp->config->process_cpumask, &fcpu, &lcpu)) {
441
+
zlog(ZLOG_SYSERROR, "[pool %s] failed to fpm_cpusrange(%s)", wp->config->name, wp->config->process_cpumask);
442
+
return-1;
443
+
}
444
+
if (0>fpm_setcpuaffinity(fcpu, lcpu)) {
445
+
zlog(ZLOG_SYSERROR, "[pool %s] failed to fpm_setcpuaffinity(%s)", wp->config->name, wp->config->process_cpumask);
446
+
return-1;
447
+
}
448
+
}
449
+
#endif
436
450
437
451
if (is_root&&wp->config->chroot&&*wp->config->chroot) {
0 commit comments