It is safe to delete the entire lock file tree at startup. They are normally stored on tmpfs, so a system restart will remove them. Regards, Bron. On Tue, Sep 16, 2014, at 07:43 PM, Marcus Schopen wrote: > Hi, > > I do see a lot of .lock file when starting cyrus: > > /run/cyrus/lock/t/user/test/Drafts.lock > [...] > > This has already been reportet in the Ubuntu bug tracker #1010424 two > years ago: > > https://bugs.launchpad.net/ubuntu/+source/cyrus-imapd-2.4/+bug/1010424 > > /etc/init.d/cyrus-imapd: > > # Clean stale entries > find "$LOCK_DIR" -mindepth 1 -depth -size 0 # -delete > find "$PROC_DIR" -mindepth 1 -depth -name '[0-9]*' # -delete > > > Is it safe to use the -delete option and to remove old .lock files at > startup? Or what are these old lockfiles for? > > Ciao > Marcus > > > ---- > 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 -- Bron Gondwana brong@xxxxxxxxxxx ---- 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