Hi - I noticed that OMV's swap file is set to 100M and is constantly maxed out although memory shows usage of only 300M of a total of 4 GB.
Is there something wrong?
Should I increase the swap file?
thanks
Hi - I noticed that OMV's swap file is set to 100M and is constantly maxed out although memory shows usage of only 300M of a total of 4 GB.
Is there something wrong?
Should I increase the swap file?
thanks
Swap file or swap partition? Which do you have?
I noticed the same. Swap file. RPi4. Plenty of RAM available but swap file increase slowly until full. 100MB in tempfs, I think. At the moment I was doing intense sustained disk operations. Read, write, hardlink. Mergerfs. EXT4. I also tried turning off swap. Nothing bad happened. It just seems very strange. Why would swap grow? And it stayed full.
Its a Swapfile and it was created at installation I believe. Same as Adoby's..it always stays full at 100m despite plenty of memory free.
I'm seeing the same problem. OMV 5.0, RPI 4.
Swap space will start out empty after a restart, and slowly fill up until it maxes out. The load on my system is very low (1 user primarily).
I updated some packages yesterday, which had the effect of emptying swap (it was full previously) since it probably restarted the server. Overnight it now is sitting with 2 MB used out of 100 MB. From what I have seen, it will continue to grow. I can find no clues in the logfiles.
Solution: i have just created a new swapfile in CLI with 1GB and added to FSTAB.
It works. swapfile rarely used now since there is plenty of RAM
Did you have any issues before?
I dont know. Maybe the performance was negatively impacted by the 100% filled swapfile.
But is it really useful to have a larger swapfile on a RPi4?
Unless you run run out of memory pretty ofter i'd say the swap it's just an avoidable write on the SD card. wouldn't it wear it more?
I don't notice any real problem with a full swap file that stays full. It is an indication that something is not right. But I can live with it...
Possibly add a cron job to turn swap on and off to clear it?
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!