Expand definition of 'child exiting too fast'
The session_manager has always bailed if the browser exits too
much too fast. Until now, this has been 'more than once a second'.
To address some crashes that happen when the GPU process hangs,
this threshold is now '4 times in 60 seconds'.
The session manager exiting will cause the UI to bounce, which
causes X to be killed and restarted as well. This should address
some funkiness, though not all. We will also add some logic to
reboot in certain circumstances.
BUG=chromium:261784
TEST=unit tests, booted device and SIGKILL'd chrome 4 times in < 1 minutes. Checked logs to see that the session manager exited after the 4th time.
Change-Id: I3c9caa02628c43091872a703fea10e37ad4f6a1d
Reviewed-on: https://gerrit.chromium.org/gerrit/62660
Commit-Queue: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Zelidrag Hornung <zelidrag@chromium.org>
3 files changed