NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

BP71's avatar
BP71
Aspirant
Aug 24, 2018
Solved

ReadyNAS 104 antivirus turning itself off

Hi all,

 

Weird one: the real-time scaning antivirus keeps turning itself off on my ReadyNAS 104 (running 6.9.3). I usually notice because the virus definitions stop been updated and I get a yellow dot for the antivirus status in the overview tab of the admin page. Going to the settings tab shows the antivirus service off. Whenever I turn it back on, it works for a couple of days (with normal virus definitions updates) and then it turns itself off again (and virus definitions updates stop). It's been like that for months now since around May, incidentally at about the same time I installed Plex (but it happened sporadically before that).

Virus?

 

Thanks for any help.

BP


  • BP71 wrote:

    Oct 31 05:03:58 HomeNAS kernel: Out of memory: Kill process 28849 (clamd) score 1310 or sacrifice child
    Oct 31 05:03:58 HomeNAS kernel: Killed process 28849 (clamd) total-vm:559652kB, anon-rss:23868kB, file-rss:84kB

    Well, that does explain what's happening.  Unfortunately the RN100 series doesn't have as much memory as newer OS-6 ReadyNAS.  Upgrading the NAS to an RN214 or RN424 would solve the issue, and would also let you do some real-time transcoding with plex.  Though of course it would cost.

     

    If you have quota turned on in the volume settings tab, you can try turning that off - it might help.  You might also turn off other services on the NAS that you aren't using (no need for AFP if you don't have a Mac, etc).

     

    But you might have to choose between Plex and ClamAV on the NAS.  It is possible to use a PC to host Plex (but keep the media on the NAS), and you could also shift to an Antivirus program running on a PC that is configured to scan network shares.

     

    Another thing you can look into is using ReadyDLNA instead of Plex.  It doesn't have all the features that Plex has, but it uses less memory.

10 Replies

Replies have been turned off for this discussion
  • Retired_Member's avatar
    Retired_Member

    Hi BP71, please let know whether you still observe this issue with 6.9.4 installed.

    • StephenB's avatar
      StephenB
      Guru - Experienced User

      Retired_Member wrote:

      Hi BP71, please let know whether you still observe this issue with 6.9.4 installed.


      There are issues with 6.9.4 on RN100 platforms.  You might want to move to 6.9.5 beta instead.  Though AFAIK these all use the same version of clamav (the AV package).

       

      I haven't seen this particular issue posted before.  I'm thinking that you might want to download the log zip file, and see if there are any errors for clamav reported in system.log or kernel.log.  You might also PM OOM-9 and ask if he is interested in looking at the logs.

    • BP71's avatar
      BP71
      Aspirant

      Retired_Member wrote:

      Hi BP71, please let know whether you still observe this issue with 6.9.4 installed.


      Hi, thanks both for the replies.

       

      The issue is still there, AV was off since 31/10/18 when I checked this morning, first time it happened since 6.9.4 Hotfix 1 has been installed, but it seems to happen less frequently (AV stayed on for 9 days after the installation of the hotfix).

       

      I just had a look at the logs and in kernel.log there is an "Out of memory: Kill process 28849 (clamd)" entry on the day the AV stopped working, appearing right after several entries regarding the Plex app (by chance or is there a link?). See log extracts below :

       

      Oct 31 05:03:58 HomeNAS kernel: [28849] 0 28849 139913 5988 269 0 119119 1000 clamd
      Oct 31 05:03:58 HomeNAS kernel: [26970] 0 26970 34470 2252 34 0 3464 0 Plex Script Hos
      Oct 31 05:03:58 HomeNAS kernel: [26988] 0 26988 36706 2496 36 0 3244 0 Plex Script Hos
      Oct 31 05:03:58 HomeNAS kernel: [27181] 0 27181 37441 2246 35 0 2172 0 Plex Script Hos
      Oct 31 05:03:58 HomeNAS kernel: [29219] 0 29219 32316 11488 64 0 2308 0 Plex Media Scan
      Oct 31 05:03:58 HomeNAS kernel: Out of memory: Kill process 28849 (clamd) score 1310 or sacrifice child
      Oct 31 05:03:58 HomeNAS kernel: Killed process 28849 (clamd) total-vm:559652kB, anon-rss:23868kB, file-rss:84kB

      • Retired_Member's avatar
        Retired_Member

        BP71 wrote: "Oct 31 05:03:58 HomeNAS kernel: Out of memory: Kill process 28849 (clamd) score 1310 or sacrifice child"

         

        Well, the faithful dog protected itself against worse things happening by shutting down clamav, as I perceive it. I had an RN104 for 5 years  (together with an RN204) and felt it getting weaker and weaker with each and every firmware upgrade up to 6.9.4 before replacing both by a more powerful system (RN426).

        If you can afford, turn off Antivirus, which will improve behaviour of your box.

        In case you would like to get more hints on improving performance and stability of RN104 in general you might want to follow the link below.

        https://community.netgear.com/t5/Idea-Exchange-for-ReadyNAS/Improving-performance-and-stability-of-RN104/idi-p/1253865

  • Thank you both for the inputs, and for the Do's and Don'ts advice to optimize the 104, quite useful.

     

    Killing the AV process looks a bit violent as a memory management measure, but I suppose it is a better solution than having the whole NAS crashing altogether...

     

    I was aware of the limitations of the RN104 when I bought it years ago (small memory, no transcoding, relative sluggishness, etc) but it was a good upgrade from the Duo I had before and I'm still quite happy with it today. I suppose I can live without the antivirus as files coming to the NAS should have been virus checked one way or another beforehand anyway. Upgrading would be a bit of a hassle not only because of the price but also for the burden of transferring the array over to the new NAS keeping the same disks.

     

    Running Plex on the 104 was not something I planned to do originally, but the DNLA app of my Samsung Smart TV started to struggle with my growing libraries and I'm getting frequent deconnexions from the NAS now. It took a (long!) while to build the Plex libraries, but it was smoother than I anticipated to run Plex on the 104 in the end (except of course for the current interference with the antivirus...).

    • StephenB's avatar
      StephenB
      Guru - Experienced User

      BP71 wrote:

      Upgrading would be a bit of a hassle ... for the burden of transferring the array over to the new NAS keeping the same disks.

       

      That's not an issue if you get another OS-6 ReadyNAS.  You can easily migrate to either an RN210 series (ARM based) or one of the x86 models.

      • BP71's avatar
        BP71
        Aspirant

        If by that you mean it's possible to transfer the disks in use in a ReadyNAS104 to another OS-6 ReadyNAS model without destroying the current array and loosing data (still having a back up of course), I might look into that at some point.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More