Re: Something is killing my CPU
Gavin Hill <[email protected]> Tue, 9 Oct 2018 11:31:44 +0000
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <HE1P190MB0555A6C39E9F5089705C5F7B8BE70@HE1P190MB0555.EURP190.PROD.OUTLOOK.COM> |
Thanks Dino, I have VisualVM up and running and a JMX connection to the OpenNMS box active. Now what am I looking at/for?! I have no real clue as to how to spot the culprit? Gavin From: Dino Yancey <[email protected]> Sent: Monday, 08 October 2018 20:28 To: General OpenNMS Discussion <[email protected]> Subject: Re: [opennms-discuss] Something is killing my CPU I'd recommend watching the JVM with something like VisualVM ( https://visualvm.github.io/ ) to see which subsystem or thread is spinning out. Probably easier to follow than a stack trace. Dino -- Gavin Hill | Director m: +27 83 601 8181 t: +27 10 020 5959 On Mon, Oct 8, 2018 at 12:01 PM Gavin Hill <[email protected]<mailto:[email protected]>> wrote: How do I identify which OpenNMS (22.0.4) process is consuming all of my CPU time? I have a 4-core machine that runs fine after a restart but over time, CPU just grows until it maxes out. [cid:[email protected]] [cid:[email protected]] Any thoughts on how I identify what is doing this? I look in htop and it shows it’s one of the OpenNMS Java threads, but I don’t know how to find out which. Restarting OpenNMS every few days is not an option for me. -- Gavin Hill | Director m: +27 83 601 8181<tel:+27%2083%20601%208181> t: +27 10 020 5959<tel:+27%2010%20020%205959> [cid:uIntJudOv0WWT9gK1Gd6SgHighpeak_email_jpg] <mailto:%28%21Email%21%29> [cid:eG9ti278aE6WLBs3ol32MgHighpeak_linkedin_jpg] <https://www.linkedin.com/company/highpeak-pty-ltd/> [cid:VR7Az4S9TkOoA1vXSpYxyAHighpeak_skype_jpg] [cid:UNL71Mui90OJgeHgbShQDQHighpeak_web_jpg] <https://www.highpeak.co.za/> [cid:lKM45Y5pE0GFg4Zv0wQ4fAHPLogoForSignature_jpg] _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss
(unnamed)
(image/jpeg, 2.5 KB) - not displayed
(unnamed)
(image/jpeg, 2.5 KB) - not displayed
(unnamed)
(image/jpeg, 2.6 KB) - not displayed
(unnamed)
(image/jpeg, 2.5 KB) - not displayed
(unnamed)
(image/jpeg, 3.3 KB) - not displayed