Re: Is it safe to wipe: /var/lib/cyrus/lock/

Michael Menge <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <20200512000130.Horde.UjIgBCHFv1_8HkeGzU5sWs0@webmail.uni-tuebingen.de>
Hi,

Quoting Jan Vales <[email protected]>:

> 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:  
[email protected]
Wächterstraße 76
72074 Tübingen

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.