lkolchin wrote: > Hello,
> I've the latest version of file utility provided by Novell for SLES9: > file-4.09 > Are you suggesting to install the newest version of "file" to get rid > of this strange bug (not cleaning /var/spool/amavis directory) in the future? > Best Regards, > Leon Kolchinsky > Dec 25 22:45:48 mail amavis[27727]: (27727-04) TROUBLE in check_mail: \ > decoding2-get-file-types FAILED: timed out > Dec 25 22:45:48 mail amavis[27727]: (27727-04) PRESERVING EVIDENCE in \ > /var/spool/amavis/amavis-20051225T222829-27727 Possibly a problem with the 'file' utility or the data it is using. Amavisd-new uses the 'file' utility to determine file types. During the decoding, it appears the 'file' utility times out when trying to do its job. When that happens, amavisd-new preserves evidence that can be used to diagnose the problem. It is all this preserved evidence that amavisd-new leaves for you that is reason for the large number of temporary directories left behind. You should have plenty of preserved EVIDENCE similar to the one above. Find another example in your log where evidence is preserved (and you still have that directory) and manually run the file utility against each file located in the preserved directory. Tell us what 'file' reports, and make a note how long it takes to report it (the 'time' utility could be used here). Here is an example: sfa:~# time file /var/lib/amavis/amavis-20060102T115741-22920/parts/p001 /var/lib/amavis/amavis-20060102T115741-22920/parts/p001: ISO-8859 English text, with very long lines real 0m0.020s user 0m0.014s sys 0m0.005s sfa:~# time file /var/lib/amavis/amavis-20060102T115741-22920/parts/p002 /var/lib/amavis/amavis-20060102T115741-22920/parts/p002: HTML document text real 0m0.020s user 0m0.017s sys 0m0.003s sfa:~# time file /var/lib/amavis/amavis-20060102T115741-22920/parts/p003 /var/lib/amavis/amavis-20060102T115741-22920/parts/p003: MZ executable for MS-DOS real 0m0.019s user 0m0.013s sys 0m0.005s Maybe you could first try reinstalling the program. There is a patched version available (that you may already have). http://support.novell.com/techcenter/search/search.do?cmd=displayKC&externalId=3693cc1bafb99c2fe24cdd57911cfd65html Gary V ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ 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/
