#UbuntuServer inside Proxmox VM doesn't have any swap

1 messages · Page 1 of 1 (latest)

tidal flint
#

Howdy folks! I kept having an issue where my proxmox VM Ubuntu Server machine was hanging when I'd try to rsync to it. I noticed the memory usage was high so I checked out 'free' in the terminal and it showed me to my surprise that my Swap is 0 (does not exist). Is this normal? If not, how do I fix it? Thanks!

silk merlin
#

No? I can't imagine rsync would use that much. Also free doesn't provide a clearer overview of what processes uses more amounts of system resources than others.

tidal flint
#

So do you think I should make a swap for that VM then? It's weird that it wasn't there by default.

tidal flint
#

I rebooted the server and it uses around 65% of ram after everything loads. As soon as I start rsync it skyrockets up to 90%+ and then hangs.

#

Even after I kill the rsync the memory usage stays up there until reboot

#

Stopped all of my Docker containers and memory usage is still at 90%

stoic arch
#

It's possible that memory usage is including page cache

#

Swap being 0 is normal if you never set up swap or any kind of zram devices. Looking at individual process usage would answer the question better.

tidal flint
#

What's weird is that I just reinstalled a fresh Ubuntu Server and it does have a swap by default. Didn't solve my issue but still weird.