still think on a different device. Swapping is the worst think you could do.
I’m not really worried about performance but my friend let me borrow a rpi4 with his ZigBee USB gateway in case the C2 doesn’t work right. Which I may try to just set it up with the rpi4 first then try an see how it goes with the C2.
Hello,
I see notification today that I have critical memoru use.
free -m
total used free shared buff/cache available
Mem: 3802 2677 187 88 937 789
Swap: 0 0 0
What swap file I need to make on my laptop?
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 381M 6.9M 374M 2% /run
/dev/sda1 118G 19G 94G 17% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.9G 24K 1.9G 1% /tmp
tmpfs 50M 8.0K 50M 1% /var/log
//192.168.0.1/g/ 932G 271G 662G 29% /mnt/samba
192.168.0.19:/mnt/Seagate 2.7T 2.2T 404G 85% /mnt/nfs_Seagate
192.168.0.19:/mnt/Toshiba/dietpi_userdata 2.7T 2.2T 404G 85% /mnt/nfs_Toshiba
tmpfs 381M 0 381M 0% /run/user/1000
Regards,
You could use drive manager to create a SWAP file on your rootFS. start with 2GB
I already applied that command You give above: /boot/dietpi/func/dietpi-set_swapfile 1024
on my laptop and miniPC but mini PC still shows me critical warrning even if there’s lot of memory.
As you can see more then 50% of you RAM is still unused. But some process(es) allocated more then you actually have. This is fine until this process really uses this amount of RAM.
Can you check with htop
which process causes this?
The warning you have is not a system warning. Looks like something from your monitoring tool. It’s a warning about virtual memory usage.
The virtual memory is his actual memory + his swap.
@przemko Can you sort the htop output by memory consumption please. (press F6 and chose M_RESIDENT
)
Hm not sure, it’s possible ttat they use same memory, partially.
Can you collapse the process tree by pressing t
please
It could be also a false reported error of the system monitor you are using. What monitor software is that?
Sorry for late response:
I used checkmk but now I uninstall it.
I see last days my CPU temperature is little higher that it should be:
CPU temp : 52 °C / 125 °F : Running warm, but safe
few weeks age it was always 48.
Regards.
Too see which processes are CPU intensive you need to order them descending by CPU%. The same goes for the used memory per process.
But it is not that huge increate. Could be temporary or some eternal factor like room temperature.