You were correct.The size is still the same as far as I can see, just that you re-initiated swap (or rebooted) so starts with low usage.It seems I had an error in my swapfile configuration. "1GB" is not correct syntax. I discovered this when I changed to "8GB". Size have to be specified as MB. I tried CONF_SWAPSIZE=1024 and now swap is much lower. Grafana says between 0%-10%
I tried to raise to 8 GB, but it seems 2 GB is max:
$ sudo dphys-swapfile setup
want /var/swap=8192MByte, restricting to config limit: 2048MBytes, checking existing: deleting wrong size file (1073741824), generating swapfile ... of 2048MBytes
Statistics: Posted by niska — Fri Dec 15, 2023 6:31 am