OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: ruggerio on May 04, 2018, 01:50:41 pm

Title: Python 2.7 eating CPU
Post by: ruggerio on May 04, 2018, 01:50:41 pm
Hi,

Since about 18.1.5, i see that the python-processes use lots of cpu. This has not been the case before. Does anybody know, how i can find which "module" is keeping python busy?

Anybody else with that?

Roger
Title: Re: Python 2.7 eating CPU
Post by: ruggerio on May 04, 2018, 02:19:07 pm
1) Disabled Netflow: -29% CPU
Title: Re: Python 2.7 eating CPU
Post by: opnfwb on May 04, 2018, 02:30:54 pm
I see occasional CPU spikes around 27% on one core probably once every 10 seconds or so. However, in my case it is not constant usage, only occasional spikes, I would assume some kind of data dumping or log aggregation. I also use Netflow.

Can you share some details about your hardware? Are you seeing a constant 29% CPU usage from Python or is it only occasionally spiking that high?

For reference, my setup is:
i3-4130 CPU (powerD hi-adaptive)
8GB ECC DDR3
100GB 5400RPM HDD (this should not matter)
Intel i340-4
Title: Re: Python 2.7 eating CPU
Post by: guest15389 on May 04, 2018, 03:34:32 pm
What do you have turned on? What's your hardware specs?