Re: [EXIM] Big db files

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: P.A.Osborne
Dátum:  
Címzett: cwlin
CC: Philip Hazel, exim-users
Tárgy: Re: [EXIM] Big db files
> If we need to reset all these db file, is it a safe method?
>
>    1. kill exim listening daemon
>    2. cp /dev/null to these db file ( XXX.dir and XXX.pag )
>    3. restart exim daemon

>
>    Or is there another method better?

>
>    ( According document, the entry in db file has 24 hour lifetime,
>     sometime we need to reset all entries by hand. )


Alternatively, you could stop exim (temporarily) and then use makedbm
to extract the data and then again to rebuild the db files minus
the 'holes'.

Guess it depends on how much you really need to keep the databases for
and how quick you machine is for rebuilding the db files.

--Paul


--
*** Exim information can be found at http://www.exim.org/ ***