• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Shikha Y. · Nov 14, 2017 at 02:20 PM · appmon 6.5 agent webserver NGINX

High CPU utilization on Nginx webserver

We have set up Nginx (on version 1.12.2) webserver. Due to some reason the CPU utilization on the web server is going upto 100% with just 1 or 2 test users in few minutes. This is causing the server to hang.

Could it be caused by GC collection ?

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image
Best Answer

Answer by Trevor M. · Nov 14, 2017 at 04:17 PM

Hi Shikha,

I wouldn't say CPU utilization indicates garbage collection issues, but it still could be something to take a look at.

If garbage collection is your concern you can go to Featured Dashlets > Transaction Flow and filter for the host you expect is experiencing this issue, along with the time frame.

If you hover over the host, you will see a window pop up, GC should be on there and it should be red if there's an issue. If you click on Show Application Process, you should see what garbage collection looks like, along with some other key metrics.

Let me know if you have any questions.


transactionflow.png (166.5 KiB)
Comment
Florian O.
Hayden M.

People who like this

2 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Shikha Y. · Nov 17, 2017 at 05:12 AM 0
Share

Hi Trevor,

The garbage collection is not an issue here.

So when we try running the application on the nginx webserver without dynatrace agent, the application works fine. The dynatrace webserver agent currently installed is '6.5.20.1009'. We tried installing the latest version 6.5.0.1289 but the collector is running a “better” version therefore bootstrap downloaded the newest version and adjusted the settings for it with version 6.5.20.1009. However we still have the issue of NGINX going upto 100% CPU and the only way is to restart the service.

Any thoughts on this issue would be helpful.

avatar image

Answer by Trevor M. · Nov 21, 2017 at 02:46 PM

Hi Shikha,

If the high CPU utilization only occurs with the agent online, you may want to submit a support ticket.

Alternatively, you could try opening up the Purepaths dashlet for a certain time frame and the desired agent, then adding CPU sum to the table and sorting by highest first.

It is possible that a transaction(s) is allocating CPU and never terminates which could lead to CPU starvation. Any Purepaths with high CPU sum would be worth looking into.

Hope that helps.


2017-11-21-09-37-32-new-dashboard-dynatrace-client.png (57.6 KiB)
Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Web Server Agent Master/Worker Process Mismatch After Updating Server. Suggestions?

Monitoring Shiny Server

The most stable Nginx version for Dynatrace agent

IIS Webserver with multiple pool for different application connected to different profiles

Instrumenting Agents on Apigee Components

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A