Loads of stale zero byte tmp files?

Steve Campbell campbell at cnpapers.com
Wed May 23 13:21:42 IST 2012


I don't do that much patching. Could you provide the command I need to 
run to get this done, please?

Also, thanks for spending the time in researching and fixing this, Mark.

steve campbell

On 5/22/2012 8:15 PM, Mark Sapiro wrote:
> Remco Barendse wrote:
>
> I have an issue with MailScanner-4.84.5-2 / SpamAss on CentOS 6.2. The
> setup seems to be working ok but i have an issue on 2 boxes that temp
> files do not get deleted.  In /tmp stuff like this is piling up quickly:
> -rw-------. 1 root    root         94 May 20 22:55 K2M0qbNwv6
> -rw-------. 1 root    root          0 May 21 05:08 tmp.1t3DQ6ZFaU
> -rw-------. 1 root    root          0 May 21 06:14 tmp.9ZRV7VB41Y
> -rw-------. 1 root    root          0 May 21 04:17 tmp.DmqX7lvDJS
> -rw-------. 1 root    root          0 May 21 04:17 tmp.HwtJIyJImI
> -rw-------. 1 root    root          0 May 21 06:14 tmp.MdrrIsMqGa
> -rw-------. 1 root    root          0 May 21 05:08 tmp.ToMnIIFMf1
>
>
> The above files are left behind by the
> /etc/cron.hourly/update_virus_scanners process. This runs
> /usr/sbin/update_virus_scanners every hour which in turn goes through
> all the configured virus scanners checking if the scanner is installed
> and then, if it is, running its update process.
>
> Two of the check processes:
>
> /usr/lib/MailScanner/bitdefender-wrapper
> /usr/lib/MailScanner/clamav-wrapper
>
> when called with -IsItInstalled create these files and don't remove
> them. A third,
>
> /usr/lib/MailScanner/kaspersky-wrapper
>
> only creates the file and fails to remove it when called with the
> -IsItInstalled option and the kaspersky package is installed.
>
> The attached MS.patch file will fix this.
>
>
> and in /var/spool/MailScanner/incoming/SpamAssassin-Temp :
> -rw-------. 1 root root 0 May 21 06:31 MailScanner.UfuR0E
> -rw-------. 1 root root 0 May 21 05:58 MailScanner.vpJ3tf
> -rw-------. 1 root root 0 May 21 03:34 MailScanner.zmZPln
> -rw-------. 1 root root 0 May 21 03:34 MailScanner.zTSxkI
>
>
> One of the above files is created on my system every time MailScanner
> starts a new child process, i.e. every time a child dies of old age and
> is restarted. Also, if I restart MailScanner itself, I get an additional
> one created.
>
> I'm not sure where the actual create and/or failure to remove is.
>
>
> -rw-------. 1 root root 0 May 21 05:42 tmp.1t1IUXAFLV
> -rw-------. 1 root root 0 May 21 05:42 tmp.296NAlpKdS
> -rw-------. 1 root root 0 May 21 03:35 tmp.3cDHk7cwub
> -rw-------. 1 root root 0 May 21 03:20 tmp.3eimiawowx
>
>
> I see these rarely. I don't know what leaves them.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20120523/485ce5b9/attachment.html


More information about the MailScanner mailing list