Skip to content

Fix GH-24695: FPM tester sends signal to process group when PID is missing - #24698

Open
lazerg wants to merge 1 commit into
php:PHP-8.4from
lazerg:fix/gh-24695-fpm-signal-pid-zero
Open

lazerg wants to merge 1 commit into
php:PHP-8.4from
lazerg:fix/gh-24695-fpm-signal-pid-zero

Conversation

@lazerg

@lazerg lazerg commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

When FPM fails to start, getPid() reports the missing PID file and returns 0, and signal() then runs kill -USR2 0. That signals the whole process group and takes down run-tests.php along with the test. Now signal() returns early in that case, so the test just fails and the run keeps going.

Based on the reporter's patch.

Fixes #24695

… missing

Co-authored-by: Bill Sommerfeld <129208268+Bill-Sommerfeld@users.noreply.github.com>
@lazerg
lazerg requested a review from bukka as a code owner October 25, 2026 17:22

@Bill-Sommerfeld Bill-Sommerfeld left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can credit me as Bill Sommerfeld <sommerfeld@hamachi.org>. Thanks for fixing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants