Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-17848

JIRA lockfile left after unclean shutdowns, prevents startup

XMLWordPrintable

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Today the power failed, and when the init script tried to start JIRA 4.0b1, it only got as far as the error:

      The jira.home directory '/var/lib/jira/4.0b1/data' is already locked by another JIRA instance.

      I imagine that tripping over stale lockfiles like this will become a big problem, as any unclean JIRA shutdown then requires manual intervention to fix. Small outages become large ones.

      Perhaps we could have a background thread running every 30 secs that calls File.setLastModified(), and if JIRA encounters a file > 30 seconds old, considers it stale and ignores it?

            Unassigned Unassigned
            7ee5c68a815f Jeff Turner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: