Page 1 of 1

swap partition full

Posted: 11 Aug 2016 22:30
by benscha
Hi Guys...

i've a problem with my copfilter. Sometimes the swapfile fills up to 99%. i've allready resized the swapfile to 2GB, but after every reboot i have to resize the swap partition. Any @reboot cronjobs are not working on mi cop!

do anybody have a hint for me to resize the swapfile permanently?


cheers

benscha

Re: swap partition full

Posted: 12 Aug 2016 10:46
by benscha
Hi Guys

i found the solution!

in /etc/rc.d/rc.sysinit on line 206 you can change the swap file size

Code: Select all

/bin/dd if=/dev/zero of=/swapfile bs=1024k count=64 2>/dev/null
change the count value to a larger size as you need! ;-)


cheers!