View Single Post
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#91
Just wait until current swap usage reaches its limit (with some safety margin, e.g. 10% of swap).So start dis-/enabling just shortly before switching.
And do it with lesser nice, like
'nice -20 switchswap.sh'
 

The Following User Says Thank You to peterleinchen For This Useful Post: