[Solved] Nlbwmon losing data

Hello,

I run transmission off my router and would like nlbwmon to monitor it. I checked all the local interfaces and as of the last accounting period it was successfully monitoring the downloads. However today I went in and checked the accounting period that has since closed out. Not only is it missing the data from a few computers that are no longer obtaining DHCP addresses (they no longer connect) but it's missing the 90GB plus it collected from the router downloads.

Anyone have any idea on where that data went?

Do you see an unusually high process load in top?

Sometimes, yes. Not sure why it would be losing data from that though? It no longer picks up any downloads I have running directly off the router @ 192.168.1.1

6255 1502 root S 23240 5% 0% /usr/sbin/cnid_dbd -F /etc/afp.conf -
6262 1502 root S 23240 5% 0% /usr/sbin/cnid_dbd -F /etc/afp.conf -
8581 1501 user1 S 17648 3% 0% /usr/sbin/afpd -d -F /etc/afp.conf
8107 1501 user1 S 17208 3% 0% /usr/sbin/afpd -d -F /etc/afp.conf
1779 1 transmis S N 14044 3% 0% /usr/bin/transmission-daemon -g /mnt/
1501 1 root S 3856 1% 0% /usr/sbin/afpd -d -F /etc/afp.conf

In addition, whenever I reboot my R7800, Netlink Bandwidth Monitor doesn't display the previous data before reboot. The data continues to commit, but the previous data is not seemingly present.

I've always had this issue, and is quite unfortunate. If I remember to back up the data before rebooting, it's not so much an issue. I can confirm the application is in fact creating tarballs for the database, but as to if they remain physically in storage, I cannot say for sure.

Also, occasionally the data won't display at all, and comes up blank. However, I think this has something to do with the commit interval... force refreshing via Chrome (shift+F5) sometimes shows the data again, other times doing a force reload within LUCI works as well...

Also, an update—I've found the log entry that corresponds to what I've described above.

Sat Feb 10 22:35:06 2018 daemon.err nlbwmon[4648]: Unable to handle 'dump' command: Resource temporarily unavailable
Sat Feb 10 22:35:06 2018 daemon.err uhttpd[1224]: Error while processing command: No data available
Sat Feb 10 22:35:49 2018 daemon.err nlbwmon[4648]: Unable to handle 'dump' command: No error information
Sat Feb 10 22:35:49 2018 daemon.err uhttpd[1224]: Error while processing command: No data available
Sat Feb 10 22:35:51 2018 daemon.err nlbwmon[4648]: Unable to handle 'dump' command: Resource temporarily unavailable
Sat Feb 10 22:35:51 2018 daemon.err uhttpd[1224]: Error while processing command: No data available

Whenever there is no data present when trying to view the bandwidth monitor data via LuCI, this is what the system log gives me.

Problem fixed. Changed database directory to /usr/nlbwmon/.

I already have my database in /mnt/sda1/nlbwmon and I'm still running into the issue.

I have this same problem, did you used to store the data on an external drive?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.