Re: Something is killing my CPU
Dino Yancey <[email protected]> Tue, 9 Oct 2018 19:38:44 -0500
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <CA+GnOzSJuHn+4xdj28SV8=_LPd-_R50YQDbjfVP6UPk=056q8g@mail.gmail.com> |
Do you have anything that is making a whole bunch of REST calls? On Tue, Oct 9, 2018 at 7:52 AM Gavin Hill <[email protected]> wrote: > OK, this looks like one of the culprits, but I don’t know what it means. > > > > 1. At 2pm you can see CPU clearly jump: > 1. > 2. It looks to be this thread: > 1. > 3. If I expand the thread all the way down (and boy does it go a long > way) I finally get here: > 1. > > > > Anyone know what this means?! > > > > Gavin > > -- > *Gavin Hill* | Director > m: +27 83 601 8181 <+27%2083%20601%208181> > t: +27 10 020 5959 <+27%2010%20020%205959> > <%28%21Email%21%29> > <https://www.linkedin.com/company/highpeak-pty-ltd/> > <https://www.highpeak.co.za/> > > *From:* Gavin Hill <[email protected]> > *Sent:* Tuesday, 09 October 2018 13:32 > *To:* General OpenNMS Discussion <[email protected]> > *Subject:* Re: [opennms-discuss] Something is killing my CPU > > > > 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 > > > > -- > > *Gavin Hill* | Director > m: +27 83 601 8181 <+27%2083%20601%208181> > t: +27 10 020 5959 <+27%2010%20020%205959> > <%28%21Email%21%29> > <https://www.linkedin.com/company/highpeak-pty-ltd/> > <https://www.highpeak.co.za/> > > *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 > > > > On Mon, Oct 8, 2018 at 12:01 PM Gavin Hill <[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. > > > > > > > > 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 <+27%2083%20601%208181> > t: +27 10 020 5959 <+27%2010%20020%205959> > <%28%21Email%21%29> > <https://www.linkedin.com/company/highpeak-pty-ltd/> > <https://www.highpeak.co.za/> > > _______________________________________________ > 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 _______________________________________________ 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
image001.png
(image/png, 24.9 KB) - not displayed
image002.png
(image/png, 18.7 KB) - not displayed
image003.jpg
(image/jpeg, 2.5 KB) - not displayed
image004.jpg
(image/jpeg, 2.5 KB) - not displayed
image005.jpg
(image/jpeg, 2.6 KB) - not displayed
image006.jpg
(image/jpeg, 2.5 KB) - not displayed
image007.jpg
(image/jpeg, 3.3 KB) - not displayed
image008.png
(image/png, 50.4 KB) - not displayed
noname
(image/jpeg, 2.5 KB) - not displayed
noname
(image/jpeg, 2.5 KB) - not displayed
noname
(image/jpeg, 2.6 KB) - not displayed
noname
(image/jpeg, 2.5 KB) - not displayed
noname
(image/jpeg, 3.3 KB) - not displayed
image003.jpg
(image/jpeg, 2.5 KB) - not displayed