Mailing List Archive

big jum in cpu usage
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: steve.clark@netwolves.com<mailto:steve.clark@netwolves.com>
http://www.netwolves.com

Email Confidentiality Notice: The information contained in this transmission may contain privileged and confidential and/or protected health information (PHI) and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act of 1996, as amended (HIPAA). This transmission is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, dissemination, distribution, printing or copying of this transmission is strictly prohibited and may subject you to criminal or civil penalties. If you have received this transmission in error, please contact the sender immediately and delete this email and any attachments from any computer. Vaso Corporation and its subsidiary companies are not responsible for data leaks that result from email messages received that contain privileged and confidential and/or protected health information (PHI).
Re: big jum in cpu usage [ In reply to ]
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.lua
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 notifications.l

to on 211108
12606 ntopng 20 0 1668936 179032 14940 S 29.4 9.5 2:17.72 timeseries.lua
12600 ntopng 20 0 1668936 179032 14940 S 25.7 9.5 2:12.39 second.lua
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 notifications.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_update.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: steve.clark@netwolves.com<mailto:steve.clark@netwolves.com>
http://www.netwolves.com

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


_______________________________________________
Ntop-dev mailing list
Ntop-dev@listgateway.unipi.it<mailto:Ntop-dev@listgateway.unipi.it>
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: steve.clark@netwolves.com<mailto:steve.clark@netwolves.com>
http://www.netwolves.com

Email Confidentiality Notice: The information contained in this transmission may contain privileged and confidential and/or protected health information (PHI) and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act of 1996, as amended (HIPAA). This transmission is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, dissemination, distribution, printing or copying of this transmission is strictly prohibited and may subject you to criminal or civil penalties. If you have received this transmission in error, please contact the sender immediately and delete this email and any attachments from any computer. Vaso Corporation and its subsidiary companies are not responsible for data leaks that result from email messages received that contain privileged and confidential and/or protected health information (PHI).
Re: big jum in cpu usage [ In reply to ]
Hi Steve
first of all we encourage you to move to our Discord/Telegram system as we are discontinuing the mailing list: https://www.ntop.org/community/

As of the CPU jump this is due to the fact that we have removed Lua VMs reuse as this was causing crashes. This means that every time we spawn a Lua VM we reload the files and thus the load. In particular for high-frequency tasks as the second (a new VM is created every second) you will see this jump). We plan to address this problem (see https://github.com/ntop/ntopng/issues/6091) as some users already complained but on the other hand ntopng is now rock solid (again without heavy load you won’t note anything).

Regards Luca



> On 18 Nov 2021, at 19:51, Steve Clark <steve.clark@netwolves.com> wrote:
>
> 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.lua
> 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 notifications.l
>
> to on 211108
> 12606 ntopng 20 0 1668936 179032 14940 S 29.4 9.5 2:17.72 timeseries.lua
> 12600 ntopng 20 0 1668936 179032 14940 S 25.7 9.5 2:12.39 second.lua
> 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 notifications.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_update.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: steve.clark@netwolves.com <mailto:steve.clark@netwolves.com>
>> http://www.netwolves.com <http://www.netwolves.com/>
>>
>> Email Confidentiality Notice: The information contained in this transmission may contain privileged and confidential and/or protected health information (PHI) and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act of 1996, as amended (HIPAA). This transmission is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, dissemination, distribution, printing or copying of this transmission is strictly prohibited and may subject you to criminal or civil penalties. If you have received this transmission in error, please contact the sender immediately and delete this email and any attachments from any computer. Vaso Corporation and its subsidiary companies are not responsible for data leaks that result from email messages received that contain privileged and confidential and/or protected health information (PHI).
>>
>> _______________________________________________
>> Ntop-dev mailing list
>> Ntop-dev@listgateway.unipi.it <mailto:Ntop-dev@listgateway.unipi.it>
>> http://listgateway.unipi.it/mailman/listinfo/ntop-dev <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: steve.clark@netwolves.com <mailto:steve.clark@netwolves.com>
> http://www.netwolves.com <http://www.netwolves.com/>
>
> Email Confidentiality Notice: The information contained in this transmission may contain privileged and confidential and/or protected health information (PHI) and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act of 1996, as amended (HIPAA). This transmission is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, dissemination, distribution, printing or copying of this transmission is strictly prohibited and may subject you to criminal or civil penalties. If you have received this transmission in error, please contact the sender immediately and delete this email and any attachments from any computer. Vaso Corporation and its subsidiary companies are not responsible for data leaks that result from email messages received that contain privileged and confidential and/or protected health information (PHI).
> _______________________________________________
> Ntop-dev mailing list
> Ntop-dev@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev