1
0
mirror of https://github.com/php/php-src.git synced 2026-04-01 21:22:13 +02:00

improperlog

This commit is contained in:
redfoxli
2015-05-30 14:37:41 +08:00
parent f86aa349eb
commit 2ece3ea699

View File

@@ -424,8 +424,10 @@ int fpm_children_make(struct fpm_worker_pool_s *wp, int in_event_loop, int nb_to
}
if (!warned && fpm_global_config.process_max > 0 && fpm_globals.running_children >= fpm_global_config.process_max) {
warned = 1;
zlog(ZLOG_WARNING, "The maximum number of processes has been reached. Please review your configuration and consider raising 'process.max'");
if (wp->running_children < max) {
warned = 1;
zlog(ZLOG_WARNING, "The maximum number of processes has been reached. Please review your configuration and consider raising 'process.max'");
}
}
return 1; /* we are done */