Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
CPU spike from update_tables.py on APU2e4
« previous
next »
Print
Pages: [
1
]
Author
Topic: CPU spike from update_tables.py on APU2e4 (Read 4289 times)
marcog
Newbie
Posts: 11
Karma: 0
CPU spike from update_tables.py on APU2e4
«
on:
January 30, 2021, 12:40:02 pm »
Hi,
I installed OpnSENSE on an APUe2 platform. It seems to run well but I noticed that every 60 seconds the CPU goes from 1-4% to 30%. This happens when the python "script update_tables.py" runs. Is this normal? The issue was already reported in July here:
https://forum.opnsense.org/index.php?topic=18215.msg82722#msg82722
but the user provided only a workaround. This happened to me both on a fresh install without any configuration (only WAN/LAN interfaces) and a full operative instance. I attached a couple of screenshots which show the cpu graph and the process that causes the spike.
Thanks
Logged
franco
Administrator
Hero Member
Posts: 17654
Karma: 1610
Re: CPU spike from update_tables.py on APU2e4
«
Reply #1 on:
January 30, 2021, 01:31:26 pm »
Well, do you have a number of aliases set? It may be looking for a reason to update and/or carrying out updates.
Cheers,
Franco
Logged
marcog
Newbie
Posts: 11
Karma: 0
Re: CPU spike from update_tables.py on APU2e4
«
Reply #2 on:
January 30, 2021, 01:49:49 pm »
Hi franco, thanks for your answer. I have many aliases set, but the spike happened even on a fresh install without any aliases set. Is it possible that just the python call causes these spikes? Do you think that this cpu behaviour is normal? I am worried that on high throughputs this behaviour could cause issues. For example consider if I am downloading at gigabit speed and the cpu is on 80% usage. If the script takes 20% of the cpu every minute it would maximize the cpu usage resulting on packet loss. Am I right?
Thanks again.
Best regards
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
CPU spike from update_tables.py on APU2e4