swap partition full

This forum is for all copfilter version 2 support related questions in English. (IPCop version 2)

swap partition full

Postby benscha » 11 Aug 2016 22:30

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
benscha
 
Posts: 29
Joined: 21 Jan 2014 11:52

Re: swap partition full

Postby benscha » 12 Aug 2016 10:46

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!
benscha
 
Posts: 29
Joined: 21 Jan 2014 11:52


Return to English Copfilter v2 Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron