Tuesday, August 28, 2012

avast: can not initialize avast! engine: Invalid argument

I was unable to use my Avast AV on Linux, so I stumbled here due to the similar error message.

The solution as given in the blog;

sysctl -w kernel.shmmax=100000000

It works for me! 

2 comments:

Jan Sefcik said...

Indeed, works well then. Where should you make the change to have it permanent?

Jan Sefcik said...

Add extra lines to:

/etc/sysctl.conf

# Enable more Kernel memory for Avast Antivirus
kernel.shmmax = 128000000