Swap Space Used Up and Caused the System to Slow Down.

Non release banter
cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Swap Space Used Up and Caused the System to Slow Down.

Post#1 by cttan » 16 Aug 2012, 05:18

I am using Porteus with copytoram option and have created some swap space. I am using ZRAM as well.

I have noticed that after I have open a lot of the programs and eventually closed them after using, the swap used space remained high. The system will become unstable and taking a long time to process any click or action.

After searching through Google, I found that we need to clean the swap using

swapoff -a && swapon -a

Hope this will help you.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Swap Space Used Up and Caused the System to Slow Down.

Post#2 by fanthom » 16 Aug 2012, 05:57

hi cttan,

it may be worth trying to experiment with 'swappiness' kernel parameter:
link
to avoid running swapoff/swapon commands manually.

btw: slackware does not have /etc/sysctl.conf so you must create it by yourself.
Please add [Solved] to your thread title if the solution was found.

Post Reply