Re: big jum in cpu usage

Steve Clark <[email protected]> Thu, 18 Nov 2021 13:51:52 -0500
Newsgroups gmane.linux.ntop.devel
Message-ID <[email protected]>
--===============7818816591579340018==
Content-Type: multipart/alternative;
	boundary="------------DC484D6932C02DE061EB66FD"
Content-Language: en-US

--------------DC484D6932C02DE061EB66FD
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: quoted-printable

Replying to my own email I have narrowed it down to bewteen:
ntopng-5.0.210927-14747.x86_64
and
ntopng-5.0.211108-14756.x86_64

cpu usage went from 210927 being:
  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
  589 nobody    20   0 1816004 308460  31228 S  1.6  7.9 150:24.60 ntopng
  590 nobody    20   0 1816004 308460  31228 S  1.6  7.9 152:03.58 ntopng
  591 nobody    20   0 1816004 308460  31228 S  1.6  7.9 150:17.51 ntopng
14993 root      20   0  162404   2572   1600 R  1.3  0.1   0:04.92 top
  578 nobody    20   0 1816004 308460  31228 S  0.7  7.9  80:57.80 second.l=
ua
15188 root      20   0  162204   2364   1580 S  0.7  0.1   0:02.42 top
  552 nobody    20   0 1816004 308460  31228 S  0.3  7.9   1:43.76 ntopng
  585 nobody    20   0 1816004 308460  31228 S  0.3  7.9  20:28.69 notifica=
tions.l

to on 211108
12606 ntopng    20   0 1668936 179032  14940 S 29.4  9.5   2:17.72 timeseri=
es.lua
12600 ntopng    20   0 1668936 179032  14940 S 25.7  9.5   2:12.39 second.l=
ua
12570 ntopng    20   0 1668936 179032  14940 S 13.9  9.5   0:24.64 ntopng
12568 ntopng    20   0 1668936 179032  14940 S 12.2  9.5   0:25.75 ntopng
12594 ntopng    20   0 1668936 179032  14940 S 11.9  9.5   1:01.39 notifica=
tions.l
12596 ntopng    20   0 1668936 179032  14940 S 11.6  9.5   0:36.00 discover=
.lua
12590 ntopng    20   0 1668936 179032  14940 R 10.6  9.5   0:17.90 stats_up=
date.lu
12595 ntopng    20   0 1668936 179032  14940 R  9.2  9.5   0:40.34 periodic=
_checks
12611 ntopng    20   0 1668936 179032  14940 S  2.0  9.5   0:10.17 ntopng


On 11/18/21 8:39 AM, Steve Clark wrote:
Hi,

I just updated from
---> Package ntopng.x86_64 0:5.0.210820-14716 will be updated
---> Package ntopng.x86_64 0:5.0.211117-14757 will be an update

an I see a major jump in cpu usage.
before :
PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
16550 ntopng    20   0 2775480 201056  15340 S   2.6  5.2   1:35.32 ntopng =
- from top 2.6
Now:
PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
28178 ntopng    20   0 2791776 235676  16896 S 190.5  6.1  21:42.67 ntopng

--
Stephen Clark
NetWolves Managed Services, LLC.
Sr. Applications Architect
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]<mailto:[email protected]>
http://www.netwolves.com

Email Confidentiality Notice: The information contained in this transmissio=
n may contain privileged and confidential and/or protected health informati=
on (PHI) and may be subject to protection under the law, including the Heal=
th Insurance Portability and Accountability Act of 1996, as amended (HIPAA)=
. This transmission is intended for the sole use of the individual or entit=
y to whom it is addressed. If you are not the intended recipient, you are n=
otified that any use, dissemination, distribution, printing or copying of t=
his transmission is strictly prohibited and may subject you to criminal or =
civil penalties. If you have received this transmission in error, please co=
ntact the sender immediately and delete this email and any attachments from=
 any computer. Vaso Corporation and its subsidiary companies are not respon=
sible for data leaks that result from email messages received that contain =
privileged and confidential and/or protected health information (PHI).


_______________________________________________
Ntop-dev mailing list
[email protected]<mailto:[email protected]>
http://listgateway.unipi.it/mailman/listinfo/ntop-dev


--
Stephen Clark
NetWolves Managed Services, LLC.
Sr. Applications Architect
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]<mailto:[email protected]>
http://www.netwolves.com

Email Confidentiality Notice: The information contained in this transmissio=
n may contain privileged and confidential and/or protected health informati=
on (PHI) and may be subject to protection under the law, including the Heal=
th Insurance Portability and Accountability Act of 1996, as amended (HIPAA)=
. This transmission is intended for the sole use of the individual or entit=
y to whom it is addressed. If you are not the intended recipient, you are n=
otified that any use, dissemination, distribution, printing or copying of t=
his transmission is strictly prohibited and may subject you to criminal or =
civil penalties. If you have received this transmission in error, please co=
ntact the sender immediately and delete this email and any attachments from=
 any computer. Vaso Corporation and its subsidiary companies are not respon=
