The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Please help accidental discharge of the virus check (entire disk) by clam(d)scan.

Discussion in 'General Discussion' started by PondRicefied, Feb 11, 2005.

  1. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Hi, all.

    My OS environment is fedora core 2.
    I found the following conditions, after upgrading clamd, clamav-db, clamav-devel, and clamav to 0.82.

    I ran the virus check by the "clamdscan --quiet -v --config-file=/etc/clamd.conf --remove /* &" command.
    ---clamd.conf--------------------------
    LogFile /var/log/clamav/clamd.log
    LogFileMaxSize 0
    LogTime
    LogVerbose
    PidFile /var/run/clamav/clamd.pid
    TemporaryDirectory /var/tmp
    DatabaseDirectory /var/clamav
    LocalSocket /var/run/clamav/clamd.sock
    FixStaleSocket
    MaxConnectionQueueLength 30
    StreamMaxLength 10M
    StreamMinPort 1024
    StreamMaxPort 65535
    MaxThreads 10
    ReadTimeout 120
    IdleTimeout 30
    MaxDirectoryRecursion 15
    SelfCheck 1200
    AllowSupplementaryGroups
    ExitOnOOM
    ScanPE
    DetectBrokenExecutables
    ScanOLE2
    ScanMail
    ScanHTML
    ScanArchive
    ScanRAR
    ArchiveMaxFileSize 10M
    ArchiveMaxRecursion 5
    ArchiveMaxFiles 1000
    ArchiveMaxCompressionRatio 300
    ArchiveMaxCompressionRatio 300
    ArchiveLimitMemoryUsage
    ArchiveBlockEncrypted
    ArchiveBlockMax
    -----------------------------------------
    * /var/tmp is set to loop, nodev, noexec, nosuid, and rw.

    Since clamd began to have run, the clamav-* directory was created in /var/tmp after a while, and large capacity files, e.g. "bounceXXXXXX" and "textportionXXXXXX", have been done in it.

    The quota of a file is bounceXXXXXX about 458MB - 975 MB :eek: , and textportionXXXXXX is about 193KB. This is created by three clamav-* directories.

    And, Load Average goes up to 1-3 by 1CPU (and 4-6 by 4CPU). :eek:
    * so, I tested by two (fedora core 2) machines.

    Although the file quota of an entire disk is about 6GB, time takes about 2 to 5 hours till scanning completion.

    Am I mistaken in the configuration? :confused:

    Please please Advice. :(
     
Loading...

Share This Page