old lock files listed at cyrus-imapd startup

Marcus Schopen lists at localguru.de
Tue Sep 16 05:43:23 EDT 2014


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




More information about the Info-cyrus mailing list