openpolice-platform icon indicating copy to clipboard operation
openpolice-platform copied to clipboard

New Relic nesting level

Open tomjanssens opened this issue 10 years ago • 0 comments

The following error has been popping up regularly in New Relic:

E_ERROR: Aborting! The New Relic imposed maximum PHP function nesting level of '5000' has been reached. This limit is to prevent the PHP execution from catastrophically running out of C-stack frames. If you think this limit is too small, adjust the value of the setting newrelic.special.max_nesting_level in the newrelic.ini file, and restart php. Please file a ticket at https://support.newrelic.com if you need further assistance.

This error is being logged into /var/log/newrelic/php_agent.log

Judging by incoming ticket request, this is happening during one of these two actions:

  • Creating a support ticket (http://p.pol-nl.be/manager/support/ticket?id=56426b4f9f8909a332502602f987fdd5)
  • Editing existing article (http://p.pol-nl.be/manager/support/ticket?id=4fba4bcaa9531cfee5e51b8dba05f54a)

Try to debug this locally be setting a very small limit for the callstack in xdebug and then see where xdebug fails?

tomjanssens avatar Jan 02 '15 11:01 tomjanssens