Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Afif

#1
Quote from: pfry on June 14, 2026, 02:31:40 PMAre you using file system defaults (ZFS, compression)? The compression works very well on log files. (To check, "df -hT" and if ZFS, "zpool get feature@lz4_compress,feature@zstd_compress".)

I'm not using ZFS on this system. Here is the output from the command.

root@OPNsense:/home/afif # df -hT
Filesystem  Type      Size    Used  Avail Capacity  Mounted on
/dev/da0p2  ufs        29G    6.4G    20G    24%    /
devfs      devfs      1.0K      0B    1.0K    0%    /dev
/dev/da0p1  msdosfs    256M    1.3M    255M    0%    /boot/efi
root@OPNsense:/home/afif #
#2
Quote from: nero355 on June 14, 2026, 12:24:56 AMYES! Absolutely!

Thanks Nero, I already disabled it.

Quote from: bringha on June 14, 2026, 09:32:08 AMHowever, if its eating up disk space and not RAM, perhaps its worth to have a look what fills the disk. The first suspect I would look at is the /var/log directory for the log files. Often enough a sick process throws a lot of log entries which fills disk space very fast

opnsense # du /var/log

might give some insights. Moreover, if its filling up a particular log file, this file might then give hints which process to look at

Br br

I attached the picture after running that command. Currently, its already 5.8GB used of disk space at the time I posted.
#3
Quote from: nero355 on June 13, 2026, 08:20:16 PM
Quote from: Afif on June 12, 2026, 06:19:17 PMThis has been happening since last year
Did you start using
Quote from: Afif on June 13, 2026, 07:20:40 AMRunning Services:
  • hostwatch
At the same moment perhaps ?

There have been a lot of strange issues with it since it was introduced !!

Tbh, I don't know about it. I thought that if every service running, it should be fine. Since you mentioned hostwatch service have a lot of strange issue, should I disable it?

Also, a bit update from my end. My RAM usage looks stable (within 25-35%), but it starts eating disk space little by little. Previously, it was 3.6GB and now it's already 4.6GB from the total of 32GB (12+ hours since I disabled the Temp RAM and SWAP settings). Should I be concerned about this?
#4
I already unchecked all the settings under disk/memory and restarted the router. FYI, this OPNsense is running inside the VM for 2+ years, so this issue is happening out of nowhere, and I can't identify which processes causing it to crash. I will let it run for 1-2 days and see if the router crash or not. I will also provide the info you are asking below.

VM Specs
CPUs: 4 cores
RAM: 4GB
Storage: 32GB

Running Services:
  • caddy
  • configd
  • cron
  • ddclient
  • dnsmasq
  • hostwatch
  • login
  • ntpd
  • openssh
  • pf
  • qemu-ga
  • routing
  • sysctl
  • syslog-ng
  • webgui
  • wireguard

Plugins:
  • os-caddy
  • os-ddclient
  • os-q-feeds-connector
  • os-qemu-guest-agent
#5
Hi,
I have a strange issue where memory fill up very quickly and then swap get running out of space error causing the system/router crashed. This has been happening since last year and I have to reboot every 2 days before my whole network down. I tried to reduce the RAM from 16G to 4G (I thought it was required more RAM but the issue still happening but it delays the system crashed up to 1 weeks) and add 2G to swap (enabled in settings). I also reduce the plugins and the issue is still there. I also tried to deploy from scratch and import the config but the issue still persist. I attached my system log and I don't have any clue what was causing this, So I need your advice/help on this. Thanks in advance.

Regards,
Afif