[Pkg-clamav-devel] Bug#773318: clamav dies/hangs

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Dec 16 21:13:02 UTC 2014


Control: tags -1 moreinfo

Hi James,

On 16.12.2014 21:55, Andreas Cadhalpun wrote:
> On 16.12.2014 15:59, James Cloos wrote:
>> Package: clamav-daemon
>> Version: 0.98.5+dfsg-3
>> Severity: grave
>> Justification: renders package unusable
>>
>> Starting Thursday night clamd died each night.

You mean it crashed?
Please provide excerpts of /var/log/clamav/clamav.log and 
/var/log/syslog from around the time of the crashes.

If you can reproduce the crashes, please install clamav-dbg and use gdb 
to provide a backtrace of the crashes.

>> After removing the clamav-unofficial-sigs cron job, last night clamd
>> got stuck using all cpu.  (800% on the 8-node box.)

Again, please provide the logs mentioned above.

>> Either way that blocks all incoming mail.
>> It is possible that this morning's bug was triggered by the logrotate
>> cron job, given /etc/logrotate.d/clamav-daemon

On 16.12.2014 17:44, James Cloos wrote:
 > It turns out that clamd threads start looping, maxing out cpu, very
 > soon after a restart.  Sometimes using up all ram, other times just
 > preventing the milter from connecting to clamd.
 >
 > Which leaves the package unusable.

Please set 'Debug true' in /etc/clamav/clamd.conf, restart clamav-daemon 
and provide debug logs, when the issue happens again.

Best regards,
Andreas



More information about the Pkg-clamav-devel mailing list