• EnglishEspañol日本語한국어Português
  • Log inStart now

Symfony 4.4 overhead with opcache.preload


When using Symfony 4.4, you are experiencing large performance impacts when opcache.preload is active.


  1. In your newrelic.ini file, set newrelic.preload_framework_library_detection = false.

  2. Ensure that your preload settings are compliant with Symfony.


    If you're using PHP 7.4, see:

  3. Restart your service.


When newrelic.preload_framework_library_detection and opcache.preload are both enabled, we query the opcache status with each function call. However, there are several issues related to using Symfony 4.4 that can result in this query returning null. This consistently happening will cause significant overhead in New Relic's PHP agent.

Currently, this issue has only been reported by environments using Kubernetes.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.