Project

General

Profile

Actions

Bug #6614

open

Dashboard high CPU usage

Added by Harry Coin over 8 years ago. Updated over 8 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
07/14/2016
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.x
Affected Architecture:

Description

In a very low traffic sandbox environment, the new 2.3.2 snapshot of today hums along with a load average of 0.48 or so on a dual processor xeon sandbox with nobody logged in using the gui. I load the GUI and the load average jumps to 1.4 for a bit, then zips up to 3,x to q5.1 or so and stays locked there for as long as I'm logged in. Thing is really, really slow. All I'm doing is watching the dashboard.

last pid: 24693; load averages: 3.68, 2.40, 2.79 up 0+01:06:58 12:20:14
56 processes: 5 running, 51 sleeping
CPU: 1.8% user, 0.0% nice, 91.8% system, 5.3% interrupt, 1.2% idle
Mem: 74M Active, 81M Inact, 131M Wired, 96K Cache, 332M Buf, 1674M Free
Swap: 3072M Total, 3072M Free

PID USERNAME  THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
9331 root 1 82 0 16868K 5204K RUN 0 0:04 34.47% pfctl
14712 root 1 77 0 266M 34604K CPU1 1 0:14 17.19% php-fpm
30447 root 1 77 0 262M 38832K RUN 1 0:09 16.55% php-fpm
44294 root 1 52 0 266M 36592K piperd 0 0:12 11.87% php-fpm
33256 root 1 52 0 262M 38572K piperd 1 0:09 4.59% php-fpm
264 root 1 20 0 262M 24984K kqread 1 0:04 0.10% php-fpm
35943 root 1 20 0 16676K 2244K bpf 0 0:02 0.10% filterlog
6902 root 1 52 20 17000K 2580K wait 0 1:09 0.00% sh

Sometimes pfctl jumps to 40% load for a while and the php-fpm processes get less. When pfctl drops off the list, the php processes scale up. I'm going to delete items off the dashboard, to see if one of them is a culprit.

So... first candidate to delete: Interface Statistics. Nope. Still hanging up there, with 2 pfctls now. momentarily dtops back to 28% idle.. so, not interface stats.

Load balancer stats... gone. No obvious changes. 1.5% idle.

CARP stats... gone.. No obvious changes.

OpenVPN stats... gone. No obvious changes.

Interfaces... gone. No obvious changes.

Gateways ... gone... no obvious changes.

System information ... gone... the dashboard put it back....90% idle. There's the problem.

Maybe it's the scanner for the update? I'm told now that 2.3.2.a.20160714.1031 is available

I'm thinking maybe a memory leak / wedge in the dashboard system information panel?

Actions

Also available in: Atom PDF