* Doug Hardie <[EMAIL PROTECTED]> [20041026 10:30]: wrote:
> 
> On Oct 25, 2004, at 23:05, Odhiambo Washington wrote:
> 
> >I would suggest that you DisableDefaultScanOptions in clamd.conf
> >and tune values according to your system. My servers do slightly
> >more than 800 smtp transfers per hour and I found out that working
> >with the DisableDefaultScanOptions commented out brought my server
> >to its knees. And my server is almost like yours, except it's Pentium
> >III Xeon 500MHz.
> >
> >At any given moment, my SMTP service has average 300 child processes
> >so I used that value for MaxConnectionQueueLength. I am not sure
> >that is quite what it should be, but works for me is the key thing ;)
> 
> Those numbers seem unusual to me.  I am handling over 2800 emails per 
> hour.  I don't recall ever seeing more than about 50 sendmail child 
> processes active (except after an extended down period but even then it 
> doesn't seem to get much above 150).
> 
> CPU: Pentium III/Pentium III Xeon/Celeron (701.59-MHz 686-class CPU)
> 
> Single processor, FreeBSD 4.6, clamav 0.80.  CPU utilization sits 
> between 80 and 95% idle.


That is not any extraordinary, I believe.

I don't run sendmail. I run Exim. Please see my SMTP stats as of
yesterday at the following URL:

http://ns2.wananchi.com/~wash/Eximstats/1/

Login as guest/guest

I run a server that handles mail for more than 1750 domains and it
handles both inbound as well as outbound. I run ClamAv CVS version.

My uptime says:

11:57am  up 9 days, 20:03, 3 users, load averages: 5.38, 5.07, 4.51

So as you can see, my load averages talk for themselves. I pass all mail
less than 2MB to clamd for scanning. Anything above that size is not
scanned at all. (pls don't send me viruses;))

Here is also a glimpse of the number of queue runners, and some output
from 'top`::

]1;ns2:/home/[EMAIL PROTECTED] ~]
 59$ ps ax | grep exim | wc -l
     279
2:/home/[EMAIL PROTECTED] ~]
 60$ ps ax | grep exim | wc -l
     287
2:/home/[EMAIL PROTECTED] ~]
 61$ ps ax | grep exim | wc -l
     309
2:/home/[EMAIL PROTECTED] ~]
 62$ ps ax | grep exim | wc -l
     303
2:/home/[EMAIL PROTECTED] ~]
 63$ ps ax | grep exim | wc -l
     300
2:/home/[EMAIL PROTECTED] ~]
 64$ ps ax | grep exim | wc -l
     301
2:/home/[EMAIL PROTECTED] ~]


  PID USERNAME      PRI NICE  SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
75616 exim            2   0 16800K  6344K poll   1  18.9H 20.26% 20.26% clamd



Note the WCPU and CPU values - they are normally that high, but the
memory footprint is always constant as the values you see.
So, yes, perhaps there is something I haven't configured properly
as I mentioned earlier. I have to see those percentages for CPU usage.



Here is a snippet of my dmesg:

<cut>
FreeBSD 4.10-STABLE #0: Fri Oct  1 09:33:18 EAT 2004
    [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV4.x
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (500.03-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x672  Stepping = 2
  
Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 1073676288 (1048512K bytes)
avail memory = 1041108992 (1016708K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard: 3 CPUs
 cpu0 (BSP): apic id:  2, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 cpu2 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  3, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc03bc000.
</cut>





-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <[EMAIL PROTECTED]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
Please ignore previous fortune.
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to