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.

MailScanner/ClamAV High Server Load until the server downtime

Discussion in 'E-mail Discussions' started by WhiteBear, Jul 11, 2007.

  1. WhiteBear

    WhiteBear Well-Known Member

    Joined:
    Feb 19, 2004
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    Hello friends,

    Can you help me, please?

    I have a server with MailScanner with CSF. This server was configured by Chirpy http://www.configserver.com.

    But now MailScanner/ClamAV is caused High Server Load until the server downtime.

    =========================
    You appear to be running the latest version of the MailScanner Package. An Upgrade button will appear here if a new version becomes available

    You appear to be running the latest version of ClamAV. An Upgrade button will appear here if a new version becomes available

    Installed ClamAV: v0.90.3

    Installed MailScanner Script: v2.57
    =========================

    ======================================
    Main >> Server Status >> CPU/Memory/MySQL Usage

    User Domain %CPU %MEM Mysql Processes
    mailnull 124.52 6.27 0.0
    Top Process %CPU 153 /usr/local/bin/clamscan --unzip --jar --tar --tgz --deb --max-ratio500 --tempdir/tmp/clamav.638 -r --no-summary --stdout .
    Top Process %CPU 150 /usr/local/bin/clamscan --unzip --jar --tar --tgz --deb --max-ratio500 --tempdir/tmp/clamav.18031 -r --no-summary --stdout .
    Top Process %CPU 109 /usr/local/bin/clamscan --unzip --jar --tar --tgz --deb --max-ratio500 --tempdir/tmp/clamav.26293 -r --no-summary --stdout .
    =======================================


    =========================================
    Tasks: 157 total, 6 running, 150 sleeping, 0 stopped, 1 zombie
    Cpu0 : 87.6% us, 10.4% sy, 2.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
    Cpu1 : 97.5% us, 2.5% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
    Mem: 4025552k total, 3955652k used, 69900k free, 373764k buffers
    Swap: 2096440k total, 0k used, 2096440k free, 2929016k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    7769 mailnull 25 0 32332 26m 960 R 58 0.7 0:17.25 /usr/local/bin/clamscan --unzip --jar --tar --tgz --deb --max-ra
    7889 mailnull 25 0 30680 25m 960 R 55 0.6 0:04.21 /usr/local/bin/clamscan --unzip --jar --tar --tgz --deb --max-ra
    7781 mailnull 25 0 32340 26m 960 R 48 0.7 0:20.00 /usr/local/bin/clamscan --unzip --jar --tar --tgz --deb --max-ra
    ============================================


    Please someone knows how to fix this problem?

    Thanks,

    WhiteBear
     
    #1 WhiteBear, Jul 11, 2007
    Last edited: Jul 11, 2007
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    looks like you are using clamd to scan mails, switching to clamavmodule would bring the load down a bit.
     
  3. WhiteBear

    WhiteBear Well-Known Member

    Joined:
    Feb 19, 2004
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    Hello nickp666,

    Thank you for your assistence.

    Have a nice day.

    WhiteBear
     
Loading...

Share This Page