[clamav-users] Problem with freshclam updating daily-25380.cdiff

Micah Snyder (micasnyd) micasnyd at cisco.com
Wed Mar 6 09:05:30 EST 2019


I also am seeing the same thing.
Killing freshclam an starting it again reproduces the process (and locks up again).

You may have to delete daily.cld/cvd from your database directory in order to get past this.

For those who are interested in the code, it is caught in a loop here:
https://github.com/Cisco-Talos/clamav-devel/blob/dev/0.102/shared/cdiff.c#L922
I haven’t yet looked at it long enough to know why.  I will continue to investigate and welcome any input from others who may have some insight.

Regards,
Micah

Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.


From: clamav-users <clamav-users-bounces at lists.clamav.net> on behalf of Paul via clamav-users <clamav-users at lists.clamav.net>
Reply-To: ClamAV users ML <clamav-users at lists.clamav.net>
Date: Wednesday, March 6, 2019 at 7:30 AM
To: "clamav-users at lists.clamav.net" <clamav-users at lists.clamav.net>
Cc: Paul <paul at netpresto.co.uk>
Subject: Re: [clamav-users] Problem with freshclam updating daily-25380.cdiff


Same here ..


On 06/03/2019 11:31, Vijayakumar U via clamav-users wrote:
Yes. Same here too...

On Wed, 6 Mar 2019 at 16:24, Carlos García Gómez <carlos.garcia at f-integra.org<mailto:carlos.garcia at f-integra.org>> wrote:
Hello,

When crontab execs freshclam
CPU server goes to 100%
Hanged finishing Downloading daily-25380.cdiff [100%]


/home/vmail/antivirus/clamav/bin/freshclam -v --debug
Current working dir is /home/vmail/antivirus/clamav-0.101.1/share/clamav
ClamAV update process started at Wed Mar  6 11:50:17 2019
Using IPv6 aware code
Max retries == 3
Querying current.cvd.clamav.net<http://current.cvd.clamav.net>
TTL: 297
Software version from DNS: 0.101.1
main.cvd version from DNS: 58
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
daily.cvd version from DNS: 25380
LibClamAV debug: in cli_untgz()
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/COPYING
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.info<http://daily.info>
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.cfg
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.ign
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.ign2
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.ftm
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.hdb
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.hdu
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.hsb
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.hsu
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.mdb
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.mdu
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.msb
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.msu
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.ndb
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.ndu
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.ldb
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.ldu
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.idb
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.fp
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.sfp
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.pdb
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.wdb
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.crb
LibClamAV debug: cli_untgz: Unpacking /home/vmail/antivirus/clamav-0.101.1/share/clamav/clamav-b47eccb1be8cc4bb74f44fee336d3954.tmp/clamav-283436edcb34976fc1e39e18893e4bb0.tmp/daily.cdb
LibClamAV debug: in cli_untgz_cleanup()
Retrieving http://database.clamav.net/daily-25380.cdiff
Trying to download http://database.clamav.net/daily-25380.cdiff (IP: 104.16.219.84)
Downloading daily-25380.cdiff [100%]


  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
16952 clamav    20   0  103924  31384   4248 R 95,7  1,5  11:52.09 freshclam

Regards.


Carlos


_______________________________________________

clamav-users mailing list
clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


--
Cheers,
Vijay.



_______________________________________________



clamav-users mailing list

clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>

https://lists.clamav.net/mailman/listinfo/clamav-users





Help us build a comprehensive ClamAV guide:

https://github.com/vrtadmin/clamav-faq



http://www.clamav.net/contact.html#ml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20190306/7ac5b524/attachment.html>


More information about the clamav-users mailing list