1
Virtual private networks / Re: Add/remove/edit WireGuard peers without restarting wireguard
« on: November 06, 2023, 09:52:29 am »
Thanks! I'll follow GitHub thread, then.
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.
Also, there is indeed a shift in memory from free to inactive that was less present in pre-22 version but I never ran into an OOM because of it, then again I have 8GB of ram, not 4GB so I'm likely less prone to OOM.
What does your Reporting/Health looks like (if you have it) ?
Attached is mine (System/Memory from Reporting/Health) for the last 77 days (inverse turned on, resolution high), each peak is usually a reboot or an upgrade/reboot.
Being curious about your issue... Can you post the output ofCode: [Select]vmstat -z | tr ':' ',' | sort -nk4 -t','
We see that your wired memory is increasing slowly over time, does it stabilize at some point or really ends up consuming both free and inactive ? Mine is stable around 800M. It varies between 8 to 12% of the total memory 8G in my case so 800M is around 10%). Do you know how big the numbers were right before an OOM (including free and inactive) ?
We also see your free being converted into inactive memory. This does not seem abnormal at first glance... This inactive memory can be reused if need be.
You should not be running into an OOM with those numbers unless there is something else eating up the memory or trying to allocate something very rapidly right before the OOM that we do not see here that would explain the OOM.
last pid: 70854; load averages: 0.29, 0.46, 0.48 up 3+12:26:21 19:22:01
57 processes: 3 running, 54 sleeping
CPU: 13.4% user, 0.0% nice, 33.3% system, 0.0% interrupt, 53.3% idle
Mem: 65M Active, 1066M Inact, 558M Wired, 340M Buf, 2265M Free
vmstat -m
last pid: 36860; load averages: 0.44, 0.42, 0.46 up 3+07:50:54 14:46:34
53 processes: 1 running, 52 sleeping
CPU: 0.2% user, 0.0% nice, 13.1% system, 0.0% interrupt, 86.7% idle
Mem: 51M Active, 1041M Inact, 547M Wired, 331M Buf, 2314M Free