Skip to content

Transaction is truncated because PHP Fiber use is detected spammed #1200

@matthiaz

Description

@matthiaz

Description

Since newrelic agent 12.6.0.34 a new warning was added to indicate when newrelic detect PHP Fiber.
This was added in #1178

web@app.0:~$ newrelic-daemon -v
New Relic daemon version 12.6.0.34-6a97c7f2e19b
(C) Copyright 2009-2019 New Relic Inc. All rights reserved.

While I understand why this is being done, do we really need to spam this warning on every request that comes in? Seems a bit much...

Seems to be coming from: https://github.com/newrelic/newrelic-php-agent/pull/1178/changes#diff-232e572accbc970d0d144c32504e4aa04a13d37578762968fde594964bb91625R138

Steps to Reproduce

Have a project that uses PHPFiber . Which would include a Drupal application: https://www.drupal.org/node/3392011
PHP Fibers support has been added to Drupal's default and Big Pipe rendering systems.

Expected Behavior

Don't throw a warning. Just silently don't do the transaction.

Relevant Logs / Console output

web@app.0:~$ tail -f /var/log/app.log 
2026-04-14 07:51:25.856 +0000 (14739 14739) warning: Transaction is truncated because PHP Fiber use is detected.
2026-04-14 07:51:29.666 +0000 (14762 14762) warning: Transaction is truncated because PHP Fiber use is detected.
2026-04-14 07:51:33.718 +0000 (14739 14739) warning: Transaction is truncated because PHP Fiber use is detected.
2026-04-14 07:51:41.784 +0000 (14756 14756) warning: Transaction is truncated because PHP Fiber use is detected.
2026-04-14 07:51:42.036 +0000 (14740 14740) warning: Transaction is truncated because PHP Fiber use is detected.
2026-04-14 07:51:45.204 +0000 (14756 14756) warning: Transaction is truncated because PHP Fiber use is detected.
2026-04-14 07:51:45.229 +0000 (14739 14739) warning: Transaction is truncated because PHP Fiber use is detected.
2026-04-14 07:51:49.392 +0000 (14756 14756) warning: Transaction is truncated because PHP Fiber use is detected.
2026-04-14 07:51:53.938 +0000 (14739 14739) warning: Transaction is truncated because PHP Fiber use is detected.
2026-04-14 07:51:58.153 +0000 (14740 14740) warning: Transaction is truncated because PHP Fiber use is detected.

Your Environment

web@app.0:~$ newrelic-daemon -v
New Relic daemon version 12.6.0.34-6a97c7f2e19b
(C) Copyright 2009-2019 New Relic Inc. All rights reserved.

Debian 12.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions