purge sync. replication folder

David Carter dpc22 at cam.ac.uk
Thu Jul 13 06:41:22 EDT 2006

On Wed, 12 Jul 2006, Patrice wrote:

> I have seen that the folder sync.  on my replica contains more than 1Go 
> of files. can I delete all the content of it or I must keep the current 
> day with its cache file ? I can do it with or without the replica 
> stopped ?

This is equivalent to the stage. area for mail delivery, with a <pid>
subdirectory for each active sync_server process.

Active sync./<pid> directories will clear out automatically when the cache 
file reaches a certain size. Recent 2.3.x releases clear the directory 
much more aggressively because of a nasty memory leak which appeared when 
support for partitions was added.

Old sync./<pid> directories which don't correspond to any running 
sync_server can be cleared out safely by hand on a running system.

David Carter                             Email: David.Carter at ucs.cam.ac.uk
University Computing Service,            Phone: (01223) 334502
New Museums Site, Pembroke Street,       Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

More information about the Info-cyrus mailing list