ClamAV eating up all available disk space

Posted by Ra on Server Fault See other posts from Server Fault or by Ra
Published on 2010-04-21T13:49:58Z Indexed on 2010/04/21 13:54 UTC
Read the original article Hit count: 460

Filed under:
|
|
|

Today I found that my Redhat server has run out of hard disk space. The culprit seems to be a program called Clamav that fills /tmp directory with thousands of subfolders with names like clamav-004adb870cd79534. All these folders contain this:

    drwx------   2 root root 4.0K Apr 21 07:56 .
    drwxrwxrwt  68 root root  64K Apr 21 08:03 ..
    -rw-------   1 root root  18K Apr 21 07:56 COPYING
    -rw-------   1 root root 4.6M Apr 21 07:56 main.db
    -rw-------   1 root root  14K Apr 21 07:56 main.fp
    -rw-------   1 root root 1.5M Apr 21 07:56 main.hdb
    -rw-------   1 root root  901 Apr 21 07:56 main.info
    -rw-------   1 root root  33M Apr 21 07:56 main.mdb
    -rw-------   1 root root  16M Apr 21 07:56 main.ndb
    -rw-------   1 root root  217 Apr 21 07:56 main.zmd

When I deleted them they got back and filled my hard drive in about an hour again.

How do I go about this? Can I safely stop Clamav? It seems to me that Clamav is trying to upgrade unsuccessfully.

© Server Fault or respective owner

Related posts about clamav

Related posts about linux