From 1744861359c2a790e2d38f1c835f9dd5bc3faf1d Mon Sep 17 00:00:00 2001 From: lazerg Date: Tue, 17 Nov 2026 17:43:02 +0500 Subject: [PATCH] Fix GH-25515: FPM ondemand counts a child being idle-killed as idle --- sapi/fpm/fpm/fpm_process_ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/fpm/fpm/fpm_process_ctl.c b/sapi/fpm/fpm/fpm_process_ctl.c index 4abffdf093d0..e0990e860eca 100644 --- a/sapi/fpm/fpm/fpm_process_ctl.c +++ b/sapi/fpm/fpm/fpm_process_ctl.c @@ -539,7 +539,7 @@ void fpm_pctl_on_socket_accept(struct fpm_event_s *ev, short which, void *arg) / for (child = wp->children; child; child = child->next) { /* if there is at least on idle child, it will handle the connection, stop here */ - if (fpm_request_is_idle(child)) { + if (fpm_request_is_idle(child) && !child->idle_kill) { return; } }