How much CPU resource takes ClamAV ?

I deal with an interesting issue on a newly set up xServe G5 2.0 GHz, 1 GB RAM:
When enabling virus filtering, the CPU performance goes down, or should I better say "up" to a usage rate between typically 70 % and 90+%.
Running command "top" at terminal reveals that it is the ClamAV process taking all that resources.
I cannot imagine that this is normal behavior. So maybe someone has advice how I can keep enable virus checking but not dealing with performance issues (there is currently just one single testing website and low web traffic only).
My first idea was that unless SpamAssassin filters mails more accurate (it is currently learning - we run it now effectively since about one day), all incoming mail gets checked against viruses.
But in my mind even this should not take over 80% of the CPU. On our old server we had around 500 incoming mails per day, where 90 % were considered spam.

(1) "mails intended for one our domains we host"
(2) "mails that going to one of our domains, but to
an non-existing inbox"
(3) "mail abusers trying to use the SMTP as a open
relay"
I sometimes feel that the virus checks are done for
each mail type, also for (2) and (3).
You are correct. On a default installation all mail will be checked.
This can be optimized, but requires command line interaction.
For example:
(2) can be avoided by using postfix style virtual aliases and following my tutorial about rejecting mail for unknow users before the content filter (http://osx.topicdesk.com/downloads/)
(3) can be optimized by adding better smtpdclientrestrictions and smtpdrecipientrestrictions (see: http://www.postfix.org/postconf.5.html)
So for example my mail queue is full of entries that
have recipients never on my server (domains/e-mail
addresses).
If these are in your queue and you are not an open relay then your server or a client have been compromised from the inside. Either by a script or code injection or whatever... Could even have happened before you "locked down" your server. If you delete your queue and it happens again, you have an "internal" problem.
However since my "open-smtp-relay" tests I performed
on various websites found on the Web lead me that my
server isn't an open SMTP relay. You may try it for
yourself - sent mails via starenterprise.com or its
IP 194.77.100.91 - it hopefully should decline
Yes, your server is not an open relay. Which still doesn't mean that a script or compromised client from inside your network can't send rogue mail.
What are your experiences ? How does ClamAV perform
ClamAV performs very well. On a high volume system I'd use clamd, otherwise clamscan is fine.
To give you an idea. One of my clients runs a mail server on a PowerMac G4 500MHz DP with 1GB of RAM. Not particularly fancy software. Today it processed 18'000 emails, rejected 7000 spam mails, rejected 1000 virus mails, and about 1000 unknown recipients. Once a week they send a newsletter to their subscribers, where the server averages about 3000 messages/minute. Still, the CPU is bored stiff.
As a general word of advice and no offense meant: You seem to be tackling too many things at once. Try and solve your issues step by step. Next think about your priorities and do one change after the other.
HTH,
Alex

Similar Messages

  • Which oracle process takes how much cpu?

    give me a query to find out
    which oracle processes takes how much cpu?

    Monitor how much a user is consuming CPU

  • How to estimate how much CPU time is parse related DB 9i wide .

    Hi,
    I'm trying to estimate how much CPU time is parse related and next compare that value after i.e. cursor_cache setting. So far I've found :
    parse time cpu
    parse time elapsed
    in v$sysstat .
    Are there good indicators for my needs ?
    Basically when I get CPU time from statspack and parsetime_cpu (somehow) i can derive percentage usage.
    btw how is 'CPU time' in statspack calculated ?
    I'm running AIX DB 9.2.0.8 EE , can take historical data from statspack .
    Regards.
    Greg

    Hi,
    I'm trying to estimate how much CPU time is parse related and next compare that value after i.e. cursor_cache setting. So far I've found :
    parse time cpu
    parse time elapsed
    in v$sysstat .
    Are there good indicators for my needs ?
    Basically when I get CPU time from statspack and parsetime_cpu (somehow) i can derive percentage usage.
    btw how is 'CPU time' in statspack calculated ?
    I'm running AIX DB 9.2.0.8 EE , can take historical data from statspack .
    Regards.
    Greg

  • How to calcuate how much cpu/cores needed for an amalgamation of databases on a single instance

    Hi all, We have been given a project of producing a high level hardware spec for a new oracle linux server that would be an amalgamation of our current 5 windows servers all running Oracle 11203 Windows 2008 r2. All our windows boxes are Intel dual core with 12 cores each. My question is how to measure how much cpu is our current each oracle database is using to determine the min cpu/cores required for the new linux box? Hope i make sense. Thanks!

    Snap Id
    Snap Time
    Sessions
    Cursors/Session
    Begin Snap:
    7967
    16-Mar-13 00:00:19
    120
    3.4
    End Snap:
    7983
    16-Mar-13 16:00:08
    119
    3.6
    Elapsed:
    959.81 (mins)
    DB Time:
    11,565.82 (mins)
    Load Profile
    Per Second
    Per Transaction
    Per Exec
    Per Call
    DB Time(s):
    12.1
    0.6
    0.05
    0.09
    DB CPU(s):
    2.5
    0.1
    0.01
    0.02
    Top 5 Timed Foreground Events
    Event
    Waits
    Time(s)
    Avg wait (ms)
    % DB time
    Wait Class
    DB CPU
    141,781
    20.43
    Host CPU (CPUs: 40 Cores: 20 Sockets: 2)
    Load Average Begin
    Load Average End
    %User
    %System
    %WIO
    %Idle
    10.05
    16.90
    6.4
    2.3
    0.0
    90.6
    Instance CPU
    %Total CPU
    %Busy CPU
    %DB time waiting for CPU (Resource Manager)
    6.9
    73.7
    0.0
    Operating System Statistics
    *TIME statistic values are diffed. All others display actual values. End Value is displayed if different
    ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
    Statistic
    Value
    End Value
    BUSY_TIME
    21,616,011
    IDLE_TIME
    208,748,575
    IOWAIT_TIME
    20,115
    NICE_TIME
    7
    SYS_TIME
    5,241,553
    USER_TIME
    14,766,063
    LOAD
    10
    17
    RSRC_MGR_CPU_WAIT_TIME
    3,348
    VM_IN_BYTES
    2,126,163,628,032
    VM_OUT_BYTES
    -3,086,139,181,056
    PHYSICAL_MEMORY_BYTES
    202,835,083,264
    NUM_CPUS
    40
    NUM_CPU_CORES
    20
    NUM_CPU_SOCKETS
    2
    Hope that above excerpts from AWR reports can tell how much cpu is consuming each database , because for each database you will run awr report and then compare them .

  • How much time will take applyning SP11 level in ECC6.0

    Hi,
    How much time will take for appying SP11 level in ECC6.0.
    Regards,
    venkat reddy.

    hi,
    Make sure , that you increase the shared memory being utilized by database .
    In oracle we increase the SHARED POOLSIZE , that will reduce the time in ACT_700 .
    There is note which talks about the SHARED_POOL_SIZE , it should be minimum 500 mb , depending upon your total physical RAM and CPU.
    Thanks
    Prasanna

  • How much CPU should the Agent (in general) be using on an Exchange 2010 Server

    Hello
    Can someone please help me with the following question.
    I was asked by the Exchange admin if the HealthService.exe process should be using around 10% of the CPU on a 6 core system.
    First of I am note sure if the agent can use more than one core and if the % CPU as shown in Task Manager reflects all cores for a given process e.g. does 10% mean 10% across all cores or just one core.
    I explained the Agent is running many workflows and instigating other tasks i.e. monitoring host and perhaps cscript etc. So it is difficult to say how much CPU is normal!
    However does anyone else have an Exchange 2010 environment (I am using SCOM 2007 R2 CU6) and if so how much CPU is it using over a few minutes?
    also, if there a canned report I can run which shows how much CPU the agent is using over time.
    Thanks in advance
    AAnotherUser__
    AAnotherUser__

    There are many scripts and monitoring workflows in general that run in the Exchange management pack. CPU may spike periodically while scripts are executing. However, this may be a SyncTime issue in the Exchange pack - since there are many scripts in the
    pack, it would be recommended to cascade script runtime by using SyncTime configuration. I haven't taken a look at this pack in some time, so cannot comment on whether this practice was used. In general, a typical SCOM agent should not use more than 1-5% CPU
    time, sustained. But, again, for heavily scripted packs like the Exchange pack, you will likely see CPU spikes regularly.
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • HT201210 how much does it take to restore the device ?

    how much does it take to restore the device ?

    Well, you have to download about 1GB of information to get iOS 6.1 on your computer.  I guess you are using a slow internet connection.

  • My ipod touch randomly shuts off by itself and wont turn back on, how much would it take to get it fixed?

    my ipod touch randomly turns off by itself and wont turn back on for a long time, how much would it take to get this fixed?

    Hava a look here:
    Apple - Support - iPod - Repair pricing
    Apple - Support - Service Answer Center

  • HT201274 how much it will take if I erase all content and settings?

    how much it will take if I erase all content and settings?

    Welcome to the Apple Support Communities
    It will take some seconds only to erase the content of the iPhone. Then, you will have to set up your device again

  • I bought a mac book pro and apple promised upgradation to lion aosx but yet nothing rcvd , want to ask how much time it takes for them to send me the code to download it (now its more than a week i purchased this mac)

    i bought a mac book pro and apple promised upgradation to lion aosx but yet nothing rcvd , want to ask how much time it takes for them to send me the code to download it (now its more than a week i purchased this mac)

    http://www.apple.com/macosx/uptodate/

  • Theater 550 Pro's PowerCinema 4 take too much CPU resource?

    Hello all Theater 550 Pro users,
    I am experiencing Power Cinema 4 is taking too much CPU utilization on my PC, versus any other TV viewer apps like WinAmp TV, FlyTV, etc. CLCapSvc.exe is the process that blatantly taking most juice out of the CPU, causing TV viewing experience on Power Cinema 4 bad. Anyone know how to fix this? Any known patch for Powercinema4?
    Now I'm using WinAmp's TV plugin until I find a better TV Viewer prog. Any suggestion?
    Do you guys use any other TV Viewer app?

    Thanks Stu. I'm still figuring how to get mediaportal working on my PC as over here only have analog TV, no EPG, no scheduler, no nothing... just plain old TV Viewer is all I want. However, PowerCinema4's CLCapSvc.exe issue shouldn't be ignored too...

  • Does anyone know how to view the amount of songs you have and how much data it takes up in the new iTunes?

    i have downloaded the new itunes on to my computer, but cant find where it says how many songs you have and how much data they will take up on my phone. thanks

    Just a comment that the playlist size only shows in List View (not Grid or Artist view).
    varjak paw wrote:
    If I understand correctly what you're referring to, View menu -> Show Status Bar.
    For some peculiar reason this option does not show up for me (11.0.1).  I do see the "status bar" (i.e. size) of playlists at the bottom of each, and I know that I've seen this setting, but this View option seems to have vanished!

  • How much time it take to rebuild an index for a table with 20 millions rows

    Hi all,
    i need to rebuild the index of a table containing 20 000 000 row (i don't know why the other people working on this didn't think of rebuilding the index regularly, because i asked and apparently it has never been done :cry: :cry:) i am not a sql developper nor a DBA so i can't mesure how long it take to rebuild the index, does any one have an idea (aproximativly of course :aie:), the other question is there any formula to use in order to calculate how often to rebuild the indexes (i can for example retieve how much rows are delated or inserted daily ...)
    Thanks again
    Taha

    taha wrote:
    :aie: that's why i am asking because i don't know (and to be sure which solution is best)
    so the table is like this (the columns) :
    45 varchar2, 5 timestamp, 30 Number no LOB columns, (15 indexes : 5 unique indexes and that those indexes uses at a maximum 4 columns)15 indexes - 100,000 deletes: this could mean 1,500,000 block visits to maintain index leaf blocks as the table rows are deleted. If you're unlucky this could turn into 1,500,000 physical block read requests; if you're lucky, or the system is well engineered this could be virtually no physical I/O. The difference in time could be huge. At any rate it is likely to be 1,500,000 redo entries at 250 - 300 bytes per entry for a total of about 400MB of redo (so how large are your redo logs and how many log switches are you going to cause).
    yes the tables is used by an application so (update, insert ) can take place at any time
    for the deletion , there is the batch which does a mass delete on the table ( 4 or 5 time each day)
    You haven't answered the question - how long does it take to do a sample batch delete.
    If you can enable SQL tracing, or take a before/after snapshot of v$sesstat or v$session_event for the session as it does the delete then you can get some idea of where the time is going - for all you know it might be spending most of its time waiting for a lock to do away.
    >
    "How many leaf blocks are currently allocated to the index(es) ?" how can i answer to this question ? may be if i check the all_objects table ?
    If you keep your statistics up to date then dba_indexes is a good place, cross-checked with dba_segments, and you can use the dbms_space package for more detail. I have a code sample on my blog which allows you to compare the current size of your indexes with the size they would be if rebuilt at some specific percentage: http://jonathanlewis.wordpress.com/index-sizing/ (It's such good code that Oracle Corp. has copied it into MOS note 989186.1)
    Regards
    Jonathan Lewis

  • How much can it take?

    I just recently purchased my first laptop, a 15" MacBook Pro, and I've fallen completely in love with every aspect of it.
    One thing I'm curious about though: How much physical punishment can a MacBook Pro take?
    Now, I know there are very few laptops that can handle a drop from several feet up, but how does the MBP take to every-day physical punishment? If you bump it on the corner of the desk, if you move it while it is writing to the hard drive or reading from a disc, if you accidentally spill something on the keyboard.
    Can anyone share any experiences with their MBP going under some punishment? I'm curious how it handles it!!

    MTB:
    A good amount. The thing is well-built and made of aluminum. It will take some licks and keep going. There are just two things to be aware of:
    1) If you drop it or bang it into something, there's a good chance you'll dent the case permanently. It's really hard to bend the aluminum back into perfect shape. The good news is, the case doesn't scratch easily!
    2) If you drop it or bang it hard enough, the first thing that will break is your LCD screen. That's very expensive to replace, so do not drop or bang your laptop! If you drop it or bang it while it's running, there's a good chance you'll destroy the hard drive as well.
    I think you'll find that most Mac users on these forums baby their machines. I would do the same if I were you and you'll get years and years of use out of it.

  • How much storage it takes for iso8 update as i have iphoce 5c 8gb

    I have iphone 5c 8gb.
    I need to update to iso8 but my concern is how much memory the update takes.
    Because i got only 5gb space on board, If it takes more than 1.5 to 2 gb then i will leave with no space at all to apps, songs and music.
    Please help me.

    If your ipad has only 797 MB free and it tells you that you need 3.4 GB to update, then you need to begin deleing files, whatever it takes to free up space.
    Consider...
    Delete apps you don't use.
    Delete videos you don't want (these take up a lot of space).
    Do you have a lot of emails stored on the device?
    Are there apps that store data files, like a PDF reader?  If there are a lot of these, you need to delete some.
    The bottom line is that you need to remove data and/or apps on your device to make more storage available.
    But for videos and photos, always sync them to a computer first to archive them.

