Gary V schrieb: > Marius wrote: > >> Hello, >> on a P4, it takes about 2 Minutes to restart clamd while amavis is >> running and falling back to clamscan. >> Maybe the double access to the signature file waste alot of time. > >> Marius. > >> Tue Jun 5 19:46:04 2007 -> +++ Started at Tue Jun 5 19:46:04 2007 >> Tue Jun 5 19:46:04 2007 -> clamd daemon 0.90.3 (OS: linux-gnu, ARCH: >> i386, CPU: i386) >> Tue Jun 5 19:46:04 2007 -> Log file size limited to 1048576 bytes. >> Tue Jun 5 19:46:04 2007 -> Reading databases from /var/lib/clamav >> Tue Jun 5 19:48:06 2007 -> Loaded 138029 signatures. >> Tue Jun 5 19:48:06 2007 -> Unix socket file /var/run/clamav/clamd.ctl > > Possibly your server is much busier than mine. Mine is idle most of the > time. The difference between 24 seconds and two minutes could easily > be the difference in how busy the server is. Of course clamscan has to > load the database each time it runs. This alone would put some load on > the server, especially if you have a number of amavisd-new processes > doing this at the same time. It looks like those that have a broken > clamd (and only use ClamAV) could be in for some major delays.
On Debian you could use sar: from package sysstat. Use sar 1 5 (for 5 statistics in every 1 second). > Gary V -- GrĂ¼sse/Greetings MH Dont send mail to: [EMAIL PROTECTED] -- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/