1
24.1 Legacy Series / opnsense/unbound - memory usage
« on: July 19, 2024, 11:42:03 am »
Hi!
Caveat!: I don't understand BSD memory, and only have Linux experience
Version: 24.1.10_3
Arch: amd64
System -> Diagnostics -> Activity shows 8x /usr/local/bin/python3 /usr/local/opnsense/scripts/unbound/logger.py processes, each using about 158MB resident memory
Is that expected? I'm overall curious about memory usage in opnsense. The homepage shows ~3GB in used with a fairly standard set up (also running openvpn)
Thanks
root@OPNsense:~ # sysctl -a |grep Memory
Virtual Memory: (Total: 1325264K Active: 1266676K)
Real Memory: (Total: 439988K Active: 433448K)
Shared Virtual Memory: (Total: 219268K Active: 182648K)
Shared Real Memory: (Total: 158080K Active: 151848K)
Free Memory: 3194008K
root@OPNsense:~ # vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 pa0 in sy cs us sy id
1 0 0 1.2G 3.0G 1.7K 0 0 1 1.5K 53 0 0 345 2.5K 1.7K 3 1 97
Caveat!: I don't understand BSD memory, and only have Linux experience
Version: 24.1.10_3
Arch: amd64
System -> Diagnostics -> Activity shows 8x /usr/local/bin/python3 /usr/local/opnsense/scripts/unbound/logger.py processes, each using about 158MB resident memory
Is that expected? I'm overall curious about memory usage in opnsense. The homepage shows ~3GB in used with a fairly standard set up (also running openvpn)
Thanks
root@OPNsense:~ # sysctl -a |grep Memory
Virtual Memory: (Total: 1325264K Active: 1266676K)
Real Memory: (Total: 439988K Active: 433448K)
Shared Virtual Memory: (Total: 219268K Active: 182648K)
Shared Real Memory: (Total: 158080K Active: 151848K)
Free Memory: 3194008K
root@OPNsense:~ # vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 pa0 in sy cs us sy id
1 0 0 1.2G 3.0G 1.7K 0 0 1 1.5K 53 0 0 345 2.5K 1.7K 3 1 97