> > I have debian stable system with than configuration: > > exim4-heavy 4.50-8 > > amavisd-new 20030616p10-5 > > clamav-daemon 0.88-0volatile1 > > spamc 3.0.3-2 > > dual Xeon 2GHz, 1GB RAM, SCSI320 disk (with noatime for spool and temp > > partitions) > > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > 2098 amavis 20 10 37500 30m 14m R 41.7 3.5 0:32.66 amavisd-new > > 30285 amavis 17 10 37868 31m 13m R 37.9 3.6 1:33.07 amavisd-new > > 30507 amavis 18 10 36336 30m 14m R 37.9 3.5 1:30.43 amavisd-new > > 29294 amavis 20 10 36972 31m 13m R 34.1 3.5 1:55.25 amavisd-new > > > > what may cause that, why amavis eating CPU while clamd and spamd works > > fine with minimal resources? is it worth to upgrade system to > > etch/testing (with amavisd-new 1:2.3.3-8)? > > At log level 2 you get TIMING reports, see what it tells.
amavisd-new[14947]: (14947-01) TIMING [total 7480 ms] - SMTP EHLO: 4 (0%), SMTP pre-MAIL: 0 (0%), m kdir tempdir: 0 (0%), create email.txt: 0 (0%), SMTP pre-DATA-flush: 3 (0%), SMTP DATA: 39 (1%), body hash: 1 (0%), mkdi r parts: 1 (0%), mime_decode: 21 (0%), get-file-type: 13 (0%), decompose_part: 48 (1%), parts: 0 (0%), AV-scan-1: 32 (0% ), SA msg read: 5 (0%), SA parse: 8 (0%), SA check: 7267 (97%), fwd-connect: 8 (0%), fwd-mail-from: 1 (0%), fwd-rcpt-to: 2 (0%), write-header: 2 (0%), fwd-data: 5 (0%), fwd-data-end: 14 (0%), fwd-rundown: 2 (0%), unlink-1-files: 4 (0%), run down: 0 (0%) hmm, it's strange. SA check gets all the time, but spamd process doesn't. > What you see might be normal with a steady flow of mail. > How many messages per time unit is your setup processing? not so many. 1k, sometime 3k messages in a hour. > What is spamd used for? it's spamassassin daemon. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
