Page 1 of 1

[SOLVED] RAM

Posted: 22 Nov 2019 08:49
by gregecslo
Hi all!

I have migrated from V3 to V4 yesterday.
Now I have a ram issue.
V3 had 3072MB of RAM and it worked great for 2 years.

V4 has also 3GB of RAM but I have serious problems with it.
I boot it up and it crashes and reboots in 90 seconds after startup. I figured it out that if I assign 5GB of RAM all is good.
Funny thing is, swap is not being used at all.
I have clam and sophos and that is it.

What can I do except of bumping up ram?

Thanks!

Re: RAM

Posted: 22 Nov 2019 14:42
by gregecslo
OK solved it.

It was Sophos on-access scanner.

Whoever install Sophos should disable on access scanner OR give machine sufficient RAM:

/opt/sophos-av/bin/savconfig set EnableOnStart false

If on access starts and there is not enough RAM it crashes kernel as it won`t use swap at all.

Re: [SOLVED] RAM

Posted: 22 Nov 2019 22:02
by shawniverson
:clap:

Re: [SOLVED] RAM

Posted: 22 Nov 2019 22:23
by henk
Did you execute a Lint check in the GUI and checked the audit.log?

Code: Select all

grep 'avc:  denied' /var/log/audit/audit.log 
I used this unattended Sophos install script viewtopic.php?t=3394

Re: [SOLVED] RAM

Posted: 23 Nov 2019 08:38
by gregecslo
I`ve disabled selinux first thing after I deployed efa v4 :)

Re: [SOLVED] RAM

Posted: 23 Nov 2019 19:42
by henk
ahaa, disable selinux... That's what I used to do :lol:

With sellinux enabled, you just exec the script and Sophos will work like a charm.

I can confirm that Efa4 runs fine with selinux enabled (and a lot of other additional packages installed), thanks to Shawn.

Re: [SOLVED] RAM

Posted: 24 Nov 2019 01:35
by shawniverson
henk wrote: 23 Nov 2019 19:42 I can confirm that Efa4 runs fine with selinux enabled (and a lot of other additional packages installed), thanks to Shawn.
Fun fact: building an selinux ruleset for eFa took over a year :ugeek:

Re: [SOLVED] RAM

Posted: 25 Nov 2019 11:58
by gregecslo
Just because of that I might enable it :)