hello!
i installed bandwidthd recently an quickly ran into the problems described here, so i reinstalled my pfsense-box today from scratch and it crashed immediately upon package reinstall.
my box is a pc-engines apu and i installed the embedded-serial-4g-amd64 image. then i restored the config file ond the following message appeared on the serial terminal:
One moment please, reinstalling packages...
>>> Trying to fetch package info... Done.
>>> List of packages to reinstall: bandwidthd
ERROR: can't find installed pbi (bandwidthd-2.0.1_6-amd64)
Removing package...
Starting package deletion for bandwidthd-2.0.1_6-amd64...done.
Removing bandwidthd components...
Configuration... done.
done.
Beginning package installation for bandwidthd . 100%
Installing bandwidthd and its dependencies. 100% 100%Enter full pathname of shell or RETURN for /bin/sh:
#
the firewall seems to work as expected but it never signalled to be ready with it's little tune. the webgui is running and shows the 'packages are being reinstalled' sign, the cpu load is above 50%.
bandwidthd is configured to write to an external postgres-db only and it is bound to collect data on a bridge-interface, maybe that is important.
trying to reboot from the webgui plays the tune, then the webgui crashes but the system doesn't reboot. rebooting via ssh works.
after a reboot the system seems to work without a problem (there are 2 bandwidthd processes) but trying to restart bandwidthd kills php-fpm immediately. after restarting php-fpm via ssh bandwidthd is stopped and after starting there is just one process. cpu-load is below 10%.
i'm glad the system at least boots again after the fresh install. before the reinstall php-fpm got killed during startup and i never got a dhcp address on wan, so i had to connect via ssh to lan and restart php-fpm.
i hope to help the mysteries of this problem a little, bandwidthd seems to be a very usefull program. feel free to ask for more details!
regards,
andy