Keep /var from filling up and preventing boot |
||||
Issue descriptionRight now /var is cleaned up periodically. In most cases, the frequency is fine, but if there's another bug that begins filling the folder quickly it can leave the device in an unbootable state (see bug 664659). There are a couple obvious options to mitigate this. Option A: During normal operation detect if more than x% of /var is used (maybe 75%) and automatically trigger a cleanup if the threshold is crossed. Option B: Detect a full /var at boot time and clean up then. There are probably a dozen other non-obvious options. The main goal is that a bit of runaway logging shouldn't be able to easily leave a machine in a non-bootable state.
,
Dec 9 2016
My concern with option B is that we'd need to do the cleanup before running into a situation that would hang as a result of a full /var.
,
Feb 8 2017
See CL:432978 for a mitigation.
,
Mar 3 2017
,
Mar 3 2017
,
Mar 7 2017
One mitigation has been implemented as part of chromium:664659. |
||||
►
Sign in to add a comment |
||||
Comment 1 by vapier@chromium.org
, Dec 9 2016