Safe to delete apparently stale / aged 'spool/sync.' directory?

Michael Menge michael.menge at zdv.uni-tuebingen.de
Tue Nov 22 06:56:53 EST 2016


Hi,


Quoting Karl Pielorz via Cyrus-devel <cyrus-devel at lists.andrew.cmu.edu>:

> Hi,
>
> We've upgraded a number of Cyrus servers through the years - we're  
> currently running 2.5.x.
>
> The other day I noticed on a couple of servers we have:
>
>  /vol/imap/spool/sync.
>
> This directory hasn't been touched in years - but has a number of  
> sub-dirs (all numbers) - that all contain messages (again, created  
> years ago).
>
> Am I safe to remove this directory?
>
> We also have:
>
>  /vol/imap/sync
>
> Which periodically has files created in it (the server is sync'ing  
> to a another machine - so that's expected).
>
> But I can't tell if 'vol/imap/sync' is a replacement [now, after  
> upgrades] for 'vol/imap/spool/sync.' - i.e. if the 'sync.' directory  
> can either be cleared out (and left), or just got rid of all together.
>
>

AFAIK the sync. folder is used by the sync_server (receiving side of  
the syncronisation)
as tmp storage for the incomming mails/data. The the number (subfolder  
name) is the pid
of sync_server process.

On clean shutdown these files/folders should be clenad up, but if the  
server crashes
there might be some old files leftover.

IHMO it should be safe to delete the folders on the active server  
(where the sync_client is running)
and old folders where the corresponding process is nor running any  
more on the receiving (sync_server)
side.




--------------------------------------------------------------------------------
M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung          mail:  
michael.menge at zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen



More information about the Cyrus-devel mailing list