Hello Renan,

We've not been able to isolate the condition that triggers the lock,
however, the error always occurs when we query  /fpm-status for obtaining
php-fpm statistics.

This is the error:
FastCGI sent in stderr: "scoreboard: failed to lock (already locked);
status: unable to find or access status shared memory" while reading
response header from upstream, client: 127.0.0.1, server: api.example.com,
request: "GET /fpm_status HTTP/1.1", upstream:
"fastcgi://unix:/run/php/php-fpm.sock:", host: "localhost".

This is www.conf for the affected servers.  It's a high traffic site with
load spread across 5 nodes.  The nodes each receive approximately 50
requests per second.  Some days we'll get several occurrences, then nothing
for several days.

[www]
user = www-data
group = www-data
listen = /run/php/php8.3-fpm.sock
listen.owner = www-data
listen.group = www-data
pm = static
pm.max_children = 100
pm.max_requests = 100
pm.status_path = /fpm_status
slowlog = /var/log/$pool.log.slow
php_admin_flag[log_errors] = on

If you need any additional info, let me know.


Best Regards,

Scott Bisker


On Fri, Jan 9, 2026 at 7:24 AM Renan Rodrigo <[email protected]>
wrote:

> Hey, hello Scott - I checked this and it does look like a fix that can be
> backported!
> However, to verify the SRU we would need some reliable reproducer, to make
> sure the bug is fixed in the backport.
> Would you happen to have config/steps to reproduce this? I saw people
> doing it with k8s in the original bug but I'm having a hard time in
> triggering the race condition :|
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2130569
>
> Title:
>   php-fpm scoreboard: failed to lock
>
> Status in php8.3 package in Ubuntu:
>   Triaged
>
> Bug description:
>   There is a bug present in PHP versions < 8.3.16 that has been fixed in
>   newer versions.  This affects PHP-FPM.
>
>
>   The error is as follows:
>   FastCGI sent in stderr: "scoreboard: failed to lock (already locked);
> status: unable to find or access status shared memory"
>
>   This was fixed in PHP 8.3.16
>   https://www.php.net/ChangeLog-8.php#8.3.16
>   Fixed bug GH-13437 (FPM: ERROR: scoreboard: failed to lock (already
> locked)).
>
>   GitHub Issue:  https://github.com/php/php-src/issues/13437
>
>   Please backport this bug fix to PHP 8.3.6.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/php8.3/+bug/2130569/+subscriptions
>
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130569

Title:
  php-fpm scoreboard: failed to lock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php8.3/+bug/2130569/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to