...
JEMH will evaluate the disk space prior to processing every email, a lockfile is used to flag whether we’ve already issued ‘forward’ notificiation notification {{JIRA_HOME/data/jemh/jemh-lowdiskspace.lck}}.
If more than 250MB is available, any historic lock file will be cleared and normal processing resumes
If less than 250MB is available, and no lockfile lock-file was yet created, JEMH creates the lockfile lock-file and generates an audit event, resulting in a forward notification about the problem:
No mail is processed or marked read - no data loss outcome
The next time Jira invokes JEMH, the (current) lack of disk space and presence of the lockfile results in:
No additional audit event generated, no additional forward notifications (as JEMH will be invoked possibly 000’s of times before anyone does something).
No mail is processed or marked read - no data loss outcome
The cycle above repeats until available disk space is above the minimum, at which time, the lockfile is cleared, and normal processing resumes.
...