Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 40417

Clearing out Swap RAM on VPS

$
0
0

As an end user on VPS, often seeing odd RAM numbers. Like this:
Mem: 65/512MB
Swap: 99/512MB

Clearly, we have plenty of real RAM to stuff things into, no sense hitting a disk swap file.

On our real servers from time to time I clean these up with:
swapoff -a
swapon -a

VPSes won't allow swapoff and on:
swapoff: Not superuser.

Anyone have any ideas on how to accomplish this sort of clean up?


Viewing all articles
Browse latest Browse all 40417

Trending Articles