Is it safe to wipe: /var/lib/cyrus/lock/
Michael Menge
michael.menge at zdv.uni-tuebingen.de
Mon May 11 18:01:30 EDT 2020
Hi,
Quoting Jan Vales <jan at jvales.net>:
> Hello,
>
> I just stumbled into this directory: /var/lib/cyrus/lock/
>
> It seems to contain many dead things, like .lock-files that - based on
> their names - must be older than 2+ years, including .../user/$NAME
> where $NAME does not have a mailbox/account anymore.
>
> Is it safe to shut down cyrus and do a
> find /var/lib/cyrus/lock/ -mindepth 2 -delete
>
> Its currently cyrus 3.0.13 on debian 10.
>
/var/lib/cyrus/lock/ and /var/lib/cyrus/proc should be empty after
shutting down cyrus
You can also use tempfs for these directories,
- it is faster
- reboot will clean up the left over files in case the
shut down was not clean
- these directories only contain small files
--------------------------------------------------------------------------------
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 Info-cyrus
mailing list