High CPU - 100.00% /usr/local/bandwidthd/bandwidthd



  • I have totaly clean install of pfSense Version 2.1.2-RELEASE  (amd64) built on Thu Apr 10 05:42:18 EDT 2014

    Platform pfSense 
    CPU Type Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz

    I have no idea why so high CPU load without any traffic. Can you help me?

    last pid: 26537;  load averages:  1.31,  0.81,  0.35  up 0+00:02:06    17:36:44
    130 processes: 6 running, 96 sleeping, 28 waiting

    Mem: 61M Active, 21M Inact, 115M Wired, 148K Cache, 21M Buf, 3405M Free
    Swap: 8192M Total, 8192M Free

    PID USERNAME PRI NICE  SIZE    RES STATE  C  TIME  WCPU COMMAND
      11 root    171 ki31    0K    64K CPU0    0  2:04 100.00% [idle{idle: cpu0}]
    83206 root    119    0 27568K  4164K CPU3    3  1:40 100.00% /usr/local/bandwidthd/bandwidthd
      11 root    171 ki31    0K    64K CPU2    2  1:11 93.46% [idle{idle: cpu2}]
      11 root    171 ki31    0K    64K RUN    1  1:46 81.05% [idle{idle: cpu1}]
      11 root    171 ki31    0K    64K RUN    3  1:17 34.28% [idle{idle: cpu3}]
        0 root    -16    0    0K  336K sched  0  0:44  0.00% [kernel{swapper}]
      263 root      76  20  6908K  1352K kqread  2  0:20  0.00% /usr/local/sbin/check_reload_status
    34180 root      47    0  149M 44436K piperd  1  0:00  0.00% /usr/local/bin/php{php}
      12 root    -32    -    0K  448K WAIT    0  0:00  0.00% [intr{swi4: clock}]
      12 root    -68    -    0K  448K WAIT    0  0:00  0.00% [intr{irq19: em5 atapc}]
    26573 root      76    0  143M 22848K wait    1  0:00  0.00% /usr/local/bin/php
    31657 root      76    0  143M 22888K wait    1  0:00  0.00% /usr/local/bin/php
        3 root      -8    -    0K    16K -      1  0:00  0.00% [g_up]
        4 root      -8    -    0K    16K -      1  0:00  0.00% [g_down]
        9 root      -8    -    0K    16K m:w1    2  0:00  0.00% [g_mirror pfSenseMir]
    26217 root      44    0 24220K  5356K kqread  2  0:00  0.00% /usr/local/sbin/lighttpd -f /var/etc/lighty
      15 root    -40    -    0K  128K -      0  0:00  0.00% [usb{usbus1}]
        8 root    -16    -    0K    16K pftm    2  0:00  0.00% [pfpurge]



  • a) See how ,any bandwidthd processes there are:

    ps aux | grep bandwidthd
    

    Normally there are 4, sometimes it has got started twice somehow, and there are 8!
    b) Restart bandwidthd (button for that on Status->Services).
    c) Repeat command at (a) and see if there are now only 4 processes.

    I have seen bandwidthd do this, but not recently.

    If it happens regularly, then post your bandwidthd settings and an overview of what interfaces you have… Then it might be possible to reproduce, and even fix, maybe  ;)



  • After reinstall all went quiet.  ???

    Load is almost zero as should be.