OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: awptechnologies on December 16, 2024, 06:44:05 AM

Title: GUI shows Low Hard drive usage but Plugins failing because there is no space
Post by: awptechnologies on December 16, 2024, 06:44:05 AM
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
Title: Re: GUI shows Low Hard drive usage but Plugins failing because there is no space
Post by: Patrick M. Hausen on December 16, 2024, 07:57:23 AM
The output of the "df" command once the system is in that state would help to diagnose what's wrong.
Title: Re: GUI shows Low Hard drive usage but Plugins failing because there is no space
Post by: awptechnologies on December 16, 2024, 06:49:40 PM
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?
Title: Re: GUI shows Low Hard drive usage but Plugins failing because there is no space
Post by: Patrick M. Hausen on December 16, 2024, 07:47:28 PM
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.
Title: Re: GUI shows Low Hard drive usage but Plugins failing because there is no space
Post by: awptechnologies on December 17, 2024, 04:50:46 AM
Nothing is enabled in those options. https://gitea.awptechnologies.co/awptechnologies/OPNsense-Dev/src/branch/main/OPNsense-ramdisk.png

This link is a screenshot.