This is a common error in servers installed with newrelic agent. To fix this issue, we just need to adjust the queue size by configuring the below parameter in the newrelicinfra.yml file.

event_queue_depth: 2000

The newrelic-infra.yml file is located in the following path

  • Linux: /etc/newrelicinfra.yml
  • Windows: C:\Program Files\New Relic\newrelicinfra\newrelicinfra.yml

Restart the Newrelic agent after adjusting this configuration. The issue will get resolved.

If the queue depth 2000 is not sufficient, increase the value further and try it again.

I hope this tip is useful. If you have any questions, feel free to comment.