Control Web Panel

Security => CSF Firewall => Topic started by: ccheuser on April 13, 2020, 08:27:35 PM

Title: Firewall Randomly Turning Itself Off
Post by: ccheuser on April 13, 2020, 08:27:35 PM
My firewall on a new vps is turning itself off when I try to restart it doesn't work. I have to start a terminal session and issue the command service lfd restart and then it's fine for a while.

What could be causing this?

Thanks
Title: Re: Firewall Randomly Turning Itself Off
Post by: ejsolutions on April 13, 2020, 10:40:50 PM
Code: [Select]
tail /var/log/lfd.logBe quick, before someone deletes my response.  :o
Title: Re: Firewall Randomly Turning Itself Off
Post by: Sandeep on April 15, 2020, 05:54:35 AM
its probably OOM (out of memory)
ensure you've sufficient amount of free ram available during the peak time
Title: Re: Firewall Randomly Turning Itself Off
Post by: ccheuser on April 15, 2020, 03:58:55 PM
That's what I thought. I only have 1G of ram on this VPS. Would increasing the swap from 1G to 2G help?

Thanks
Title: Re: Firewall Randomly Turning Itself Off
Post by: Sandeep on April 16, 2020, 10:37:55 AM
yes but will impact the performance