High CPU usage



  • Hi guys, it seems like I'm running out of ideas what causing high cpu usage ~65%-75% by default with a minimal traffic passing through.
    I'm new to pfSense | FreeBSD and any help appreciated in advance.

    Here comes some info about my fw:

    pfSense 2.4.4
    Gigabyte J4005N d2P motherboard with the latest BIOS
    (Built-in Intel® Celeron® J4005 (up to 2.7 GHz) dual-core processor)
    WD green M.2 Sata SSD
    2X4GB DDR4 Kingston 2400 memory modules
    INTEL PRO/1000 PT Dual port PCIe NIC

    [2.4.4-RELEASE][admin@pfSense.localdomain]/root: top -aSH
    last pid: 44889; load averages: 1.68, 1.87, 1.74 up 0+00:34:51 22:25:11
    133 processes: 4 running, 114 sleeping, 15 waiting
    CPU: 0.5% user, 0.0% nice, 63.0% system, 0.0% interrupt, 36.5% idle
    Mem: 66M Active, 48M Inact, 180M Wired, 17M Buf, 7408M Free
    Swap: 3888M Total, 3888M Free

    PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
    11 root 155 ki31 0K 32K RUN 0 24:42 72.06% [idle{idle: cpu0}]
    11 root 155 ki31 0K 32K RUN 1 16:39 48.25% [idle{idle: cpu1}]
    0 root 8 - 0K 336K - 0 9:52 27.95% [kernel{acpi_task_2}]
    0 root 8 - 0K 336K - 0 9:28 27.64% [kernel{acpi_task_0}]
    0 root 8 - 0K 336K CPU0 0 7:48 22.06% [kernel{acpi_task_1}]

    [2.4.4-RELEASE][admin@pfSense.localdomain]/root: systat -vmstat 1

    2 users    Load  1.91  1.96  1.80                  Nov  1 22:28
    

    Mem usage: 4%Phy 0%Kmem
    Mem: KB REAL VIRTUAL VN PAGER SWAP PAGER
    Tot Share Tot Share Free in out in out
    Act 104308 11404 445584 14280 7585072 count
    All 108692 15692 478096 40248 pages
    Proc: Interrupts
    r p d s w Csw Trp Sys Int Sof Flt ioflt 15581 total
    57 112k 6658 1140 13k 26 6603 152 cow 13304 acpi0 9
    6290 zfod 1127 cpu0:timer
    63.4%Sys 0.0%Intr 0.4%User 0.0%Nice 36.2%Idle ozfod 1129 cpu1:timer
    | | | | | | | | | | %ozfod hdac0 264
    ================================ daefr ahci0 265
    29 dtbuf 663 prcfr 5 em0 266
    Namei Name-cache Dir-cache 210301 desvn 12723 totfr 16 em1 267
    Calls hits % hits % 1216 numvn react xhci0 268
    278 276 99 1 0 122 frevn pdwak
    40 pdpgs
    Disks md0 ada0 pass0 intrn

    KB/t 0.00 0.00 0.00 184112 wire
    tps 0 0 0 67432 act
    MB/s 0.00 0.00 0.00 50044 inact
    %busy 0 0 0 laund
    7585072 free
    17672 buf

    [2.4.4-RELEASE][admin@pfSense.localdomain]/root: netstat -m

    3687/1383/5070 mbufs in use (current/cache/total)
    2866/680/3546/1000000 mbuf clusters in use (current/cache/total/max)
    2866/676 mbuf+clusters out of packet secondary zone in use (current/cache)
    0/80/80/524288 4k (page size) jumbo clusters in use (current/cache/total/max)
    0/0/0/524288 9k jumbo clusters in use (current/cache/total/max)
    0/0/0/41075 16k jumbo clusters in use (current/cache/total/max)
    6653K/2025K/8679K bytes allocated to network (current/cache/total)
    0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
    0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
    0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
    0/0/0 requests for jumbo clusters denied (4k/9k/16k)
    0 sendfile syscalls
    0 sendfile syscalls completed without I/O request
    0 requests for I/O initiated by sendfile
    0 pages read by sendfile as part of a request
    0 pages were valid at time of a sendfile request
    0 pages were requested for read ahead by applications
    0 pages were read ahead by sendfile
    0 times sendfile encountered an already busy page
    0 requests for sfbufs denied
    0 requests for sfbufs delayed

    Cheers,
    C


  • Netgate Administrator

    Hmm, weird.

    How does that appear in ps -auxww ?

    Steve



  • Hi Steve, it seems like this motherboard and pfSense ain’t friends at all, acpi issues all over the place... I tried to turn it off in loader.conf but then it just doesn’t boot. I’m going to replace this board with a different one and give it a go.

    Thanks
    C