sible for data leaks that result from email messages received that contain =
privileged and confidential and/or protected health information (PHI).

--------------DC484D6932C02DE061EB66FD
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8">
</head>
<body text=3D"#000000" bgcolor=3D"#FFFFFF">
<div class=3D"moz-cite-prefix">Replying to my own email I have narrowed it =
down to bewteen:<br>
ntopng-5.0.210927-14747.x86_64<br>
and<br>
ntopng-5.0.211108-14756.x86_64<br>
<br>
cpu usage went from 210927 being:<br>
<tt>&nbsp; PID USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PR&nbsp; NI&nbsp;&nbsp;&n=
bsp; VIRT&nbsp;&nbsp;&nbsp; RES&nbsp;&nbsp;&nbsp; SHR S %CPU %MEM&nbsp;&nbs=
p;&nbsp;&nbsp; TIME+ COMMAND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
</tt><tt><br>
</tt><tt>&nbsp; 589 nobody&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1816004 30846=
0&nbsp; 31228 S&nbsp; 1.6&nbsp; 7.9 150:24.60 ntopng&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</tt><tt><br>
</tt><tt>&nbsp; 590 nobody&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1816004 30846=
0&nbsp; 31228 S&nbsp; 1.6&nbsp; 7.9 152:03.58 ntopng&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</tt><tt><br>
</tt><tt>&nbsp; 591 nobody&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1816004 30846=
0&nbsp; 31228 S&nbsp; 1.6&nbsp; 7.9 150:17.51 ntopng&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</tt><tt><br>
</tt><tt>14993 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0&nbsp; 16=
2404&nbsp;&nbsp; 2572&nbsp;&nbsp; 1600 R&nbsp; 1.3&nbsp; 0.1&nbsp;&nbsp; 0:=
04.92 top&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;
</tt><tt><br>
</tt><tt>&nbsp; 578 nobody&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1816004 30846=
0&nbsp; 31228 S&nbsp; 0.7&nbsp; 7.9&nbsp; 80:57.80 second.lua&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;
</tt><tt><br>
</tt><tt>15188 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0&nbsp; 16=
2204&nbsp;&nbsp; 2364&nbsp;&nbsp; 1580 S&nbsp; 0.7&nbsp; 0.1&nbsp;&nbsp; 0:=
02.42 top&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;
</tt><tt><br>
</tt><tt>&nbsp; 552 nobody&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1816004 30846=
0&nbsp; 31228 S&nbsp; 0.3&nbsp; 7.9&nbsp;&nbsp; 1:43.76 ntopng&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</tt><tt><br>
</tt><tt>&nbsp; 585 nobody&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1816004 30846=
0&nbsp; 31228 S&nbsp; 0.3&nbsp; 7.9&nbsp; 20:28.69 notifications.l<br>
<br>
to on</tt><tt> 211108<br>
12606 ntopng&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1668936 179032&nbsp; 14940 =
S 29.4&nbsp; 9.5&nbsp;&nbsp; 2:17.72 timeseries.lua&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;
<br>
12600 ntopng&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1668936 179032&nbsp; 14940 =
S 25.7&nbsp; 9.5&nbsp;&nbsp; 2:12.39 second.lua&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
12570 ntopng&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1668936 179032&nbsp; 14940 =
S 13.9&nbsp; 9.5&nbsp;&nbsp; 0:24.64 ntopng&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
12568 ntopng&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1668936 179032&nbsp; 14940 =
S 12.2&nbsp; 9.5&nbsp;&nbsp; 0:25.75 ntopng&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
12594 ntopng&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1668936 179032&nbsp; 14940 =
S 11.9&nbsp; 9.5&nbsp;&nbsp; 1:01.39 notifications.l&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;
<br>
12596 ntopng&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1668936 179032&nbsp; 14940 =
S 11.6&nbsp; 9.5&nbsp;&nbsp; 0:36.00 discover.lua&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;
<br>
12590 ntopng&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1668936 179032&nbsp; 14940 =
R 10.6&nbsp; 9.5&nbsp;&nbsp; 0:17.90 stats_update.lu&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;
<br>
12595 ntopng&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1668936 179032&nbsp; 14940 =
R&nbsp; 9.2&nbsp; 9.5&nbsp;&nbsp; 0:40.34 periodic_checks&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;
<br>
12611 ntopng&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 1668936 179032&nbsp; 14940 =
S&nbsp; 2.0&nbsp; 9.5&nbsp;&nbsp; 0:10.17 ntopng<br>
<br>
<br>
</tt>On 11/18/21 8:39 AM, Steve Clark wrote:<br>
</div>
<blockquote type=3D"cite" cite=3D"mid:b100c3a8-4acb-ae81-cd5c-23b10919b735@=
netwolves.com">
Hi,<br>
<br>
I just updated from<br>
---&gt; Package ntopng.x86_64 0:5.0.210820-14716 will be updated<br>
---&gt; Package ntopng.x86_64 0:5.0.211117-14757 will be an update<br>
<br>
an I see a major jump in cpu usage. <br>
before :<br>
PID USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PR&nbsp; NI&nbsp;&nbsp;&nbsp; VIRT&n=
bsp;&nbsp;&nbsp; RES&nbsp;&nbsp;&nbsp; SHR S&nbsp; %CPU %MEM&nbsp;&nbsp;&nb=
sp;&nbsp; TIME+ COMMAND<br>
16550 ntopng&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 2775480 201056&nbsp; 15340 =
S&nbsp;&nbsp; 2.6&nbsp; 5.2&nbsp;&nbsp; 1:35.32 ntopng - from top 2.6<br>
Now:<br>
PID USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PR&nbsp; NI&nbsp;&nbsp;&nbsp; VIRT&n=
bsp;&nbsp;&nbsp; RES&nbsp;&nbsp;&nbsp; SHR S&nbsp; %CPU %MEM&nbsp;&nbsp;&nb=
sp;&nbsp; TIME+ COMMAND<br>
28178 ntopng&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0 2791776 235676&nbsp; 16896 =
S 190.5&nbsp; 6.1&nbsp; 21:42.67 ntopng <br>
<br>
<div class=3D"moz-signature">-- <br>
Stephen&nbsp;Clark<br>
<b>NetWolves Managed Services, LLC.</b><br>
Sr.&nbsp;Applications&nbsp;Architect&nbsp;<br>
Phone:&nbsp;813-579-3200<br>
Fax:&nbsp;813-882-0209<br>
Email:&nbsp;<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:steve.clar=
[email protected]" moz-do-not-send=3D"true">[email protected]</a><br>
<a class=3D"moz-txt-link-freetext" href=3D"http://www.netwolves.com" moz-do=
-not-send=3D"true">http://www.netwolves.com</a><br>
<br>
</div>
Email Confidentiality Notice: The information contained in this transmissio=
n may contain privileged and confidential and/or protected health informati=
on (PHI) and may be subject to protection under the law, including the Heal=
th Insurance Portability and Accountability
 Act of 1996, as amended (HIPAA). This transmission is intended for the sol=
