Add FD exhaustion logging for Chrome OS.
Users are encountering a large number of file descriptors being used,
causing us to hit the soft limit and eventually crash. This change logs
where those FDs point to as a measure for chasing down the source of
this bug.
I was able to trigger this logic by leaking file descriptors from the
task manager code and confirmed that the file descriptors were correctly
written to the user log.
BUG=733718
R=derat@chromium.org, thestig@chromium.org
Review-Url: https://codereview.chromium.org/2969453002 .
Cr-Commit-Position: refs/heads/master@{#483563}
CrOS-Libchrome-Original-Commit: 89e298f70872077a0e2325f57b6cafc5c7a36463
1 file changed