# Oneagent install on Magento (nginx, php-fpm) causes severe resource increase

**URL:** <https://community.dynatrace.com/t/oneagent-install-on-magento-nginx-php-fpm-causes-severe-resource-increase/11730>\
**Category:** Open Q&A\
**Tags:** installation, php, oneagent\
**Created:** [May 3, 2018, 8:24pm UTC](https://community.dynatrace.com/t/oneagent-install-on-magento-nginx-php-fpm-causes-severe-resource-increase/11730 "2018-05-03T20:24:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![russ\_russell](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@russ\_russell](https://community.dynatrace.com/u/russ_russell)\
**Post date:** [May 3, 2018, 8:24pm UTC](https://community.dynatrace.com/t/oneagent-install-on-magento-nginx-php-fpm-causes-severe-resource-increase/11730/1 "2018-05-03T20:24:35Z")

</div>

We have 4 magento servers services an application. When I installed the oneagent and restarted the nginx and php processes, the PHP processes go from using ~100m of memory each to using multiple GB of memory, and the application stops responding. Turning oneagent off and restarting application stops the problems and the app works again.

I do have a support ticket on this being worked, but was just curious if anyone else has seen anything remotely similar on magento/PHP-FPM regarding runaway consumption of resources.

---

<div class="post-metadata">

**Author:** ![steve\_mcginley](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@steve\_mcginley](https://community.dynatrace.com/u/steve_mcginley)\
**Post date:** [May 10, 2018, 8:14pm UTC](https://community.dynatrace.com/t/oneagent-install-on-magento-nginx-php-fpm-causes-severe-resource-increase/11730/2 "2018-05-10T20:14:12Z")

</div>

Just so anyone else that might have this issue in the future, it was fixed by turning off the class search functionality for the php agent. Development is still researching why that causes so much overhead in this particular setup.

Specifically we set debugDisableClassSearchPhp debug flag to true which disabled the class search functionality within our PHP special agent

---

<div class="post-metadata">

**Author:** ![techean](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/techean/32/227_2.png) [@techean](https://community.dynatrace.com/u/techean)\
**Post date:** [June 3, 2022, 7:48pm UTC](https://community.dynatrace.com/t/oneagent-install-on-magento-nginx-php-fpm-causes-severe-resource-increase/11730/3 "2022-06-03T19:48:37Z")

</div>

was this [link](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/oneaget-troubleshooting/troubleshoot-oneagent-deep-monitoring-issues)&nbsp;useful at the debugging stage?
