lstat() failed on: /mnt/ramdisk/...

Scott Silva ssilva at sgvwater.com
Wed Jun 24 18:37:21 IST 2009


on 6-24-2009 5:04 AM Dave Jones spake the following:
> lstat() failed on: /mnt/ramdisk/31166/n5NC95S6028227/tnef.31166
> 
> I get thousands of these messages in my logwatch report daily.  My
> permissions are correct in the dir and conf.
> 
> MailScanner.conf:
> -----------------------------
> Quarantine Permissions = 0660
> Incoming Work Dir = /mnt/ramdisk
> SpamAssassin Cache Database File = /mnt/ramdisk/SpamAssassin.cache.db
> SpamAssassin Temporary Dir = /mnt/ramdisk/SpamAssassin-Temp
> 
> # ll -d /mnt/ramdisk
> drwxrwsr-x 19 root clamav 4096 Jun 24 07:53 /mnt/ramdisk
> 
> This is happening on all 3 systems that use a ramdisk.  Other
> non-ramdisk MS servers are fine.
> 
> I am seeing subdirs like "31166" under /mnt/ramdisk that are empty.
> Is there a conf setting that needs to match the "Incoming Work Dir" so
> the TNEF will use the same location or something like this?

How do you have the ramdisks created? Maybe they are running out of space.
Most people use tmpfs, as it can grow into the swap if it overflows.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090624/6e995a06/signature.bin


More information about the MailScanner mailing list