New Features
Avoid potential memory exhaustion for long running transactions
The configuration settings
newrelic.transaction_tracer.max_segments_cliandnewrelic.transaction_tracer.max_segments_webwere added. These settings can be used to limit the number of segments the PHP agent records during a CLI transaction and a web transaction respectively.newrelic.transaction_tracer.max_segments_clidefaults to100000and thus avoids potential memory exhaustion for long running CLI transactions.newrelic.transaction_tracer.max_segments_webdefaults to0, meaning that the PHP Agent shall capture all segments during a web transaction.For more information, see the documentation about the PHP agent configuration.
Performance improvements
- The PHP agent now creates segments in a more efficient way, which results in improved performance.
Bug fixes
- The Debian init script now uses
pidofinstead ofps. This solves issues related to starting the daemon with systemctl on Debian. Previously, the daemon would start and immediately stop.