[opensuse] sysctl -w kernel.shmmax=100000000
I was trying Avast on SuSE 12.1. But I always got an error message "avast: can not initialize avast! engine: Invalid argument" when scanning files. In the web I found the following site with a solution: http://manoftherambla.wordpress.com/2011/05/02/avast-can-not-initialize-avas... which states that I have to do sysctl -w kernel.shmmax=100000000 as root, which did the trick. Now the question: is this something that I can tune in SuSE 12.1? Some setting to make it permanent (beside compiling a new kernel)? Any disadvantages? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 2012-05-29 at 21:53 +0100, Peter Maffter wrote:
I was trying Avast on SuSE 12.1. But I always got an error message "avast: can not initialize avast! engine: Invalid argument" when scanning files. In the web I found the following site with a solution: http://manoftherambla.wordpress.com/2011/05/02/avast-can-not-initialize-avas... which states that I have to do sysctl -w kernel.shmmax=100000000 as root, which did the trick. Now the question: is this something that I can tune in SuSE 12.1? Some setting to make it permanent (beside compiling a new kernel)?
http://www.whitemiceconsulting.com/2011/12/really-shmmax-of-36mb.html Put a file in /etc/sysctl.d/
Any disadvantages?
No
participants (2)
-
Adam Tauno Williams
-
Peter Maffter