Avoid potential memory exhaustion for long running transactions
The configuration settings
newrelic.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.
100000and thus avoids potential memory exhaustion for long running CLI transactions.
0, meaning that the PHP Agent shall capture all segments during a web transaction.
For more information, see the documentation about the PHP agent configuration.
- The PHP agent now creates segments in a more efficient way, which results in improved performance.
- The Debian init script now uses
ps. This solves issues related to starting the daemon with systemctl on Debian. Previously, the daemon would start and immediately stop.