OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: mdsmds on February 17, 2019, 12:18:53 PM

Title: OPN CPU scale UP
Post by: mdsmds on February 17, 2019, 12:18:53 PM
on almost 24 h cycle, CPU scale Up and, finally, Down and slowly Up again...

Title: Re: OPN CPU scale UP
Post by: bartjsmit on February 17, 2019, 12:36:28 PM
Run top at several points of this cycle to see if there is a recurring process that may explain this.

Otherwise, 20% CPU is not very alarming.

Bart...
Title: Re: OPN CPU scale UP
Post by: mdsmds on February 17, 2019, 01:55:19 PM
the question does not concern the% of the CPU but the curious growth (slowly progressive) and the subsequent sudden re-positioning downwards after a constant period of time...
Title: Re: OPN CPU scale UP
Post by: mdsmds on February 17, 2019, 03:33:49 PM
in other words, something is eating CPU time but we don't know what...
Title: Re: OPN CPU scale UP
Post by: bartjsmit on February 17, 2019, 03:37:39 PM
top will tell you
Title: Re: OPN CPU scale UP
Post by: mdsmds on February 17, 2019, 03:46:58 PM
So: should I keep my eyes on top for 24h ?  ;D
Title: Re: OPN CPU scale UP
Post by: bartjsmit on February 17, 2019, 07:05:26 PM
You have a predictable pattern; take samples at set times and compare results.  8)
Title: Re: OPN CPU scale UP
Post by: mdsmds on February 18, 2019, 09:46:49 AM
You have a predictable pattern ;)
as you have surely noticed, the increase is only about 5% in 24h and is only appreciable considering it in the average of a discrete range... compare samples at set times will only let you losing your time  ;)
I collected (via SSH script) the total sample of the processes every 60 "for 24h.
Now I know what  8) 
... It's netflow... Disabled and now CPU stay flat.