e use of the individual or entity to whom it is addressed. If you are not t=
he intended recipient, you are notified that any use, dissemination, distri=
bution, printing or copying of this
 transmission is strictly prohibited and may subject you to criminal or civ=
il penalties. If you have received this transmission in error, please conta=
ct the sender immediately and delete this email and any attachments from an=
y computer. Vaso Corporation and
 its subsidiary companies are not responsible for data leaks that result fr=
om email messages received that contain privileged and confidential and/or =
protected health information (PHI).
<br>
<fieldset class=3D"mimeAttachmentHeader"></fieldset>
<pre class=3D"moz-quote-pre" wrap=3D"">____________________________________=
___________
Ntop-dev mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:[email protected]=
nipi.it">[email protected]</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://listgateway.unipi.it/mail=
man/listinfo/ntop-dev">http://listgateway.unipi.it/mailman/listinfo/ntop-de=
v</a></pre>
</blockquote>
<br>
<br>
<div class=3D"moz-signature">-- <br>
Stephen&nbsp;Clark<br>
<b>NetWolves Managed Services, LLC.</b><br>
Sr.&nbsp;Applications&nbsp;Architect&nbsp;<br>
Phone:&nbsp;813-579-3200<br>
Fax:&nbsp;813-882-0209<br>
Email:&nbsp;<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:steve.clar=
[email protected]">[email protected]</a><br>
<a class=3D"moz-txt-link-freetext" href=3D"http://www.netwolves.com">http:/=
/www.netwolves.com</a><br>
<br>
</div>
Email Confidentiality Notice: The information contained in this transmissio=
n may contain privileged and confidential and/or protected health informati=
on (PHI) and may be subject to protection under the law, including the Heal=
th Insurance Portability and Accountability
 Act of 1996, as amended (HIPAA). This transmission is intended for the sol=
e use of the individual or entity to whom it is addressed. If you are not t=
he intended recipient, you are notified that any use, dissemination, distri=
bution, printing or copying of this
 transmission is strictly prohibited and may subject you to criminal or civ=
il penalties. If you have received this transmission in error, please conta=
ct the sender immediately and delete this email and any attachments from an=
y computer. Vaso Corporation and
 its subsidiary companies are not responsible for data leaks that result fr=
om email messages received that contain privileged and confidential and/or =
protected health information (PHI).
</body>
</html>

--------------DC484D6932C02DE061EB66FD--

--===============7818816591579340018==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
--===============7818816591579340018==--