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
tree: 5a066145c1ce0ef1eac592f3d02742fc6df77e29
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/