GUI shows Low Hard drive usage but Plugins failing because there is no space

Started by awptechnologies, December 16, 2024, 06:44:05 AM

Previous topic - Next topic
Posted this in issues on github but no response figured i would see if anyone on here has had the same issues!

So it seems that my insight aggregator and ntopng plugins were failing because the system was out of hard drive space. Once i looked into logs i could see that they were telling me that very blatantly. I wanted to make sure so i disabled my ntopng deleted the data directory in /var/db. I also reset netflow data and rrd data. After doing this everything is running again. The part that confuses me is the disk usage on the GUI dashboard showed i was only using 60% of my hard drive. Why would it show this if the hard drive was that full?

To Reproduce

Steps to reproduce the behavior:

    Go to GUI dashboard and look at disk usage.

Expected behavior

I would expect the GUI to show the correct disk space usage.

Describe alternatives you considered

Maybe the GUI is not pulling from the right data.

Screenshots

If applicable, add screenshots to help explain your problem.

Relevant log files

If applicable, information from log files supporting your claim.

Additional context

Add any other context about the problem here.

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 23.7.10_2 (amd64).
FreeBSD 14.1-RELEASE-p6
OpenSSL 3.0.15
Intel(R) Xeon(R) CPU E5-2667 v4 @ 3.20GHz

The output of the "df" command once the system is in that state would help to diagnose what's wrong.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

I agree after doing df -h i saw the percentage used matches so now I'm wondering why logs and plugins that use data base are showing errors about storage when the system had 40% of space left. Is there some kind of limit set in the OS?

Quote from: awptechnologies on December 16, 2024, 06:49:40 PMIs there some kind of limit set in the OS?

No. But if you have a RAM disk enabled under System > Settings > Miscellaneous you might have filled up that.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

December 17, 2024, 04:50:46 AM #4 Last Edit: December 17, 2024, 04:52:46 AM by awptechnologies Reason: Pic Didn't show up