Discussion Feed
04-18-2019
02:21 AM
04-18-2019
02:21 AM
Thanks!
We have tested the follow four scenarios with 90 tps , still get the same result.
scenarios 1: AppDynamics is disabled ---- nodejs agent CPU used 41%
scenarios 2: AppDynamics is enabled with default setting (processSnapshotCountResetPeriodSeconds: 60, maxProcessSnapshotsPerPeriod: 2, autoSnapshotDurationSeconds: 10 ) ---- nodejs agent CPU used 57%
scenarios 3: AppDynamics is enabled with special setting, (processSnapshotCountResetPeriodSeconds: 60, maxProcessSnapshotsPerPeriod: 10, autoSnapshotDurationSeconds: 6 ) ---- nodejs agent CPU used 61%
scenarios 4: AppDynamics is enabled with special setting (processSnapshotCountResetPeriodSeconds: 120, maxProcessSnapshotsPerPeriod: 1, autoSnapshotDurationSeconds: 10 ) --- nodejs agent CPU used 56%
regards!
... View more
04-16-2019
09:44 PM
04-16-2019
09:44 PM
Hi All,
Now we use the sharing proxy to commucate with the nodejs agents in one node.(by setting proxyAutolaunchDisabled: true, proxyCtrlDir: '/tmp/appd/proxy_ctrl_dir').
It work well, but we found that each time the java proxy restart, the nodejs agents need restarted too.
Is it possible restart the java proxy without restart the nodejs agent ?
Regards!
... View more
04-16-2019
07:36 PM
04-16-2019
07:36 PM
Hi Kyle,
Thanks for the reply!
We have tried adjust the three paramters(autoSnapshotDurationSeconds, processSnapshotCountResetPeriodSeconds, maxProcessSnapshotsPerPeriod), even set the alwaysAddEumMetadataInHttpHeaders to false for test, but still get the same result of high CPU usage .
Here is our Nodejs test code,
const appdynamics= require("appdynamics");
appdynamics.profile({ controllerHostName: appdynamicsConf.controllerHostName, controllerPort: appdynamicsConf.controllerPort, controllerSslEnabled: appdynamicsConf.controllerSslEnabled, accountName: appdynamicsConf.accountName, accountAccessKey: appdynamicsConf.accountAccessKey, applicationName: appdynamicsConf.applicationName, autoSnapshotDurationSeconds: 60, processSnapshotCountResetPeriodSeconds: 120, maxProcessSnapshotsPerPeriod: 1, alwaysAddEumMetadataInHttpHeaders: false, tierName: appdynamicsConf.tierName, nodeName: os.hostname() });
Regards!
... View more
04-16-2019
07:36 PM
04-16-2019
07:36 PM
04-16-2019
02:26 AM
04-16-2019
02:26 AM
We embed the appdynamic nodejs agent in our nodejs service.
When disable appdynamics function, with 90 tps, our nodejs service CPU usage is 40%.
When enable appdynamics function, with 90 tps, our nodejs service CPU usage is 60%.
After follow the optimize steps from https://community.appdynamics.com/t5/Knowledge-Base/How-do-I-troubleshoot-high-CPU-usage/ta-p/23266, CPU usage still 60%, not any approvement!
... View more
Latest Activity
- Posted Re: High CPU usage Nodejs Agent on linux on Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent). 04-18-2019 02:21 AM
- Posted Re: nodejs shareing proxy startup sequence on Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent). 04-17-2019 11:21 PM
- Posted nodejs shareing proxy startup sequence on Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent). 04-16-2019 09:44 PM
- Posted Re: High CPU usage Nodejs Agent on linux on Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent). 04-16-2019 07:36 PM
- Posted Re: High CPU usage Nodejs Agent on linux on Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent). 04-16-2019 07:36 PM
- Posted High CPU usage Nodejs Agent on linux on Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent). 04-16-2019 02:26 AM
- Tagged High CPU usage Nodejs Agent on linux on Dynamic Languages (Node.JS, Python, PHP, C/C++, Webserver Agent). 04-16-2019 02:26 AM
Community Stats
Date Registered | 04-16-2019 02:14 AM |
Date Last Visited | 04-20-2019 12:24 AM |
Total Messages Posted | 6 |