Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Avast Anti Virus

  1. #11
    Join Date
    Jun 2010
    Beans
    80
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Angry Re: Avast Anti Virus

    Quote Originally Posted by Dragynn View Post
    .......... all you need to do is edit /etc/sysctl.conf by adding this:

    kernel.shmmax = 128000000

    save, close, and re-boot. ..........
    Any chance of going over this again.......PLEASE

  2. #12
    Join Date
    Jun 2010
    Beans
    80
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Unhappy Re: Avast Anti Virus

    Quote Originally Posted by Dragynn View Post
    .......... all you need to do is edit /etc/sysctl.conf by adding this:

    kernel.shmmax = 128000000

    save, close, and re-boot. ..........
    Any chance of going over this again.......PLEASE

  3. #13
    Join Date
    May 2005
    Beans
    135
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Avast Anti Virus

    Nobody's probably looking at this thread too much anymore. In Lucid, it was necessary to set a dynamic kernel parameter to get Avast Anti Virus to work reliably in the 64 bit kernel version.

    kernel.shmmax = 128000000

    putting this setting in the /etc/sysctl.conf guaranteed it would be set automatically upon a reboot.

  4. #14
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    2,989
    Distro
    Ubuntu Development Release

    Re: Avast Anti Virus

    Quote Originally Posted by tonewheelkev View Post
    Any chance of going over this again.......PLEASE
    Problem(s)...

    1. By default, the maximum size of the kernel.shmmax block is set too tight (in bytes).

    2. And, the Avast AV Database has grown so large that it exceeds this limit.


    Fix...

    All you have to do is set this SHM block to a more reasonable value.

    Personally, I've found that 100000000 allows Avast to load/run just fine.


    Here's how my SHM blocks look...
    Code:
    vindsl@Zuul:~$ sudo sysctl -a | grep shm
    [sudo] password for vindsl: 
    kernel.shmmax = 100000000
    kernel.shmall = 2097152
    kernel.shmmni = 4096
    If you want to temporarily reset the offending block, run this command from CLI (console)...
    Code:
    sudo sysctl -w kernel.shmmax=100000000
    Avast should now start and run.

    You can do this every time you want to run Avast, or...

    You can add it to your ~/etc/sysctl.conf file, and forget about it.

    Edit your ~/etc/sysctl.conf (as root).
    Code:
    $ sudo gedit ../../etc/sysctl.conf
    At the bottom of this file, add a blank line, followed by a line containing...
    Code:
    kernel.shmmax=100000000
    ...save, and reboot.

    That's it!


    Here's a screenie of Avast running on my desktop...


    (Click to expand)

    Last edited by VinDSL; July 8th, 2011 at 07:45 AM. Reason: ADDED SCREENIE
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •