Bug #48

Cleanfs blocks other allerts

Added by kuko over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:23 September 2009
Priority:Normal Due date:
Assignee:kuko % Done:

0%

Category:Backup Spent time: -
Target version:-

Description

When DfChk detects an almost full filesystem, can run cleanfs to free some space.

The problem is that it can take a long time and it causes two problems:
- It prevents other alerts from running until it finishes
- cleanfs does not use any blocking, so it can be run many times from different DfChk, creating even longer delays from disk contention

To fix these bugs we should:
- Create a lock file when cleanfs is run. It should not be run if the lockfile exists
- Run cleanfs in background, and not wait until it finishes

History

Updated by kuko over 2 years ago

  • Status changed from New to Resolved

Now DfChk runs cleanfs in background, and cleanfs uses a lock file to avoid multiple instances to run concurrently

Also available in: Atom PDF