Maybe you are looking for

  • ITunes isn't saving songs to my external hard drive like I want.

    Hello, This might be a simple problem. I have my iTunes set-up to download directly to my external hard-drive. However, when I inport a CD....it's not showing-up in my external hard-drive?! Since I am assuming the songs are being stored somewhere, I

  • Keys Out of Order - Startup Problems HELP!

    Hi I have an iMac G5 running OS10.4.5. It has the following problem: - Wont boot up off internal HD - I get flashing ? alternating with smily mac on folder icon I tried booting up on instal CD and running disk repair, get message "keys out of order"

  • What is Business flow & Business Methodology

    Hi Guru's I hope all are doing well in your jobs. I am in job Hunting. Can someone explain me on above said topic. Its bit confusing. And also provide me the difference between these two. Thanks in advance for your valuable time spending and answers

  • How long does it take to restore 2TB drive to a New external?

    I recently purchased a new 2tb external drive FW800 and wanted copy data from my older 2tb FW400 to this one. I used the restore method in Disk Utility to copy disk partition to the new partition. Its being saying "setup" for hours and hasn't copied.

  • Help! Where can I find all list of all ACTIONS.

    Hi! I am looking though sample/example programs. Saw some codes that called action by the name. That's great. I came across some other "actions" but I did not see in "http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/text/DefaultEditorKit.html". Ve