• 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
        • Enterprise Synthetic Monitoring
      • Synthetic Classic
        • Synthetic Classic Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Natthapong V. · Apr 18, 2018 at 07:38 PM · 7.0 uem appmon 7 production process groups mobile monitoring apache android webserver web services

User Action take duration time much, what is a point the root cause. Mobile App/Apache/Java/Server/Network

Hello, everyone

Please, somebody help us to confirm or advise to fix this expectation be the root cause of problem. Our customer has had UEM and business transactions User Action take duration time much as Visit pic.

We expect root cause of issue have been happened between Mobile App and Threads of Apache be full usage as Threads chart and Transaction flow pic.

The information above make us think root cause happen from Threads of Apache be full usage, it makes some process/action of Mobile App in queue for wait Threads/Worker have idle because issue appear at the same duration time between User Action and Threads of Apache be full usage.

If our expectation is correct. We would like to somebody advise to turning Threads of Apache to expand it and advise our customer because we tried to find an explanation on web ref. http://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadlim, it explain MaxSpareThreads parameter have the default is 250 but we don’t sure that must change this parameter because have many parameter related Threads of Apache.

Customer’s Apache parameter detail as pic below;

apache-process1-s.png (115.3 kB)
trans1s.png (143.6 kB)
transaction-flows.jpg (166.5 kB)
httpd-1.png (13.1 kB)
httpd-2.png (1.8 kB)
httpd-mpm.png (20.2 kB)
visit2-s.png (232.9 kB)
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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

3 Replies

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

Answer by dynatrace A. · Apr 30, 2018 at 07:27 AM

Hi everyone, I’m Natthapong V.

Update issue, after advise our customer as our recommend but advise of forums about Bandwidth calculation and MaxRequestWorkers of Apache @Babar Q. @Jussi N., customer have been scheduling to process. Our customer added MaxSpareThreads parameter more than 250 at last week but still have issue, user action take duration time much as screenshot;

Visit of issue;

Transaction from User Action blue selected;

Time 12.31 Apache process many take Transaction response time contribution%;

Time 12.31 Purepaths tree of Purepaths many take response time;

Time 12.33 External service process many take Transaction response time contribution%;

Apache process of purepaths at time 12.31 – 12.33, it’s normal, thread is not full.

User Action Purepaths at time 12.31, Purepaths: *[com.techberry.icollection.service.ICollectionAndroidService]* Client Family: Samsung Galaxy Tab S2 8.0, it take Transaction response time contribution on Mobile App 100%

Above information, Is it possible that root cause may be devices version of Samsung Galaxy Tab S2 8.0 because our customer only have sent visit Client Family Samsung Galaxy Tab S2 8.0 on everytime.

If you have more any advise, please do not hesitate to reply me, Thank so much. #appmon 7.0


visit1e.png (117.3 kB)
trans1e.png (90.5 kB)
trans11e.png (99.8 kB)
pptree11e.png (131.9 kB)
trans12e.png (95.7 kB)
apache1e.png (65.8 kB)
useractionpurepath1e.png (69.0 kB)
visit1e2.png (117.4 kB)
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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image

Answer by Jussi N. · Apr 19, 2018 at 08:00 AM

Hi Natthapong,

It looks like this Apache server is using the "prefork" MPM module, which means that it is actually using worker processes instead of worker threads. In this case the important configuration value is "MaxRequestWorkers", which seems to have been set to 250 in the configuration. Increasing this value will enable Apache to spawn more worker processes.

The large amount of network delay you are seeing is due to the fact that the requests are stuck in the listening socket's waiting queue while all Apache workers are busy; this does not mean that the bandwidth is not enough. Once Apache has enough worker processes to handle the load, the network contribution should become very small again.

Just for reference, a little explanation on the other values seen in the configuration under "IfModule mpm_prefork_module":

* StartServers: this is the initial amount of servers started by Apache when it boots. This should be close to the amount of Apache workers during standard load on your system so that Apache can handle the traffic right after startup.

* MinSpareServers: this is the amount of free (not busy) server processes that Apache tries to keep around. So if your traffic often has big spikes, you should keep more servers around ready to handle the spikes. It will create more overhead on the system though.

* MaxSpareServers: this is the maximum amount of those free worker processes. If more processes than this amount are not busy, Apache starts to kill the unnecessary workers.

* MaxConnectionsPerChild: this is the number of connections handled by a child process before it terminates and forces Apache to spawn a new worker. This is more of a workaround for buggy modules with memory leaks, and should not even be necessary in normal case.

Best,

Jussi

Comment

People who like this

0 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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image Natthapong V. · Apr 19, 2018 at 12:13 PM 0
Share

Thanks for your suggestion, we will discuss that with our customer.

avatar image

Answer by Babar Q. · Apr 19, 2018 at 06:45 AM

Hello Natthapong,

As per the shared screenshot 'Network' is the main reason of slow actions.

Did you ask the bandwidth utilization particularity for this mobile application?

Can you disable the bandwidth calculation on mobile browsers to isolate the issue?

Regards,

Babar

Comment

People who like this

0 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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image Natthapong V. · Apr 19, 2018 at 07:06 AM 0
Share

Thanks for your suggestion, we will check it with our customer about that.

Join the conversation!

First steps in the forum
Community User Guide

LIVE WEBINAR

"Power Demo: Software Intelligence for Cloud Infrastructure"


DECEMBER 12, 10:00 AM GMT / 2:00 PM ET

Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here

Follow this Question

Answers Answers and Comments

28 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to find the top user actions of Mobile App visits? 1 Answer

android manual instrumentation 2 Answers

Signal Strength [dBm]: Android UEM 1 Answer

Master and sub agents have different versions for unix agent 1 Answer

Dynatrace Log4net log from MongoDB 3 Answers

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api errors 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 browser agent community user guide hybris javascript appmon sensors good to know 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 diagnostics user session monitoring unique users continuous delivery configuration alerting NGINX splitting business transaction client 6.3 installation chart database scheduler apache mobileapp RUM php dashlet azure purepath plugins agent 7.1 appmonsaas messagebroker nodejs 6.2 incidents 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
      • Enterprise Synthetic Monitoring
    • Synthetic Classic
      • Synthetic Classic Open Q&A