CPU Usage always at 100% because of bandwidthD



  • Sorry the code is alittle un-orgonized :(

    last pid: 47214;  load averages:  1.00,  1.00,  0.92  up 0+00:45:11    21:14:43
    108 processes: 3 running, 85 sleeping, 20 waiting
    
    Mem: 71M Active, 11M Inact, 41M Wired, 1060K Cache, 22M Buf, 357M Free
    Swap: 512M Total, 512M Free
    
      PID   USERNAME PRI NICE   SIZE    RES   STATE    TIME   WCPU    COMMAND
     5018  root           117    0   7860K  3396K  RUN     42:35 100.00%  bandwidthd
    


  • What pfSense version are you using?
    What bandwidthd package version?
    What other packages do you have installed?
    There seem to be interactions with dependencies in other packages - some odd things are happening with the production of graphs when bandwidthd and lightsquid are both installed on pfSense 2.0.2 - http://forum.pfsense.org/index.php/topic,59644.0/all.html - and I guess there may be other interactions! I think I remember others reporting this 100% CPU issue in the past.



  • @phil.davis:

    What pfSense version are you using?
    What bandwidthd package version?
    What other packages do you have installed?
    There seem to be interactions with dependencies in other packages - some odd things are happening with the production of graphs when bandwidthd and lightsquid are both installed on pfSense 2.0.2 - http://forum.pfsense.org/index.php/topic,59644.0/all.html - and I guess there may be other interactions! I think I remember others reporting this 100% CPU issue in the past.

    2.0.2-RELEASE (i386)
    built on Fri Dec 7 16:30:14 EST 2012
    FreeBSD 8.1-RELEASE-p13

    I didnt even install bandwidthd, its just there. is it tacked on with another package?



  • No, if you have bandwidthd it's because you installed it.



  • If it shows up in Installed Packages on the WebGUI, then you can remove it from there. Otherwise do pkg_info from Diagnostics->Command Prompt (or from a command line) to see what stuff is on your system. Post the output here, and a verbal summary of the history of your system if you need help working out what is what and what to do.



  • "There are no packages currently installed." Only thing i had on there was snort, and I deleted that before even setting it up. So it cant be anything that I myself installed. Its just… there… and its causing allot of un-needed stress on the system.



  • Does the Services menu have a Bandwidthd entry?
    If so, then your system has had the actual Bandwidthd package installed at some point, but an upgrade (or something) has somehow lost it from the installed packages list. In that case, from System->Packages you can install Bandwidthd, then uninstall it again. That will get rid of the menu entry, and the program.
    Otherwise, post the output of pkg_info command. (You can then probably use pkg_delete to get rid of bandwidthd, but there might be other bits that could also be removed, and there might be other things installed or customised on your system?)


Log in to reply