unknown Python 3.7 causing spikes on CPU

Started by andrema2, July 06, 2020, 10:59:23 PM

Previous topic - Next topic
Hi

On the 20.1.8_1 version, I'm seeing spikes that takes 100% of CPU caused by a Python 3.7.

I don't know how I can find out what is this Python program. Any suggestion is welcome

It might be insight traffic aggregation. Can you try to stop local netflow and see if it stops?

Try to monitor system process with top:


  • Launch top
  • Press "s", then "1", then ENTER to set the refresh interval to 1 second
  • Press "a" to show full command strings
  • Press "i" to hide idle processes

Then just wait for some spike to happen, and note the python command invocation string.

If the console width is too narrow, either use an ssh / tty connection with a maximized window (run resizewin on tty to have the terminal fit the dimensions of the window).
--
Marin BERNARD
System administrator

I have a similar problem, but specifically with maltrail. Are you running that?

Quote from: jds on July 07, 2020, 02:21:04 PM
I have a similar problem, but specifically with maltrail. Are you running that?

No, I have not.

Quote from: marinbernard-pep06 on July 07, 2020, 08:54:01 AM
Try to monitor system process with top:


  • Launch top

I'll try it. Thanks
  • Press "s", then "1", then ENTER to set the refresh interval to 1 second
  • Press "a" to show full command strings
  • Press "i" to hide idle processes

Then just wait for some spike to happen, and note the python command invocation string.

If the console width is too narrow, either use an ssh / tty connection with a maximized window (run resizewin on tty to have the terminal fit the dimensions of the window).