Re: [exim] Reducing Disk OI - Speed Issues

Góra strony
Delete this message
Reply to this message
Autor: Nigel Metheringham
Data:  
Dla: Marc Perkel
CC: exim-users
Temat: Re: [exim] Reducing Disk OI - Speed Issues
On Thu, 2005-08-25 at 09:12 -0700, Marc Perkel wrote:
> Yeah - noticed the callout was 600 megs before I deleted it. Is there
> any way to self limit that or maybe write a script to clear it out once
> a week or so?


It may well be a sparse file - so nowhere near 600MB on disk. Use "ls
-s" to show the disk blocks in use.

If your distribution uses a single file db file (ie theres one file per
db in the directory - maybe plus a .lockfile one) then you can just
delete them every so often. This definitely reclaims the disk space
whereas using some form of db tidy such as exim_tidydb may not actually
return disk space.

Remember they are hints - thats why you can put them on a RAMDISK in the
first place.

    Nigel.
-- 
[ Nigel Metheringham           Nigel.Metheringham@??? ]
[ - Comments in this message are my own and not ITO opinion/policy - ]