# Memory/CPU overhead after installing OneAgent| basic troubleshooting

**URL:** <https://community.dynatrace.com/t/memory-cpu-overhead-after-installing-oneagent-basic-troubleshooting/37531>\
**Category:** Troubleshooting\
**Tags:** oneagent, profiling-and-optimization, infrastructure-monitoring\
**Created:** [December 1, 2022, 12:32pm UTC](https://community.dynatrace.com/t/memory-cpu-overhead-after-installing-oneagent-basic-troubleshooting/37531 "2022-12-01T12:32:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akram\_elkhangy](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@akram\_elkhangy](https://community.dynatrace.com/u/akram_elkhangy)\
**Post date:** [December 1, 2022, 12:32pm UTC](https://community.dynatrace.com/t/memory-cpu-overhead-after-installing-oneagent-basic-troubleshooting/37531/1 "2022-12-01T12:32:38Z")

</div>

**1st Scenario – Deep monitoring is enabled**

- Switch the impacted host to Infra-structure only monitoring mode and then restart the impacted process/es.  
[https://www.dynatrace.com/support/help/how-to-use-dynatrace/hosts/basic-concepts/get-started-with-infrastructure-monitoring#expand--after-oneagent-installation--2](https://www.dynatrace.com/support/help/how-to-use-dynatrace/hosts/basic-concepts/get-started-with-infrastructure-monitoring)
  - If this resolved the issue, re-enable full stack monitoring and disable deep monitoring of the suspected process/es by creating custom process monitoring rule  
[https://www.dynatrace.com/support/help/shortlink/process-group-monitoring#rules](https://www.dynatrace.com/support/help/shortlink/process-group-monitoring)
    - If this resolved the issue, trigger a memory dump/CPU profiling analysis and keep the rule in place as a workaround. Contact support and provide the information on the steps completed. See Last step section below.  
[https://www.dynatrace.com/support/help/shortlink/memory-dumps#trigger-memory-dumps](https://www.dynatrace.com/support/help/shortlink/memory-dumps)  
[CPU profiling in Profiling & Optimization — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/cpu-analysis)

  - If the issue was not resolved, move to scenario 2.

**2nd Scenario – Infra-only monitoring is enabled**

- Disable Log analytics feature for the impacted host  
[https://www.dynatrace.com/support/help/shortlink/log-monitoring-configuration#host-specific-oneagent-settings-for-log-monitoring](https://www.dynatrace.com/support/help/shortlink/log-monitoring-configuration)
- Disable log content Auto discovery  
[https://www.dynatrace.com/support/help/shortlink/log-monitoring-auto-discovery-v2#turn-off-log-autodiscovery](https://www.dynatrace.com/support/help/shortlink/log-monitoring-auto-discovery-v2)
- Trigger memory dump/ CPU profiling analysis

**Last step & data preparation**

- Raise a support ticket, [https://support.dynatrace.com/[u]](https://support.dynatrace.com/%5Bu%5D) ,[/u] and include the following information:
  - all the troubleshooting steps performed

  - whether issue occurs with full stack or infra-only monitoring

  - if log analytics is enabled or disabled

  - include the impacted entities URL + OneAgent diagnostics archive, [https://www.dynatrace.com/support/help/shortlink/oneagent-diagnostics#collect-and-review-locally](https://www.dynatrace.com/support/help/shortlink/oneagent-diagnostics), in addition to the memory dump/ CPU profiling analysis.

| | **Infra-only mode** | **Full stack mode** |
| --- | --- | --- |
| **Log analytics on** | Yes/No | Yes/No |
| **Log analytics off** | Yes/No | Yes/No |

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [December 1, 2022, 10:48pm UTC](https://community.dynatrace.com/t/memory-cpu-overhead-after-installing-oneagent-basic-troubleshooting/37531/2 "2022-12-01T22:48:56Z")

</div>

[@akram\_elkhangy](https://community.dynatrace.com/user/26304),

Thanks, these are great tips!

I would also include the exclusion of noisy exceptions & URLs, that can be done through settings:

 ![AntonioSousa_0-1669934910385.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/9/2939a593e5daf659ae24d90a18205792eae5eee2.png)

---

<div class="post-metadata">

**Author:** ![akram\_elkhangy](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@akram\_elkhangy](https://community.dynatrace.com/u/akram_elkhangy)\
**Post date:** [December 19, 2022, 11:04am UTC](https://community.dynatrace.com/t/memory-cpu-overhead-after-installing-oneagent-basic-troubleshooting/37531/3 "2022-12-19T11:04:41Z")

</div>

Hi&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)

Thanks for your input and feedback,

Yes excluding URLs and unnecessary exceptions would be a helpful step here,&nbsp; this can be done by navigating to&nbsp; Settings\>\> Server-side service monitoring\>\>

 ![akram_elkhangy_0-1671447911567.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/d/cd24614974e88906a3e2e636743e82f7cc2c5aed.png)

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [July 18, 2023, 1:35pm UTC](https://community.dynatrace.com/t/memory-cpu-overhead-after-installing-oneagent-basic-troubleshooting/37531/4 "2023-07-18T13:35:34Z")

</div>

Useful article!!
